Commit Graph

50 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 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
Denis Ledoux 81a902a07d [MERGE] forward port of branch 7.0 up to 5f696ba 2014-08-08 16:18:35 +02:00
dhr-odoo 418e06e88f [FIX] project_timesheet: test used fields added not in dependencies
The fields procure_method and supply_method are not present if we just install project_timesheet which makes the tests fail (opw 610590).
2014-08-07 18:31:57 +02:00
Quentin (OpenERP) 65966940c8 [MERGE] merged with main trunk
bzr revid: qdp-launchpad@openerp.com-20131010133212-t058auv973pvvmjm
2013-10-10 15:32:12 +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
Josse Colpaert 30f27b8cbb [IMP] Move route_ids from product from stock_location to stock and remove supply_method (change with route)
bzr revid: jco@openerp.com-20130909115515-7z6ixaxe7bpxxe73
2013-09-09 13:55:15 +02:00
Josse Colpaert b1611b9fa7 [IMP] Remove procure_method in timesheet (branch bde)
bzr revid: jco@openerp.com-20130829095327-jn9b06q1b3g3n07i
2013-08-29 11:53:27 +02:00
Fabien Pinckaers 54631bda2a [MERGE] trunk
bzr revid: fp@openerp.com-20130803175004-ivqkxtsd7vh4npwe
2013-08-03 19:50:04 +02:00
Quentin (OpenERP) 63111b6510 [WIP] cost_method moved to stock_account + stock_account implementation of stock valuation
bzr revid: qdp-launchpad@openerp.com-20130712141407-amspq13axc7x58l1
2013-07-12 16:14:07 +02:00
Thibault Delavallée f35f2d01dc [FIX] project_timesheet: still tracking references to stage management.
bzr revid: tde@openerp.com-20130627133221-o2or8el0dlxf89cv
2013-06-27 15:32:21 +02:00
Thibault Delavallée e362775853 [FIX] project_timesheet: removed reference to state field of task
bzr revid: tde@openerp.com-20130627130950-wguigeottgr2dck4
2013-06-27 15:09:50 +02:00
Quentin (OpenERP) 87e36fb9f7 [FIX] project_timesheet: fixing the redbot
bzr revid: qdp-launchpad@openerp.com-20121207145448-2vgdjrekxt2cp4gn
2012-12-07 15:54:48 +01:00
niv-openerp 66b62190c7 Removed date_current more
bzr revid: nicolas.vanhoren@openerp.com-20121002151520-q1m2tpgbfmcvxzux
2012-10-02 17:15:20 +02:00
Cecile Tonglet 4da6c7b2bc [FIX] make tests works
bzr revid: cto@openerp.com-20120831165521-6h5q0r2abgt0nlpt
2012-08-31 18:55:21 +02:00
Thibault Delavallée bc7ad9c405 [MERGE] Merged with addons/trunk.
bzr revid: tde@openerp.com-20120814084936-04v0hywe2drc9qum
2012-08-14 10:49:36 +02:00
Thibault Delavallée c2c27b1858 [FIX$] This time, it's the good fix.
bzr revid: tde@openerp.com-20120813111521-uws1uophrd39krfg
2012-08-13 13:15:21 +02:00
Thibault Delavallée f80c247812 [FIX] Still fixing stpid bugs.
bzr revid: tde@openerp.com-20120813105420-stxm7cjc981bj8fq
2012-08-13 12:54:20 +02:00
Thibault Delavallée e120d9a699 [REV] Reverted last fixes. Think it comes from outer space.
bzr revid: tde@openerp.com-20120813091719-6551uziq8ts4kj6a
2012-08-13 11:17:19 +02:00
Thibault Delavallée db7e49ca91 [FIX] project_timesheet tests: user creation should also have its partner.
bzr revid: tde@openerp.com-20120813081054-csyaq8p7lf7e1nvh
2012-08-13 10:10:54 +02:00
Thibault Delavallée 8e6cc3a924 [REF] addons: propagated change about context_lang and context_tz.
bzr revid: tde@openerp.com-20120810102257-g9r21nesh799kf7u
2012-08-10 12:22:57 +02:00
Rucha (Open ERP) 2347f44ab2 [FIX,IMP]: hr: Fixes and improvements for employee-user relation
bzr revid: rpa@tinyerp.com-20120808101305-dsqn337ngmcysm4z
2012-08-08 15:43:05 +05:30
Rucha (Open ERP) d259c31449 [IMP]: product: Improved reference name for UoM hour and day to make it consistent with other demo reference name
bzr revid: rpa@tinyerp.com-20120703104559-3yew39vtv7ayop64
2012-07-03 16:15:59 +05:30
Rucha (Open ERP) 237173eeff [IMP]: product: Improvement in product category demo, improved xml_id refereneces (work in progress)
bzr revid: rpa@tinyerp.com-20120628093001-k113siqn5sbp3xf2
2012-06-28 15:00:01 +05:30
Raphael Collet b18b2b7603 [IMP] project: use same user ids as in hr
bzr revid: rco@openerp.com-20111222134815-pshxwf6u7wfw55t4
2011-12-22 14:48:15 +01:00
Raphael Collet bc40611002 [IMP] hr_timesheet: small code and test cleanup
bzr revid: rco@openerp.com-20111221105214-kgwedzef47lvoii8
2011-12-21 11:52:14 +01:00
Hemendra Paregi (Open ERP) 98cf8b318c [IMP] Improvement in YML
bzr revid: hpa@tinyerp.com-20111220065042-m4ebxsy2tl04yzf1
2011-12-20 12:20:42 +05:30
Hemendra Paregi (Open ERP) 540134eff2 [MERGE]Improvement in yml file
bzr revid: hpa@tinyerp.com-20111209064132-88p4ym4t451xqrwf
2011-12-09 12:11:32 +05:30
Antony Lesuisse 96b9454a32 [FIX] revert 5138 revid:fp@tinyerp.com-20110924090407-x4e0ptu2am495rpv incorrect tests
bzr revid: al@openerp.com-20110925095948-hgtg1djicpvcm3nc
2011-09-25 11:59:48 +02:00
DBR (OpenERP) 04a3571797 [Fix]project_timesheet : Fix the yml warning
bzr revid: dbr@tinyerp.com-20110914053111-bu9h2odj50soq6u3
2011-09-14 11:01:11 +05:30
DBR (OpenERP) 5cbd017b19 [IMP]project_* : Improve the statements
bzr revid: dbr@tinyerp.com-20110907093659-iwkovt45beo4pzl5
2011-09-07 15:06:59 +05:30
DBR (OpenERP) 823a3f8bf0 [Merge]with: lp:openobject-addons
bzr revid: dbr@tinyerp.com-20110902052628-lxsoyzz0qlaev4tp
bzr revid: dbr@tinyerp.com-20110905055747-rk09ip9leb82umdn
bzr revid: dbr@tinyerp.com-20110906050725-bc453pgrz4m2t5ix
2011-09-06 10:37:25 +05:30
Vo Minh Thu 0312e68bc3 [FIX] project_timesheet test: have a happy runbot, every day.
bzr revid: vmt@openerp.com-20110831090724-iiqbhgsg25v2t113
2011-08-31 11:07:24 +02:00
DBR (OpenERP) 71b2a9d0c9 [IMP]project_timesheet : Improve the test cases
bzr revid: dbr@tinyerp.com-20110826131839-tadw5ajn0guq470q
2011-08-26 18:48:39 +05:30
Ujjvala Collins (OpenERP) 550f4be14e [FIX] project_timesheet: Corrected date entry in yml.
bzr revid: uco@tinyerp.com-20110321122641-rwaiv4wrq8p02hsf
2011-03-21 17:56:41 +05:30
Thibault Francois a7fe6afc9e [fix] project_timesheet fix yaml test
bzr revid: tfr@openerp.com-20110201093143-35fjqaora363kjag
2011-02-01 10:31:43 +01:00
qdp-launchpad@tinyerp.com 2df4a68377 [MERGE] merged the dev3 branch
bzr revid: qdp-launchpad@tinyerp.com-20110114001101-wk77opsrvslh7pak
2011-01-14 01:11:01 +01:00
qdp-launchpad@tinyerp.com 1e81abb0bd [FIX] project_timesheet: fixed yaml that can't work in february
bzr revid: qdp-launchpad@tinyerp.com-20110113171045-kmqrvymihqs0yd1s
2011-01-13 18:10:45 +01:00
psi (Open ERP) 5a8ec7c3aa [IMP] project_timesheet:YML improvements for dates
bzr revid: psi@tinyerp.co.in-20110105125700-3lg23srkdyyshnb3
2011-01-05 18:27:00 +05:30
husen f433b959c2 merged with trunk
bzr revid: husen@husen-laptop-20101230095809-cl6dkve1odgdtqtv
2010-12-30 15:28:09 +05:30
Harry (OpenERP) 7b0c7b2f12 [FIX] buildbot#591: fix buildbot failure on project_timesheet, report_intrastat module
bzr revid: hmo@tinyerp.com-20101211125229-2yh6pz21e1s59z0m
2010-12-11 18:22:29 +05:30
sbh (Open ERP) 9b536faec7 [MERGE] Merge lp:openobject-addons
bzr revid: sbh@tinyerp.com-20101011051526-rn7qauj3zkaqgopm
2010-10-11 10:45:26 +05:30
Jay (OpenERP) 56d97c7939 [REF] project_timesheet
bzr revid: jvo@tinyerp.com-20101008211228-19r3vi8uar5py31f
2010-10-09 02:42:28 +05:30
Jay (OpenERP) 28af5e2dab [FIX] project_timsheet : added missing employee_id ref to sheet in yml
bzr revid: jvo@tinyerp.com-20101008133825-gnr16ihx9dhk6pcj
2010-10-08 19:08:25 +05:30
sbh (Open ERP) 8364c38fda [Fix] project_timesheet:Fix the buildbot-bug foryml
bzr revid: sbh@tinyerp.com-20101005052318-azg6kccngrq0qy72
2010-10-05 10:53:18 +05:30
PAP(OpenERP) dc42df8ed6 [IMP] Project: improvements in project related modules + yaml
bzr revid: mra@mra-laptop-20100804121124-d1u8d5mqdtdmr160
2010-08-04 17:41:24 +05:30
pap (openerp) f1feffec6a [imp]:few changes in ymls
bzr revid: pap@tinyerp.co.in-20100604122904-o8gf7d7dj89ljo1w
2010-06-04 17:59:04 +05:30
pap (openerp) 7ac215e587 [ADD]:added yml test for project and project_ modules
bzr revid: pap@tinyerp.co.in-20100603112420-uofelwn685xlheum
2010-06-03 16:54:20 +05:30