Commit Graph
42 Commits
Author SHA1 Message Date
Cédric Krier 4fa7b4e319 Allow UoM conversion between different categories
issue8238
review265151005
2019-07-08 17:34:44 +02:00
Sergi Almacellas Abellana 4dad405f84 Add product identifiers
issue7086
review265481006
2019-06-06 19:20:43 +02:00
Cédric Krier 887f6efef8 Move cost price to product level instead of template
issue6515
review41321002
2017-07-05 14:51:45 +02:00
Cédric Krier b2ee1756ef Add ceil and floor as uom rounding methods
issue6222
review27041002
2017-02-02 12:11:10 +01:00
Florian Preinstorfer f541244f90 Add test for sorting inherited product fields
issue5318
review30861002
2016-12-15 09:48:41 +01:00
Cédric Krier 3f98a23c39 Replace category by categories on Template
issue5320
review23791002
2016-03-19 09:05:13 +01:00
Cédric Krier 6a5b48136b 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:56:51 +01:00
Nicolas Évrard ea0c0ee96c Follow PEP-0249 for Transaction and backends
issue4949
review19781002
2016-03-03 21:54:58 +01:00
Cédric Krier f07ebe0a69 Same as previous fix for test_uom_check_factor_and_rate 2016-02-06 22:47:08 +01:00
Cédric Krier cec2dcb1f1 Re-create category in test_uom_non_zero_rate_factor
The transaction is rollbacked after each tests and so the category doesn't
exist anymore.
2016-02-06 22:21:04 +01:00
Cédric Krier f0f9299994 Make TestCase create and drop its database
and use with_transaction decorator.

issue5263
review20711002
2016-02-06 19:12:50 +01:00
Karla Stenger 8b7f208e9c Change Uom.round into an instance method.
issue4423
review19651002
2016-01-11 10:28:00 -03:00
David Harper 7d6adc34e5 Improve behaviour of Uom.compute_xxx methods
issue4647
review9161002
2015-07-29 17:48:28 +02:00
Cédric Krier 94ad968866 Add tests for Uom.round
issue4816
review12191002
2015-06-17 08:30:13 +02:00
Cédric Krier c11752c4a9 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:13:43 +01:00
Nicolas Évrard 56daf61733 Add test for access rights of menu and actions
issue4295
review12661002
2015-01-02 16:08:04 +01:00
Cédric Krier 0b22d25fd9 Fix most flake8 errors
review8771002
2014-12-02 12:55:30 +01:00
Cédric Krier 7eabe2205b Cleanup tests
review2491002
2014-01-12 19:59:50 +01:00
Cédric Krier ffdb614e04 Fix tests to work without default products value 2013-10-28 09:38:05 +01:00
Cédric Krier f176fea97c Fix flake8 2013-10-05 12:17:07 +02:00
Cédric Krier 039b583f18 Add missing category Model on ProductTestCase 2013-09-29 13:38:23 +02:00
Priyanka Rani 4d7583ea85 Tests for fixing product convert domain for non relate
issue3118
review1056003
2013-09-28 17:36:44 +05:30
Albert Cervera i Areny 513fd29c47 Add a test for product.product search_domain function.
review839002
2013-04-30 08:45:38 +02:00
Albert Cervera i Areny 5515e8276c Use a list of dictionaries in create().
issue2358
review266002
2013-01-06 22:18:13 +01:00
Cédric Krier 73e5c53949 Active Record 2012-09-24 22:18:00 +02:00
Cédric Krier 3daf9a556c Re-fix non zero rate unittest 2012-06-01 18:16:05 +02:00
Cédric Krier 92f509351a Fix non zero rate unittest 2012-05-21 12:42:04 +02:00
Cédric Krier bbe639d663 Fix pep8 and pyflakes 2012-04-03 20:07:18 +02:00
Nicolas Évrard 79055b94b6 Use relative imports 2011-12-14 17:04:24 +01:00
Cédric Krier 0c24599f42 Fix Transaction.start to use keyword argument for context 2011-11-28 14:46:13 +01:00
Nicolas Évrard 2af61df6ea fix pyflake errors
review165007
2011-11-02 16:10:39 +01:00
Nicolas Évrard 37bf0861fb remove trailing spaces 2011-10-28 10:57:31 +02:00
Cédric Krier 1595175929 Add test for depends 2011-08-04 16:57:33 +02:00
Cédric Krier 8527feb486 Remove support of Python2.5 and fix py3 warnings 2011-07-12 00:17:55 +02:00
Cédric Krier 57d1b6f2c2 Fix test_view for issue1651 2010-08-27 12:18:17 +02:00
Cédric Krier 0bbe7a4739 Remove trailling spaces 2010-08-24 23:42:12 +02:00
Sharoon Thomas e30a846a6b Update for new Transaction 2010-08-15 00:23:46 +01:00
Cédric Krier 078ddc2780 Add test_suite in setup.py 2010-03-12 17:49:38 +01:00
Cédric Krier 0daf267bbc Improve coverage of uom_compute_qty unittest 2010-03-12 17:42:04 +01:00
Cédric Krier 64624aa8f2 Improve computation precision of UOM convertion 2010-03-11 15:29:21 +01:00
Cédric Krier cb6782b138 New unittest design 2010-03-04 14:11:04 +01:00
Cédric Krier ac7b9cd776 Add test views 2009-06-26 16:18:39 +02:00