Commit Graph

23 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
Quentin (OpenERP) bcf32c6d64 [MERGE] forward port of bugfixes made in addons v7 up to revision 9098.
bzr revid: qdp-launchpad@openerp.com-20130514120341-cvxysuez350hy9s2
2013-05-14 14:03:41 +02:00
Quentin (OpenERP) 709fc0ca29 [FIX] account_voucher: complete fixing of vouchers in multi-currency.
*uniformized the computation in multi-currency in order to always use res_currency.compute()
*make sure to pass the right conversion rate to _current_rate() function using the context if it is specified on the voucher and, in this function, used the info from the context instead of the computed one if relevant. (This involves an ugly overwriting of the 'rate' field that will disappear in trunk: to stay backward compatible and avoid any update of 'base' module it has to be done this way).
*replace the currency_id field on the voucher by a fields.function (was a fields.related) in order to always have a currency, even if it's a voucher in the company currency. (makes the treatment easier and more consistent. Less error prone)
*misc code reaftoring

bzr revid: qdp-launchpad@openerp.com-20130502225937-ya45q2wvgqy7zo1c
2013-05-03 00:59:37 +02:00
Raphael Collet 5f855a1ddb [MERGE] from trunk
bzr revid: rco@openerp.com-20130213083519-3nbg40h5em0gfeu3
2013-02-13 09:35:19 +01:00
Vo Minh Thu f4b6be2f66 [FIX] import openerp.netsvc instead of netsvc in YML tests.
bzr revid: vmt@openerp.com-20130209063134-ui2p9g3i395sjl7x
2013-02-09 07:31:34 +01:00
Vo Minh Thu 51a25029ba [FIX] import openerp.netsvc instead of netsvc in YML tests.
bzr revid: vmt@openerp.com-20130209063024-sd45ez43v7ikfdm2
2013-02-09 07:30:24 +01:00
Vo Minh Thu ca919bec2c [IMP] account_voucher: use the new signal_xxx methods instead of trg_validate.
bzr revid: vmt@openerp.com-20130128145143-w68s6z1kuulqk6ig
2013-01-28 15:51:43 +01:00
Denis Ledoux dle@openerp.com 7e1ffaf613 [REM]Remove all account.journal.view and account.journal.column references
bzr revid: dle@openerp.com-20121122104504-ezgj2666zkhgybpj
2012-11-22 11:45:04 +01:00
Rucha (Open ERP) 7a24bdb1f7 [FIX]: Improved old product names with new
bzr revid: rpa@tinyerp.com-20120816084224-t12wf5vipd8u90a7
2012-08-16 14:12:24 +05:30
Rucha (Open ERP) 40f83805c5 [IMP]: product: Improved reference of demo product xml_id from static names to number (work in progress)
bzr revid: rpa@tinyerp.com-20120629110424-xykxjjq7sn50ovww
2012-06-29 16:34:24 +05:30
Rucha (Open ERP) 0aaef8a06e [IMP]: Improved partner demo xml_id referenced based on changes in server
bzr revid: rpa@tinyerp.com-20120620120305-g88c9cp55csnsvoc
2012-06-20 17:33:05 +05:30
Purnendu Singh (OpenERP) 7ef07e2c0f [MERGE, IMP] Improve the yml and merge with mma branch
bzr revid: psi@tinyerp.com-20120416064046-5iou05fmx5ax4yl0
2012-04-16 12:10:46 +05:30
Kuldeep Joshi (OpenERP) 0ebb6e46ad [IMP]account_voucher: remove address file from yml
bzr revid: kjo@tinyerp.com-20120306065526-kfghm03qof7uprju
2012-03-06 12:25:26 +05:30
Quentin (OpenERP) 62398c5cba [IMP + FIX] account_voucher: fixed few remaining bugs and improved the code in order to remove the field ecxhange_acc_id from the voucher. We now will use fields on the company
bzr revid: qdp-launchpad@openerp.com-20111124154216-ivne5w0q9cwhn12r
2011-11-24 16:42:16 +01:00
Quentin (OpenERP) e346d6c8ad [IMP] account_voucher: changed logic when paying an invoice in a secondary currency => now we always write the amount_currency (and in the same currency)
bzr revid: qdp-launchpad@openerp.com-20111123162234-nr685qp729btv19c
2011-11-23 17:22:34 +01:00
Quentin (OpenERP) 7393886d18 [FIX] account_voucher: small fixes in account_voucher.py due to last commit and updating of yaml files to have them compliant with last changes
bzr revid: qdp-launchpad@openerp.com-20111123133814-w2vsqmklajtyonxk
2011-11-23 14:38:14 +01:00
Quentin (OpenERP) 85b8e20b5d [FIX] account_voucher: fixed error in yamls due to new constraint added in revision 5763
bzr revid: qdp-launchpad@openerp.com-20111122115133-789x19p4af4qlvvz
2011-11-22 12:51:33 +01:00
Olivier Dony ec9f0d49a8 [MERGE] sync w/ latest trunk
bzr revid: odo@openerp.com-20111116134336-ig6681v2cw6xfb6h
2011-11-16 14:43:36 +01:00
Fabien Pinckaers b5ca9ed355 [IMP] remove print statement
bzr revid: fp@tinyerp.com-20111115002234-hw9cjahxh3zw8gk5
2011-11-15 01:22:34 +01:00
Fabien Pinckaers e155ff6d07 [IMP] yaml tests
bzr revid: fp@tinyerp.com-20111114221924-btl3n72he07nysvd
2011-11-14 23:19:24 +01:00
Olivier Dony 5a8b4761bc [FIX] account_voucher: do not create partners in YAML tests, use demo ones
This is a quick patch to avoid creating more data than necessary in 
YAML tests, just to avoid properly search for the data created by the
test. Still requires more cleanup!

bzr revid: odo@openerp.com-20111103001918-xjuoyrqw0qre0ulg
2011-11-03 01:19:18 +01:00
Quentin (OpenERP) 5414fc7969 [IMP] account_voucher: changed the views for sale and purchase of the voucher in order to make them work with the new signature of the onchanges (included in previous revision) + corrected yaml tests to trigger the onchanges
bzr revid: qdp-launchpad@openerp.com-20111021153258-nw6rxt77yon5dudl
2011-10-21 17:32:58 +02:00
Quentin (OpenERP) 6a0d99cde9 [IMP] account_voucher: added case2_usd_eur_debtor_in_eur.yml
bzr revid: qdp-launchpad@openerp.com-20111013170029-337fw976foqdkfzb
2011-10-13 19:00:29 +02:00