Commit Graph
57 Commits
Author SHA1 Message Date
Cédric Krier 3cf21e7fb1 Add purchase scenario user to purchase request group
It is needed to execute the purchase request wizard since issue9108.

issue9137
review274961002
2020-03-11 15:18:15 +01:00
Sergi Almacellas Abellana b4fbe0c357 Make order point's minimal quantity required
issue8405
review259611017
2019-06-28 10:17:10 +02:00
Cédric Krier 72ef3bbd42 Don't set default unit price on stock move
issue8119
review255251002
2019-04-23 09:10:23 +02:00
Cédric Krier a36562be7b Merge account kind and account type
issue4990
review68401002
2019-03-24 18:00:01 +01:00
Sergi Almacellas Abellana be44674e7e Add test for order point location's searcher
issue8141
review58531002
2019-03-15 17:49:59 +01:00
Cédric Krier 52e82724f7 Update scenario to use template instead of product on product supplier
issue6799
2019-03-15 17:44:16 +01:00
Cédric Krier 41456f1ae5 Check read access on field in search domain
issue7766
review50591002
2018-11-12 17:20:07 +01:00
Cédric Krier 31f55bc859 Update scenario to run compare_requests
We complete also the scenario to re-run the wizard with a purchased request to
have this part of the code tested.

issue7608
review74281002
2018-08-09 20:40:59 +02:00
Cédric Krier becaf00695 Remove support for Python 2.7
issue7497
review53261002
2018-06-26 19:11:57 +02:00
Cédric Krier dde00563ff Remove accounts from products
issue3805
review45111002
2018-06-20 12:09:55 +02:00
Cédric Krier 6dcd52a331 Add set_user tools for test scenario
When changing the user of proteus, the context should be reloaded.

issue6652
review42551002
2017-08-02 19:38:24 +02:00
Cédric Krier f02a45b5f2 Move cost price to product level instead of template
issue6515
review41321002
2017-07-05 14:51:51 +02:00
Nicolas Évrard 6c67a63a8c Add support for overflowing quantities
issue6279
review27121002
2017-03-01 10:16:07 +01:00
Cédric Krier ebcd254df6 Add scenario for internal supply with lead time
issue6152
review27901002
2017-01-19 22:55:30 +01:00
Cédric Krier 56aba762a6 Merge supply into one wizard
issue6147
review25941002
2017-01-15 01:33:07 +01:00
Cédric Krier 3173082f63 Improve lead time management of internal shipment
- Sum all lead times to get the biggest path possible and add the maximum extra
  lead time (like supplier lead time).
- Create internal shipment in request state.
- Generate request recursively until no new shipments are created.

issue6123
review34551002
2017-01-15 00:19:15 +01:00
Nicolas Évrard 73c41d7f0d Use activate instead of install for module activation
issue1456
review28931002
2016-10-20 12:54:52 +02:00
Cédric Krier 37a8b7f7bf Use install_modules tools in scenario
issue5794
2016-08-26 10:00:04 +02:00
Nicolas Évrard 0b18dade82 Move purchase request to purchase_request module
issue5349
review24811002
2016-03-25 16:59:49 +01:00
Cédric Krier b9bcce7e0b Replace category by categories on Template
issue5320
review23791002
2016-03-19 09:05:50 +01:00
Cédric Krier 235ed84e23 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:31 +01:00
Jonathan Levy 48188c94e1 Add Python3 support
issue3211
review23951002
2016-03-08 11:59:32 +01:00
Cédric Krier e7aeba935f Make TestCase create and drop its database
and use with_transaction decorator.

issue5263
review20711002
2016-02-06 19:13:26 +01:00
Cédric Krier bc20a56baa Rename delivery_time into lead_time
issue5275
review19811002
2016-02-02 21:17:22 +01:00
Nicolas Évrard 95ec33db65 Adding exception state on the purchase requests
issue5107
review16811002
2015-11-17 17:30:42 -03:00
Nicolas Évrard c04a9b8651 Use the correct access right to access purchase request in scenario
The changeset ce72540ab8d4 added the scenario but did not use the correct
access rights
2015-10-04 16:58:26 +02:00
Nicolas Évrard f0d499b978 Add searcher on purchase_request's state
issue4046
review14361002
2015-10-04 00:50:21 +02:00
Cédric Krier 3fd8afa2e1 Add default internal provisioning per location
issue4913
review18491002
2015-09-14 10:23:29 +02:00
Cédric Krier f6cbf28dcf Rename ir.module.module* into ir.module*
issue4764
review7171002
2015-05-28 21:04:27 +02:00
Cédric Krier 02e420a8df 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:18 +01:00
Cédric Krier 37d0759e73 Add tox and drone
issue4431
2015-01-27 12:16:38 +01:00
Nicolas Évrard 5589b66b08 Add test for access rights of menu and actions
issue4295
review12661002
2015-01-02 16:08:11 +01:00
Cédric Krier 1e516b0d7c Fix most flake8 errors
review8771002
2014-12-02 12:56:15 +01:00
Cédric Krier 8cb819d9ee Add some test tools to ease scenario writing
review11331002
2014-10-24 10:45:18 +02:00
Cédric Krier 21f4856c0f Use new doctest setup/teardown
issue3627
review7401002
2014-09-04 08:45:52 +02:00
Cédric Krier d6c2478503 Anonymise tests
review2681002
2014-01-16 22:10:59 +01:00
Cédric Krier 8351b500ed Cleanup tests
review2491002
2014-01-12 20:00:20 +01:00
Cédric Krier 1567bbe338 Use common doctest_dropdb
review2151002
2013-12-18 18:32:43 +01:00
Cédric Krier 1f9c06294f Fix flake8 2013-10-05 12:17:33 +02:00
Albert Cervera i Areny b3903f2627 Add wizard and test for internal shipments.
review837003
2013-06-28 12:52:39 +02:00
Cédric Krier 6d5fbb75a5 ProductSupplier is linked to template not product 2013-03-21 09:55:51 +01:00
Cédric Krier 9d94455102 Remove _inherits
review670002
2013-03-20 22:51:19 +01:00
Cédric Krier d5c36c1f9a Don't run doctest from account 2013-03-13 19:10:15 +01:00
Albert Cervera i Areny 0f7f432374 Use a list of dictionaries in create().
issue2358
review266002
2013-01-06 22:18:14 +01:00
Cédric Krier bd2b9b72a1 Active Record 2012-09-24 22:18:24 +02:00
Cédric Krier e34ac864a3 Don't modify uom object from the pool in unittest 2012-09-20 16:16:56 +02:00
Cédric Krier 274acb75ad Fix pep8 and pyflakes 2012-04-03 20:07:50 +02:00
Nicolas Évrard 4f7f4fc7d3 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 b6913934f2 Use relative imports 2011-12-14 17:04:05 +01:00
Cédric Krier 3fb2a669f1 Use account_category in test to prevent requirement from other modules 2011-11-30 12:33:49 +01:00