Commit Graph

20 Commits

Author SHA1 Message Date
Christophe Simonis c0496ed03a [MERGE] forward port of branch saas-3 up to f8a9405 2015-03-10 18:00:43 +01:00
Christophe Simonis f8a94057e5 [MERGE] forward port of branch 7.0 up to a5e3269 2015-03-10 17:51:16 +01:00
Nicolas Lempereur a5e32690b0 [FIX] tests: UTC used in test when it should not
The test for account followup use UTC time, but the default `date_maturity`
and `date_due` of an account invoice come from fields.Date.context_today`.

One failing test for project_timesheet also used `today` instead of
`context_today`.

So depending on the test user timezone, an error of one day (if UTC time
and user time are on different day) occured which failed the tests.

For example:

* user has GMT+1 timezone, test fails 0:00am–1:00am (11:00pm-0:00am in UTC)
* user has GMT+3 timezone, test fails 0:00am–3:00am (9:00pm-0:00am in UTC)

This fix removes UTC use in the tests.
2015-03-10 17:33:43 +01:00
Xavier Morel 65cd4a2a33 [FIX] remove deprecated checks/fast_suite test attributes from standard modules 2015-01-15 14:31:40 +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
Simon Lejeune c771903c3b [IMP] account* reports: removed rml, added qweb template, changed the wizard to return qweb actions
bzr revid: sle@openerp.com-20140327182520-uu7ezsqic30x7mqo
2014-03-27 19:25:20 +01:00
Vo Minh Thu 9b0ced610f [MERGE] merged trunk.
bzr revid: vmt@openerp.com-20130322134958-jhe6m0222jq7wo41
2013-03-22 14:49:58 +01:00
Quentin (OpenERP) be05b374a1 [MERGE] forwardport of bugfixes made in v7 up to revision 8854.
bzr revid: qdp-launchpad@openerp.com-20130314112740-s01t51p4m7mxcumz
2013-03-14 12:27:40 +01:00
Vo Minh Thu 9bb5ee90e4 [IMP] removed unused netsvc imports.
bzr revid: vmt@openerp.com-20130222161029-zecwro75yra2vz0d
2013-02-22 17:10:29 +01:00
Josse Colpaert d725e06524 [IMP] use DEFAULT_SERVER_DATE_FORMAT in tests
bzr revid: jco@openerp.com-20130220144403-bl13qry2aeb1dwjx
2013-02-20 15:44:03 +01:00
Josse Colpaert e6e9f41be0 [IMP] Use UTC time everywhere
bzr revid: jco@openerp.com-20130220130719-dk86iq5ty5incld7
2013-02-20 14:07:19 +01:00
Josse Colpaert b1b7b6b30a [FIX] Use UTC time in tests manual action
bzr revid: jco@openerp.com-20130208130415-wfblltllvajz8q5s
2013-02-08 14:04:15 +01:00
Vo Minh Thu 781e6737ac [IMP] account_followup: use the new signal_xxx methods instead of trg_validate.
bzr revid: vmt@openerp.com-20130128120147-oj7pvl2015x4764v
2013-01-28 13:01:47 +01:00
Vo Minh Thu 6072fd11af [MERGE] merged trunk.
bzr revid: vmt@openerp.com-20121210111654-0pm3pupnqqeip52n
2012-12-10 12:16:54 +01:00
Quentin (OpenERP) 767fad5f96 [REF] account_followup: use payment_amount_due instead of credit field
bzr revid: qdp-launchpad@openerp.com-20121207085746-fcnkni42jruaiqlu
2012-12-07 09:57:46 +01:00
Vo Minh Thu e7f4891d46 [IMP] use the openerp namespace.
bzr revid: vmt@openerp.com-20121206145632-0h1coh5aaem65wsy
2012-12-06 15:56:32 +01:00
Josse Colpaert f393691091 [IMP] Finalized tests with a test with paying invoice and clearing action afterwards
bzr revid: jco@openerp.com-20121129135346-hqd7bcdv1nfujj5v
2012-11-29 14:53:46 +01:00
Josse Colpaert 479a8b9a8e [IMP] Added other tests
bzr revid: jco@openerp.com-20121128131221-i3rrqc9172ozz7u2
2012-11-28 14:12:21 +01:00
Josse Colpaert b86902814d [IMP] Adding Python tests
bzr revid: jco@openerp.com-20121127171141-kqqvyvvdcrd2vrq2
2012-11-27 18:11:41 +01:00
Josse Colpaert f41866a703 [IMP] Adding Python tests
bzr revid: jco@openerp.com-20121127165317-v5rmrw5wvx6yykyr
2012-11-27 17:53:17 +01:00