Commit Graph

17 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 6bc60505f4 [IMP] registry: add method get_cursor() to simply retrieve a new cursor, and refactor code to use it
bzr revid: rco@openerp.com-20140408125122-ki0zmin3m21k2itd
2014-04-08 14:51:22 +02:00
Antony Lesuisse 278ed718e9 new test execution engine
remove deprecated zipfile support
add preload_registry option when server is running
allow registries to be used in contruction in test mode
add a rollback test case for http tests
add a phantomjs helper

bzr revid: al@openerp.com-20140209004005-p5pwym4sqc23vw5b
2014-02-09 01:40:05 +01:00
Christophe Simonis 46cbf22efb [FIX] allow to use "dbname" as keyword in routes
bzr revid: chs@openerp.com-20140131163139-89lfordriamw9i1w
2014-01-31 17:31:39 +01:00
Stephane Wirtel 552c76c8b2 [REF] Use the contextlib.closing function instead of a couple of try/catch for
the release of the database cursor.

bzr revid: stw@openerp.com-20140109093258-vmr1a3gaxruo0psp
2014-01-09 10:32:58 +01:00
Vo Minh Thu dd7859e383 [MERGE] openerp.servie.model: removed duplicated code.
bzr revid: vmt@openerp.com-20130605111204-pmjt3olbl30xa4nt
2013-06-05 13:12:04 +02:00
Raphael Collet 05851d21ba [MERGE] from trunk
bzr revid: rco@openerp.com-20130411073017-x6e4h8xbvmy3ofdw
2013-04-11 09:30:17 +02:00
Thibault Delavallée 58ccbfc184 [FIX] service/model.py: fixed missing import of psycopg error OperationalError added when merging 7.0 into trunk.
bzr revid: tde@openerp.com-20130405133203-ijustxnwkabw3no6
2013-04-05 15:32:03 +02:00
Vo Minh Thu 307ca374d6 [MERGE] forward merge 7.0 until revision 4919.
bzr revid: vmt@openerp.com-20130404130704-24vsmczw34cssytd
2013-04-04 15:07:04 +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
Vo Minh Thu e2e9c0669e [IMP] osv: removed unnecessary `except` clauses.
bzr revid: vmt@openerp.com-20130225152057-9ehnwo2szr4pphz3
2013-02-25 16:20:57 +01:00
Vo Minh Thu 9412351315 [IMP] Only unhandled exceptions are logged to the console by the netsvc layer.
bzr revid: vmt@openerp.com-20130220115337-6319hshm4vfwlr1o
2013-02-20 12:53:37 +01:00
Raphael Collet f78eb868fd [IMP] remove model methods _workflow_trigger and _workflow_signal, and replace calls to new workflow methods
bzr revid: rco@openerp.com-20130213140046-84aa1xtlndltlhzy
2013-02-13 15:00:46 +01:00
Vo Minh Thu 93cdfeb86a [REF] services: moved the object service to openerp.service.model.
bzr revid: vmt@openerp.com-20130130150207-fz1ueou8prul05qa
2013-01-30 16:02:07 +01:00
Vo Minh Thu 674056c4a5 [REF] services: somewhat clean use of openerp exceptions.
bzr revid: vmt@openerp.com-20130130134451-yft2y56hkpnoxgwa
2013-01-30 14:44:51 +01:00
Vo Minh Thu 19b0315f68 [REF] model service: removed the unneeded object_service class.
bzr revid: vmt@openerp.com-20130130113646-pviw5d6gnohk7wrb
2013-01-30 12:36:46 +01:00