At last time I am often needed hide some field in Odoo filter widget. That I didn’t forget how to do it, I deside write this notes.

That hide field in filter or group we necessary extend method fields_get in Odoo model. For example:

Listing 1

In example I hide 2 field (create_date and write_date) in filters and grouping. If you need hide field only filters or only grouping, I append comment to code for this.


In this article I want to write how parse ddd files what were downloaded from tacho’s card.

For exmaple I get ICC section, another sections you can parse by anology.

Part binary section for parse:

00020000190000090b63101401304e4c44545f326b39300000...

In ddd file all section describe in TLV format.

First 2 byte describes TAG in other example is 00 02, it means that we working with ICC section.

Next byte is crypt flag, if it 0 then data in value section is not crypt, but if it byte is 1 means that data must be decrypted. In example this flag is 00.

Next 2…


I often hear the question, what is the difference between Odoo and Django Framework. In my opinion they are very similar although Odoo isn’t only framework, it is platform for business application creation. I want to talk about their pros and cons for me.

In my opinion the main advantages of Django is that it has many plugins, very useful ORM and simple scaling unlike Odoo has. Odoo advantages are simple interface generator, powerful credential subsystem.

Another difference is documentation level. Django has distinctive documentation with many details. Odoo has poor documentation, and it is often necessary for developer to read odoo sources.

Their last difference for me is how they deploy. Django doesn’t have integrated wsgi http server, because you must install and config thrid-party software. Odoo unlike Django has fully web server with wsgi and static files management.

swe-notes

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store