Commit Graph

8 Commits

Author SHA1 Message Date
Raphael Collet cbe2dbb672 [MERGE] new v8 api by rco
A squashed merge is required as the conversion of the apiculture branch from
bzr to git was not correctly done. The git history contains irrelevant blobs
and commits. This branch brings a lot of changes and fixes, too many to list
exhaustively.

- New orm api, objects are now used instead of ids
- Environements to encapsulates cr uid context while maintaining backward compatibility
- Field compute attribute is a new object oriented way to define function fields
- Shared browse record cache
- New onchange protocol
- Optional copy flag on fields
- Documentation update
- Dead code cleanup
- Lots of fixes
2014-07-06 17:05:41 +02:00
Raphael Collet 09be864f1d [IMP] replace all tests like 'registry.get(X)' by 'X in registry' where X is non static
bzr revid: rco@openerp.com-20130329140723-dnrl02saky570xg0
2013-03-29 15:07:23 +01:00
Vo Minh Thu 1e7e2ca753 [REF] no longer use openerp.pooler.
Either use openerp.modules.registry.RegistryManager when the full
new() signature is needed, or use openerp.registry().

Replaced also some pool.get() with pool[] because KeyErrors
are better than AttributeErrors on None.

bzr revid: vmt@openerp.com-20130327111014-2i0hlvpy5y5ku7hm
2013-03-27 12:10:14 +01:00
Florent Xicluna 7675d45c2c [REF] openerp.report: fix weird indentation, not multiple of four.
bzr revid: florent.xicluna@gmail.com-20120208170456-ak1ykpy6yel71ylc
2012-02-08 18:04:56 +01:00
Florent Xicluna 9621008df1 [REF] openerp.report: replace deprecated has_key.
bzr revid: florent.xicluna@gmail.com-20120208170351-1vmewmuufmxn7x52
2012-02-08 18:03:51 +01:00
Xavier Morel e5ab103d2a [IMP] optimize imports in record files
bzr revid: xmo@openerp.com-20120125113248-298g2t2mckgjwk9x
2012-01-25 12:32:48 +01:00
Vo Minh Thu c4d7dde645 [REF] netsvc: object_proxy is no longer in netsvc.
bzr revid: vmt@openerp.com-20110729083824-onx5kklbgzb9pok2
2011-07-29 10:38:24 +02:00
Vo Minh Thu f8572e5c60 [IMP] openerp python module.
- 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
2011-02-07 13:57:23 +01:00