Commit Graph
38 Commits
Author SHA1 Message Date
Cédric Krier 9d0d78282c Move cost price to product level instead of template
issue6515
review41321002
2017-07-05 14:51:49 +02:00
Cédric Krier 8df0f12d2a Use price_digits for storing cost
The cost price from get_sale_price returns by default a price using the
price_digits precision.
The cost should be stored with the highest precision as it will end up as unit
price on the invoice. It must be rounded using the precision of each field it
will be written on. And the currency conversion should not round it.

issue6557
review36381002
2017-06-13 09:43:19 +02:00
Nicolas Évrard 6276b449d0 Use activate instead of install for module activation
issue1456
review28931002
2016-10-20 12:54:49 +02:00
Cédric Krier b79560bf6d Use install_modules tools in scenario
issue5794
2016-08-26 09:59:45 +02:00
Nicolas Évrard 46d4ca9650 Use Carrier Selection Criteria instead of company wise configuration
issue5285
review23771002
2016-05-10 12:05:33 +02:00
Cédric Krier 05f4a16b04 Replace category by categories on Template
issue5320
review23791002
2016-03-19 09:05:36 +01:00
Cédric Krier 1ee34ed9a0 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:15 +01:00
Jonathan Levy 1b2fb2620c Add Python3 support
issue3211
review19081003
2016-03-10 00:03:49 +01:00
Cédric Krier d0052a01e6 Don't rely on record ordering in scenario
Since changeset 153863383394 of proetus, there is no stable ordering of record
instance, so we must order on id instead.

issue5347
review23911002
2016-03-05 17:21:54 +01:00
Cédric Krier 1ee07b709e Rename delivery_time into lead_time
issue5275
2016-02-06 23:51:53 +01:00
Ralf Peschke ec681480d6 Set product on invoice line with cost method 'shipment'
issue5196
review19711002
2015-12-31 13:31:06 +01:00
Cédric Krier de9544148b Rename ir.module.module* into ir.module*
issue4764
review7171002
2015-05-28 21:04:15 +02:00
Cédric Krier b9eff72791 Set sale shipment cost on sale only at quotation
For performance reason, it is better to compute the shipment cost only at
quotation instead of when lines are changed.

issue4531
review5991002
2015-02-27 11:57:58 +01:00
Cédric Krier c1004f5c97 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:05 +01:00
Nicolas Évrard 59846fce90 Add test for access rights of menu and actions
issue4295
review12661002
2015-01-02 16:08:09 +01:00
Cédric Krier b1d95270bc Fix most flake8 errors
review8771002
2014-12-02 12:55:58 +01:00
Cédric Krier 54598613f6 Add some test tools to ease scenario writing
review11331002
2014-10-24 10:45:05 +02:00
Cédric Krier 91d6a732d4 Use new doctest setup/teardown
issue3627
review7401002
2014-09-04 08:45:36 +02:00
Cédric Krier 1b864e5fdf Drop support of Python 2.6
review2691002
2014-01-31 00:04:15 +01:00
Cédric Krier 94b50533ec Anonymise tests
review2681002
2014-01-16 22:10:50 +01:00
Cédric Krier 3db895236b Cleanup tests
review2491002
2014-01-12 20:00:08 +01:00
Cédric Krier 2aa1636fc5 Use common doctest_dropdb
review2151002
2013-12-18 18:31:39 +01:00
Cédric Krier d816195206 Fix flake8 2013-10-05 12:17:24 +02:00
Cédric Krier 1403bd58c8 Migration to python-sql
review1001002
2013-09-06 22:34:44 +02:00
Cédric Krier 9dbdde1fee Remove _inherits
review670002
2013-03-20 22:51:09 +01:00
Cédric Krier d043edda1b FiscalYear.create_period returns nothing now 2012-09-11 15:28:58 +02:00
Cédric Krier 5345defdfc Fix pep8 and pyflakes 2012-04-03 20:07:41 +02:00
Cédric Krier 03dc14753b Simplify workflow engine
review256001
2012-03-25 00:18:17 +01:00
Nicolas Évrard e1f40f52a3 Integer, Numeric and Float allow None as value
NULL value is None and not False

issue2022
review237004
2012-03-23 18:38:53 +01:00
Cédric Krier 4135643a89 New product types: Goods, Assets and Service
review260001
2012-03-16 12:41:59 +01:00
Cédric Krier f0a8ddf3be New wizard design 2012-01-02 18:06:58 +01:00
Cédric Krier f299d31492 Use comparison in doctest
doctest fails if we got an integer instead of float
2011-12-17 22:30:00 +01:00
Cédric Krier b0b025276e Add missing REPORT_ONLY_FIRST_FAILURE on doctest 2011-12-17 12:08:03 +01:00
Cédric Krier 2751ade933 Add process validation to sale 2011-12-17 12:06:56 +01:00
Nicolas Évrard b57ada735b Use relative imports 2011-12-14 17:04:14 +01:00
Cédric Krier 95d5d2137e Don't force database name in scenario 2011-12-02 10:17:05 +01:00
Cédric Krier 9daafd2f6c Update to tip
- Change Pool into a Singleton
    - Remove support of Python2.5
    - Add test for depends
2011-10-18 11:05:50 +02:00
Cédric Krier 1b0e8ed244 Initial commit of sale_shipment_cost module 2011-08-07 11:26:44 +02:00