Commit Graph

106 Commits

Author SHA1 Message Date
Xavier Morel f5b88f6309 [IMP] minor perf improvement during tests
During tests, some creation of user records would unnecessarily trigger
password reset or set a password, both of which would trigger password
hashing which takes some time (for good reasons).

Fix by:
* passing no_reset_password in YAML tests and some Python tests still
  missing it (a number of Python tests already used it)
* removing passwords from YAML records as they're never necessary, the
  test user records are not expected to ever log in
2015-06-26 14:22:29 +02:00
Christophe Simonis c75b61d3e7 [FIX] account_voucher: now that currency rates created at installation does not use current year (be33101), tests must create their own rates instead of trying to change default one 2015-01-22 17:19:56 +01:00
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
Christophe Simonis 7a7d7febf8 [MERGE] forward port of branch saas-3 up to revid 9429 chs@openerp.com-20140424123538-rxk9got9k2on1ki1
bzr revid: chs@openerp.com-20140424131824-4ksluvhnegp7kplb
bzr revid: chs@openerp.com-20140424134533-lhhcd32n3s0m9cqk
2014-04-24 15:45:33 +02:00
Christophe Simonis 52cfc16c2e [MERGE] forward port of branch 7.0 up to revid 10012 launchpad_translations_on_behalf_of_openerp-20140424063249-gwnojb5kvlq544nz
bzr revid: chs@openerp.com-20140424123538-rxk9got9k2on1ki1
2014-04-24 14:35:38 +02:00
Ravi Gohil (OpenERP) 210adf77cb [FIX] account_voucher: Fixed wrong writeoff(Payment Difference) calculation by recompute_voucher_lines(...). (Maintenance Case: 605632)
bzr revid: rgo@tinyerp.com-20140423070139-ielwafap3zcupglx
2014-04-23 12:31:39 +05:30
Simon Lejeune 106d06ce5d [IMP] account* reports: removed unused class/report/commented code/test, added the abstract_report wrapper on all old style report classes + some fixes on views and wizards in order to use these classes to render the qweb reports
bzr revid: sle@openerp.com-20140402164053-gry12scy8zca68lv
2014-04-02 18:40:53 +02:00
Martin Trigaux 11308f37dd [FIX] test: avoid getting error when trying to send an email to the newly created user (email replaced by login)
bzr revid: mat@openerp.com-20131003143234-8tu732aa4rmycoif
2013-10-03 16:32:34 +02:00
sgo@tinyerp.com 6a3cdf718c [MERGE]sync with trunk
bzr revid: sgo@tinyerp.com-20130605071905-o2ldzc6vxqnoe099
2013-06-05 12:49:05 +05:30
Thibault Delavallée a05b0bebbe [FORWARD] Forward port of 7.0 branch until revision 9143.
bzr revid: tde@openerp.com-20130521122359-b5vii7gv8arluz06
2013-05-21 14:23:59 +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) 777ec68cc3 [FIX] account_voucher: fixed yaml test wromgly computing the entry related to the currency difference
bzr revid: qdp-launchpad@openerp.com-20130507135408-jzp315rl29b6dwo9
2013-05-07 15:54:08 +02:00
Quentin (OpenERP) 966631d383 [MERGE] account_voucher: fixes related to multi currency. All problems related to multi currency should now be completely solved :-)
bzr revid: qdp-launchpad@openerp.com-20130507085124-0eocvbmg9u8khq20
2013-05-07 10:51:24 +02:00
sgo@tinyerp.com 1373b5cda0 [IMP]improve string and add groups in groups_id in crm and event
bzr revid: sgo@tinyerp.com-20130507071959-kwqmv7wwy7gqcsfj
2013-05-07 12:49:59 +05:30
Quentin (OpenERP) a87bf67e9d [FIX] account_voucher: using a new partner for the new yaml test to avoid interferences in the other yaml tests
bzr revid: qdp-launchpad@openerp.com-20130507070006-4rnvkdkk09ri3k63
2013-05-07 09:00:06 +02:00
sgo@tinyerp.com 5f203720ed [IMP]remove default_groups_ref and added to groups_id in yml in account and account_Voucher
bzr revid: sgo@tinyerp.com-20130507062914-t8bmem3auvjob5bl
2013-05-07 11:59:14 +05:30
Quentin (OpenERP) 40dd6d7559 [FIX] account_voucher: replaced xml ids in new yaml test to avoid confusion in yaml import that is breaking the test
bzr revid: qdp-launchpad@openerp.com-20130506152338-4oev9dt0op7op6xe
2013-05-06 17:23:38 +02:00
Quentin (OpenERP) 5db4dd71c3 [FIX] account_voucher: fixed new yaml test
bzr revid: qdp-launchpad@openerp.com-20130506134804-sdudzoyecjhkdr6b
2013-05-06 15:48:04 +02:00
Quentin (OpenERP) 92d11a471e [ADD] account_voucher: new test for specific payment_rate specified on the voucher
bzr revid: qdp-launchpad@openerp.com-20130506100708-g2jwb3rlozqjsfmp
2013-05-06 12:07:08 +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
sgo@tinyerp.com 2f19755c2a [IMP]give access rights for contact creation in account voucher yml user
bzr revid: sgo@tinyerp.com-20130429112739-f06w3v6g7q9wi2fh
2013-04-29 16:57:39 +05:30
sgo@tinyerp.com 519956fad6 [MERGE]sync with trunk
bzr revid: sgo@tinyerp.com-20130329045423-45ka0rephkucvyai
2013-03-29 10:24:23 +05:30
sgo@tinyerp.com 1e14b22435 [IMP]add email to user as per new improvement
bzr revid: sgo@tinyerp.com-20130320054049-4cr1a52dlpfw2lgf
2013-03-20 11:10:49 +05:30
sgo@tinyerp.com eff57d769b [IMP]add user access rights as per new improvement
bzr revid: sgo@tinyerp.com-20130319105435-es76c9arqghz2rys
2013-03-19 16:24:35 +05:30
Vo Minh Thu 9bb5ee90e4 [IMP] removed unused netsvc imports.
bzr revid: vmt@openerp.com-20130222161029-zecwro75yra2vz0d
2013-02-22 17:10:29 +01:00
Vo Minh Thu 5029451905 [IMP] report yml test: use openerp.report.render_report() instead of LocalService().create().
bzr revid: vmt@openerp.com-20130222133511-y07w3etca8onb73x
2013-02-22 14:35:11 +01:00
sgo@tinyerp.com fa94d5e112 [IMP]improve yml for account_voucher
bzr revid: sgo@tinyerp.com-20130221111728-jlvv0lf5w258ujbz
2013-02-21 16:47:28 +05:30
Raphael Collet 55625f52db [FIX] fix import statements in yml files
bzr revid: rco@openerp.com-20130213101803-4y1ponocx6oai2mz
2013-02-13 11:18:03 +01: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 02a114fe3b [FIX] import openerp.{netsvc,tools} instead of {netsvc,tools} in YML tests.
bzr revid: vmt@openerp.com-20130209062929-g85yauw92vj9wqpb
2013-02-09 07:29:29 +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
dle@openerp.com 514952bdd3 [MERGE]Latest trunk
bzr revid: dle@openerp.com-20121128164105-m3hgq38xw6ikewa5
2012-11-28 17:41:05 +01:00
Quentin (OpenERP) 19b743f80f [FIX] account_voucher: fixed newly added constraint
bzr revid: qdp-launchpad@openerp.com-20121127122037-zvm4rdl15h8vj326
2012-11-27 13:20:37 +01:00
Joel Grand-Guillaume 59bbb02064 [FIX] YAML test on account voucher : Create a second USD account for testing, avoiding one of the account constraint to raise.
bzr revid: joel.grandguillaume@camptocamp.com-20121126095834-o29f5cwoffu2t0ic
2012-11-26 10:58:34 +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
Quentin (OpenERP) eb9ee2f9e2 [FIX] account_voucher: fixed wrong reference in yaml test forgotten in previous commit
bzr revid: qdp-launchpad@openerp.com-20121031132510-ob15sct5ejav8t76
2012-10-31 14:25:10 +01:00
Quentin (OpenERP) ea32fefa83 [FIX] account_voucher: fixed wrong reference in yaml test forgotten in previous commit
bzr revid: qdp-launchpad@openerp.com-20121031110750-x1povpp9mrz3cvi6
2012-10-31 12:07:50 +01:00
Quentin (OpenERP) 483503a761 [REF] account_voucher: yaml test case 5 refactoring
bzr revid: qdp-launchpad@openerp.com-20121031104439-yksfyq68ggw1i2fw
2012-10-31 11:44:39 +01:00
Quentin (OpenERP) c5c8d87eab [ADD] account_voucher: new test on supplier invoice/payment in foreign currency
bzr revid: qdp-launchpad@openerp.com-20121030152320-w28za6bmpboocpdo
2012-10-30 16:23:20 +01:00
Quentin (OpenERP) 8ca8f50656 [FIX] account_voucher: fixed yaml test in order to reflect what the client are really sending as information
bzr revid: qdp-launchpad@openerp.com-20121019110720-xhkhzd04caczsz41
2012-10-19 13:07:20 +02:00
Quentin (OpenERP) 0b66a6854b [FIX] account_voucher: fixed errors in yalm tests due to value returned for a field not present in the view
bzr revid: qdp-launchpad@openerp.com-20121005075356-857hfyqcrdjjv04r
2012-10-05 09:53:56 +02:00
Quentin (OpenERP) df78f29db7 [FIX] account_voucher: fixed view that have an onchange function returning a field which is not in the view
bzr revid: qdp-launchpad@openerp.com-20121004171245-xvvqlqomkd1pcqvw
2012-10-04 19:12:45 +02:00
Quentin (OpenERP) 003e5ebffb [FIX] account_voucher: fixed spurious yaml test
bzr revid: qdp-launchpad@openerp.com-20121004161542-n1lacefk1jbr8ccl
2012-10-04 18:15:42 +02:00
Quentin (OpenERP) a3d648f319 [FIX] account_voucher: fix amount_currency on writeoff line + fixed/improved yaml tests
bzr revid: qdp-launchpad@openerp.com-20121003155820-7ozaoklt042b7i6i
2012-10-03 17:58:20 +02: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) dd7a2972d8 [MERGE]: Merge with latest trunk-addons
bzr revid: rpa@tinyerp.com-20120813051411-5no0xcudwbkw07c5
2012-08-13 10:44:11 +05:30
Quentin (OpenERP) 600625f0ae [FIX] account_voucher: fixed yaml tests in order to reflect the new behavior of computed writeoff amount (does not use abs() anymore)
bzr revid: qdp-launchpad@openerp.com-20120810143707-8vma2dld7mkolbh1
2012-08-10 16:37:07 +02:00
Quentin (OpenERP) 7aa06aca92 [IMP] account_voucher: better description labels for yaml test
bzr revid: qdp-launchpad@openerp.com-20120808101749-y7mxgsbpzxrl7bd0
2012-08-08 12:17:49 +02:00