Commit Graph
31 Commits
Author SHA1 Message Date
David Harper 9f6bab85ec Use Activate modules as test scenario section name
issue9395
review291901002
2020-07-09 10:21:07 +01:00
Cédric Krier 57032ecb96 Use MultiSelection for lot_required
issue7851
review249911002
2019-09-20 11:32:02 +02:00
Cédric Krier 277a3de175 Improve moves synchronisation on shipments
By using the origin as synchronisation key, the code is simplified but also it
allows to follow when products are changed.
The same design is applied to the internal shipment which allows to synchronise
also the lots.

issue8363
review261811002
2019-08-18 19:22:43 +02:00
Cédric Krier e145fbfbcb Remove support for Python 2.7
issue7497
review53261002
2018-06-26 19:11:56 +02:00
Cédric Krier 563c43ef84 Replace product_ids by grouping_filter
issue7141
review40121002
2018-02-28 18:26:17 +01:00
Cédric Krier afa284d022 Do not group twice per product
Since issue7068, the grouping per product is implicit if a list of product ids
is set.

issue7141
review44001002
2018-02-21 12:33:32 +01:00
Cédric Krier 55ba6539da Move cost price to product level instead of template
issue6515
review41321002
2017-07-05 14:51:50 +02:00
Nicolas Évrard bdef75265c Use activate instead of install for module activation
issue1456
review28931002
2016-10-20 12:54:51 +02:00
Cédric Krier c97fdb196e Use install_modules tools in scenario
issue5794
2016-08-26 09:59:55 +02:00
Sergi Almacellas Abellana ab17e27abb Ensure context is set when testing lot quantity
Since changeset 3a17f8e704a7, there is no more context leak so the context when
computing quantities is exactly the one at the instantiation.

review25231002
2016-06-15 11:16:13 +02:00
Cédric Krier 6df058cd26 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:26 +01:00
Jonathan Levy be3a34a8fb Add Python3 support
issue3211
review17851002
2016-02-27 00:34:46 +01:00
Cédric Krier 4793e6d62d Make TestCase create and drop its database
and use with_transaction decorator.

issue5263
review20711002
2016-02-06 19:13:21 +01:00
Cédric Krier c4e49da1f5 Rename ir.module.module* into ir.module*
issue4764
review7171002
2015-05-28 21:04:22 +02:00
Cédric Krier be40b3eec3 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:13 +01:00
Cédric Krier d722d9d49c Fix scenario depending on internal order of dictionary 2015-01-27 00:22:03 +01:00
Cédric Krier 552ef800d0 Add tox and drone
issue4431
2015-01-26 23:59:31 +01:00
Nicolas Évrard 601cfb62c2 Add test for access rights of menu and actions
issue4295
review12661002
2015-01-02 16:08:10 +01:00
Cédric Krier 743055fa82 Fix most flake8 errors
review8771002
2014-12-02 12:56:10 +01:00
Cédric Krier 487c35313e Add some test tools to ease scenario writing
review11331002
2014-10-24 10:45:14 +02:00
Cédric Krier 32a96bafe1 Use new doctest setup/teardown
issue3627
review7401002
2014-09-04 08:45:46 +02:00
Cédric Krier a4921eacc0 Anonymise tests
review2681002
2014-01-16 22:10:57 +01:00
Cédric Krier 028d1d4c9f Cleanup tests
review2491002
2014-01-12 20:00:16 +01:00
Cédric Krier 1795a6d38a Use common doctest_dropdb
review2151002
2013-12-18 18:32:33 +01:00
Cédric Krier 7d2f65e437 Fix flake8 2013-10-05 12:17:30 +02:00
Guillem Barba e67a26adf1 Add quantity/forecast_quantity fields fields on Lot
Add these searchable fields using the StockMixin class of stock/move.py

issue3279
review963003
2013-09-09 14:20:57 +02:00
Cédric Krier 476488c2de Extend Lot Management
Add lot in inventory
Add Period Cache per lot

review845002
2013-06-21 23:25:43 +02:00
Cédric Krier 73452fdebc Remove _inherits
review670002
2013-03-20 22:51:16 +01:00
Cédric Krier 951b8d872c Fix PEP8 2012-07-31 10:09:00 +02:00
Cédric Krier 7255319447 Simplify workflow engine 2012-05-14 21:04:19 +02:00
Cédric Krier 3dc574f9d9 Initial commit of stock_lot module 2012-05-13 23:12:11 +02:00