Commit Graph
35 Commits
Author SHA1 Message Date
Cédric Krier f51edcec16 Merge account kind and account type
issue4990
review68401002
2019-03-24 18:00:01 +01:00
Cédric Krier aa5a8109df Update scenario to use template instead of product on product supplier
issue6799
2019-03-15 16:33:08 +01:00
Cédric Krier bc218140de Add ir.calendar for month and day
This allows to replace time_locale and use the translation infrastructure
instead. So it can be customized using the translation override or derivative
languages.
This provides also a standard base to modules that needs calendar month and
day.

issue7815
review56451002
2019-01-01 15:47:23 +01:00
Cédric Krier 40c9ca60b7 Move cost price to product level instead of template
issue6515
review41321002
2017-07-05 14:51:51 +02:00
Cédric Krier f1b9b141f0 Replace category by categories on Template
issue5320
review23791002
2016-03-19 09:05:51 +01:00
Cédric Krier fc1b9a35b2 Use converted tests converted by 2to3
distutils import tests module from the source code, so we must force it to use
the test suite from the absolute path because it will be the converted on in
case of 2to3 otherwise we fall-back to the relative module.

issue3211
2016-03-11 21:57:33 +01:00
Cédric Krier fcf447f6a1 Make TestCase create and drop its database
and use with_transaction decorator.

issue5263
review20711002
2016-02-06 19:13:27 +01:00
Cédric Krier 69498ee2e0 Rename delivery_time into lead_time
issue5275
review16991003
2016-02-02 21:17:53 +01:00
Cédric Krier 9d18d87062 Don't compute supply date for max date
When date is max, there is no point to compute a weekday and adding anything to
max will raise OverflowError. Such case should just return max date.

issue5109
review18871002
2016-01-21 10:33:12 +01:00
Cédric Krier d9c49f3978 Add check for default model access
When group access exists, a default model access should be defined otherwise
all access are given to non group users.

issue4485
review5941002
2015-01-27 18:14:19 +01:00
Cédric Krier ad60a5aa59 Add tox and drone
issue4431
2015-01-27 14:45:57 +01:00
Nicolas Évrard d76c3a807f Add test for access rights of menu and actions
issue4295
review12661002
2015-01-02 16:08:11 +01:00
Cédric Krier 6477580c6f Fix most flake8 errors
review8771002
2014-12-02 12:56:16 +01:00
Cédric Krier 558863d547 Anonymise tests
review2681002
2014-01-16 22:11:00 +01:00
Cédric Krier 4392ac466f Cleanup tests
review2491002
2014-01-12 20:00:21 +01:00
Cédric Krier f4a45be946 Fix flake8 2013-10-05 12:17:34 +02:00
Cédric Krier 4cb70e3f09 ProductSupplier is linked to template not product 2013-03-21 09:56:19 +01:00
Cédric Krier 06ff7b9e94 Remove _inherits
review670002
2013-03-20 22:51:20 +01:00
Cédric Krier 7958928fb7 Don't run doctest from account 2013-03-13 19:10:39 +01:00
Albert Cervera i Areny 8bda8396d1 Use a list of dictionaries in create().
issue2358
review266002
2013-01-06 22:18:14 +01:00
Cédric Krier 90588e26f1 Fix compute supply date when no day is defined
review533002
2012-09-25 20:35:14 +02:00
Cédric Krier 7a4a874b37 Active Record 2012-09-24 22:18:25 +02:00
Cédric Krier c3ba0a5f33 Don't modify uom object from the pool in unittest 2012-09-20 16:18:14 +02:00
Cédric Krier 002b9d4e8f Fix pep8 and pyflakes 2012-04-03 20:07:52 +02:00
Nicolas Évrard 8fc16ef2a6 Integer, Numeric and Float allow None as value
NULL value is None and not False

issue2022
review237004
2012-03-23 18:38:55 +01:00
Nicolas Évrard 6d46a12792 Use relative imports 2011-12-14 17:04:31 +01:00
Cédric Krier 606ae18f11 stock_supply_day tests don't depend on stock_supply tests 2011-11-30 13:33:10 +01:00
Cédric Krier 138224bef0 Use account_category in test to prevent requirement from other modules 2011-11-30 12:34:11 +01:00
Nathanael Perat 17e10c896f Method compute_supply_date returns 1 date
issue 2300
review 183002
2011-11-29 18:14:46 +01:00
Nathanael Perat 6a235f0691 Add tests for stock_supply_day
Testing methods compute_purchase_date and compute_supply_date
for the module stock_supply_day

issue 1977
review 183001
2011-11-29 17:16:58 +01:00
Cédric Krier 203abc6f40 Add test for depends 2011-08-04 16:57:46 +02:00
Cédric Krier dadad23326 Fix test_view for issue1651 2010-08-27 12:18:31 +02:00
Cédric Krier c57869fee7 Add test_suite in setup.py 2010-03-12 17:49:43 +01:00
Cédric Krier c8815232a6 New unittest design 2010-03-04 14:14:13 +01:00
Cédric Krier ace49f172c Add test views 2009-07-31 17:43:56 +02:00