Commit Graph
30 Commits
Author SHA1 Message Date
Cédric Krier 521dbb513c Do not modify proteus config context
issue7144
2018-04-14 17:17:01 +02:00
Cédric Krier af7a103b80 Move cost price to product level instead of template
issue6515
review41321002
2017-07-05 14:51:46 +02:00
Cédric Krier 6dce79287b Ceil input and floor output quantities
This is a more realistic behaviour for a production.

issue2956
review33791002
2017-02-02 12:12:19 +01:00
Cédric Krier 9f28364b2c Add producible to product template
issue4590
review32921003
2017-01-13 20:20:10 +01:00
Cédric Krier 67d965a876 Return planned date when product lead time is None
issue6039
review29751002
2016-11-27 22:27:53 +01:00
Nicolas Évrard f984007600 Use activate instead of install for module activation
issue1456
review28931002
2016-10-20 12:54:45 +02:00
Cédric Krier bfb08daeb8 Use install_modules tools in scenario
issue5794
2016-08-26 09:59:22 +02:00
Cédric Krier 4354895f80 Manage lead time on production
- Add lead time on BOM
- Add start dates on production

issue5560
review23131003
2016-06-24 09:22:52 +02:00
Cédric Krier cd7f55a768 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:58 +01:00
Cédric Krier a936a2ddf4 Add Python3 support
issue3211
review19961002
2016-02-27 23:53:38 +01:00
Cédric Krier 76f03540bf Correctly round the production cost
- quantity of inputs should not be rounded at unit conversion
- round the cost at the end of the computation loop
- use Move unit_price digits to round unit_price

issue5064
review21501002
2015-10-30 12:35:39 +01:00
Cédric Krier e9237d5400 Rename ir.module.module* into ir.module*
issue4764
review7171002
2015-05-28 21:03:59 +02:00
Cédric Krier a15f65f6fa Add reset bom instance button
issue4627
review7981002
2015-03-16 13:00:10 +01:00
Cédric Krier e0df7c57f7 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:49 +01:00
Nicolas Évrard 8964dfe476 Add test for access rights of menu and actions
issue4295
review12661002
2015-01-02 16:08:07 +01:00
Cédric Krier 4bf2f3c373 Fix most flake8 errors
review8771002
2014-12-02 12:55:39 +01:00
Cédric Krier 72eac65864 Add some test tools to ease scenario writing
review11331002
2014-10-24 10:44:52 +02:00
Cédric Krier a9eac83712 Use new doctest setup/teardown
issue3627
review7401002
2014-09-04 08:45:22 +02:00
Pierre-Louis Bonicoli ba09eb78a4 By default warehouse.production_location is already set
issue2854
review7481002
2014-08-24 18:04:49 +02:00
Sergi Almacellas Abellana 7b1139aa5e Add tests for bom with inputs/outputs of zero quantity
issue4055
review13411002
2014-07-24 12:41:50 +02:00
Cédric Krier 23e2a14b2c Test must not rely on being run all the same day
issue3769
review4471002
2014-03-21 23:43:02 +01:00
Cédric Krier cec2b682a2 Drop support of Python 2.6
review2691002
2014-01-31 00:03:55 +01:00
Sergi Almacellas Abellana 6dbddb52a4 Allow to define effective date of productions
issue3579
review2871002
2014-01-30 19:22:02 +01:00
Cédric Krier 60d5e0fecd Cleanup tests
review2491002
2014-01-12 19:59:56 +01:00
Cédric Krier 5eff62fd22 Use common doctest_dropdb
review2151002
2013-12-18 18:30:19 +01:00
Cédric Krier c065f06070 Fix flake8 2013-10-05 12:17:12 +02:00
Cédric Krier 7109a9d314 Remove _inherits
review670002
2013-03-20 22:50:58 +01:00
Cédric Krier a0f0493e18 Fix production cost of scenario
The quantity changed in changeset e8c0330f3575
2012-06-15 20:49:18 +02:00
Cédric Krier 6bcaab8e66 Better scenario with different kind of UoM 2012-06-14 00:29:31 +02:00
Cédric Krier 390b061559 Initial commit of production module 2012-05-13 23:00:54 +02:00