- fixed error of undefined variable set_field
- improved docstring to follow standard RST formatting
- renamed function into get_and_group_by_field to depict more precisely what it's doing
- created a specific function get_and_group_by_company to hide the complexity
bzr revid: qdp-launchpad@openerp.com-20110708132537-d7c4trk0nl5ngny0
UnquoteEvalContext gives you an easy way to work with
domains/context that are passed as strings but need to
be altered, while keeping the unknown symbols/names
unmodified when converted back to string.
Looks weird but is sometimes needed, because much of
the context/domain only make sense on client-side
(one of the reasons they are passed as strings in the
first place). Look at the docstring for an example.
bzr revid: odo@openerp.com-20110617170215-u6gb7b5q684rmo51
- added some comments
- the "updating modules list" log appears only when actually updating the list
- similar code to read the module descriptor file is combined
- default values for some descriptor entries are given only once
- in particular, the default version is always 0, instead of 0 when
reading a descriptor for migration and 1.0 when writing its value in
database.
bzr revid: vmt@openerp.com-20110511103455-lqezcrjf2996j7mc
This is used to allow bare active_id variables in context
or domains of act_window tags.
Note that previously this was done by replacing the active_id with
a active_id string, which required further trick on the client
side to perform the reverse operation.
bzr revid: odo@openerp.com-20110328075920-ljadcubezs9swli8
- Some logging code moved from netsvc.py to loglevels.py
- Changed imports to use the new openerp module
- config and netsvc initialization calls move to openerp-server.py
- Moved openerp-server.py outside the old bin directory
- Some imports in tools moved inside the methods to break mutual-dependencies
bzr revid: vmt@openerp.com-20110207125723-ooee7d7ng5elmkso