Commit Graph

12 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
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
Xavier Morel c6079dd6bb [REM] unnecessary parens
bzr revid: xmo@openerp.com-20121214123803-6xu2s1ndnoyj4i3e
2012-12-14 13:38:03 +01:00
Xavier Morel 2270f8e8dd [IMP] merge extraneous setitem into literal dict creation
bzr revid: xmo@openerp.com-20121214122223-91elxxp0m6ska8ua
2012-12-14 13:22:23 +01:00
Xavier Morel 4cb3685f70 [IMP] compare to None by identity
bzr revid: xmo@openerp.com-20121214121638-6k5h0ztg94i4f5t6
2012-12-14 13:16:38 +01:00
Stephane Wirtel 8dc0bcf21c [MERGE] openerp.report: remove unused imports and vars
bzr revid: stw@openerp.com-20120910143835-85lcla35odoeanbi
2012-09-10 16:38:35 +02:00
Florent Xicluna 6312fd9426 [REF] openerp.report: remove unused imports and vars, simplify logging.
bzr revid: florent.xicluna@gmail.com-20120208170700-csx9jb3nwmvq3dzj
2012-02-08 18:07:00 +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
Florent Xicluna b5fa51f4a6 [REF] openerp.report: use the recommended syntax to raise error and never use empty except:.
bzr revid: florent.xicluna@gmail.com-20120208170217-xsa5odzlhite0nda
2012-02-08 18:02:17 +01:00
Florent Xicluna 57ca8e4797 [REF] openerp.report: better use of isinstance.
bzr revid: florent.xicluna@gmail.com-20120208170034-2w8szxy350qpwas6
2012-02-08 18:00:34 +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