Commit Graph
151 Commits
Author SHA1 Message Date
Cédric Krier 8dc5ea77a1 Add coverage to tox
issue7685
review51501002
2021-12-13 23:10:09 +01:00
Cédric Krier 719cbd1f9a Follow isort formatting
issue10928
2021-12-11 17:58:42 +01:00
Cédric Krier 665fdb37f0 Do not use equal operator in inverted domain of xxx2Many
The clients will try to enforce to have only a single record with the value.

issue10958
review389251002
2021-11-24 00:59:41 +01:00
Cédric Krier 73de23d8b6 Ignore landed cost price when recompute unit price
issue10957
review367831002
2021-11-22 10:12:35 +01:00
Cédric Krier ceb51762f8 Increase version number 2021-11-01 17:18:23 +01:00
Cédric Krier b0e12a90aa Add tag 6.2.0 [skip ci] 2021-11-01 17:18:13 +01:00
Cédric Krier c3455380ff Prepare release 6.2.0 [skip ci] 2021-11-01 17:18:13 +01:00
Cédric Krier 5053785249 Update translations [skip ci] 2021-10-30 11:32:01 +02:00
Cédric Krier 94edd324ff Add default value for CI env
issue10455
review332961002
2021-07-04 17:54:46 +02:00
Cédric Krier 19583d74ed Add on delete cascade to link models
issue10437
review363371002
2021-05-26 23:47:16 +02:00
Cédric Krier a56b1a7e1e Limit invoice line to same company as landed cost
issue10438
review336251002
2021-05-26 23:44:13 +02:00
Cédric Krier d6cf09859a Filter invoice line using landed cost on product
For more flexibility the domain must be based on the product field instead of
the template.

issue10439
review344201023
2021-05-26 23:42:39 +02:00
Cédric Krier 0173e71ac8 Increase version number 2021-05-03 15:52:04 +02:00
Cédric Krier 880b838731 Add tag 6.0.0 [skip ci] 2021-05-03 15:51:54 +02:00
Cédric Krier df00d2acaf Prepare release 6.0.0 [skip ci] 2021-05-03 15:51:53 +02:00
Cédric Krier b2aa9b8968 Update translations [skip ci] 2021-05-02 10:30:10 +02:00
Cédric Krier f7d507ce3b Add Romanian [skip ci]
issue9110
review301541002
2021-05-02 09:56:32 +02:00
Cédric Krier 30107a8c1f Add back the shipment cost when recompute move unit price
When the unit price of a move is updated, the shipment cost that was added must
be added back.

issue10196
review348201004
2021-04-28 00:35:04 +02:00
Cédric Krier d219b36fe6 Check rule only if _check_access is set and enforce companies rule
issue4080
review343891009
2021-04-10 23:46:23 +02:00
Cédric Krier 9f4e22e1b7 Add company pattern to multivalue calls
issue10162
review335761002
2021-04-03 14:27:10 +02:00
Cédric Krier 24d4f94511 Store directly sequence type to sequence
issue10122
review351381002
2021-03-11 23:00:10 +01:00
Cédric Krier 27b53c007f Follow common rule to organize menu entries
issue10118
review347611002
2021-02-27 18:16:28 +01:00
Cédric Krier 5be1519b46 Add support for Python 3.9
issue9685
2020-12-19 17:08:44 +01:00
David Harper cfd57c546a Test long_description using twine check
issue9781
review337181002
2020-12-15 11:42:55 +00:00
Cédric Krier 0286e7381a Manage local version in tox and do not set local_version when no CI
issue9928
2020-12-11 13:51:51 +01:00
Cédric Krier e6dda61a4e Add support for local_version on trydevpi.tryton.org
issue9928
2020-12-10 23:05:56 +01:00
Cédric Krier 266dd5b396 Increase version number 2020-11-02 15:49:06 +01:00
Cédric Krier 6714b0375d Add tag 5.8.0 [skip ci] 2020-11-02 15:48:56 +01:00
Cédric Krier 91c8340628 Prepare release 5.8.0 [skip ci] 2020-11-02 15:48:55 +01:00
Cédric Krier c9d4c8da15 Update translations [skip ci] 2020-10-31 12:14:29 +01:00
Cédric Krier a6004c2d4a Remove support for Python 3.5
issue9733
2020-10-24 13:45:10 +02:00
Cédric Krier 60e142128b Ignore flake8 E741 2020-10-16 19:19:57 +02:00
Cédric Krier 6165a835dc Add stock move filter per category and product
We allow to filter the stock moves updated by landed cost.

issue9560
review302071002
2020-10-11 13:46:31 +02:00
Cédric Krier 27d8985e0e Allow posted landed cost to be cancelled
issue9605
review319961002
2020-10-11 13:37:32 +02:00
Cédric Krier f571c09c87 Add landed cost relate from supplier shipment
issue9609
review319971002
2020-10-04 00:37:27 +02:00
Cédric Krier c6faec8a3d Use fixed date to make currency conversion
The invoice currency date and the move effective date must be used when
converting cost between currency.

issue9608
review326121002
2020-09-27 16:46:23 +02:00
David Harper 845947a4af Use Activate modules as test scenario section name
issue9395
review291901002
2020-07-09 10:21:06 +01:00
Cédric Krier bd7596a350 Update unit price of stock moves based on posted invoice lines
We update the unit price of the stock move when it is done and when a linked
invoice is posted. This allow to keep an accurate cost price computation when
price varies between the order and the invoice.

issue7280
review311431002
2020-06-24 23:10:46 +02:00
David Harper ff57359f2b Rename move state from cancel to cancelled
issue8927
review297851002
2020-06-06 10:30:11 +01:00
David Harper 09f2e7a3a1 Rename cancel state to cancelled
issue8927
review291801003
2020-06-04 10:56:46 +01:00
Cédric Krier 2c29e15ccc Increase version number 2020-05-04 12:13:03 +02:00
Cédric Krier 3516dd1993 Add tag 5.6.0 [skip ci] 2020-05-04 12:12:54 +02:00
Cédric Krier 84ff667b8a Prepare release 5.6.0 [skip ci] 2020-05-04 12:12:53 +02:00
Cédric Krier d74278e73e Update translations 2020-05-02 10:29:23 +02:00
Cédric Krier 05886952e1 Set non-durable setting for postgresql testing service
issue9100
review286831003
2020-04-25 23:53:50 +02:00
Cédric Krier 295230d1cb Add round_price
We add a common method to round prices that are stored using the price digits.
It is useless to use the digits from the field because it can not be changed in
any other way than by configuration.

issue9146
review299521002
2020-04-23 21:44:00 +02:00
Sergi Almacellas Abellana 4c0a984cd6 Add support for python3.8
issue8866
review274421004
2020-03-19 19:02:16 +01:00
Cédric Krier ac9fe9dd6f Set all fields readonly for inactive records
issue3747
review295061011
2020-03-17 20:08:12 +01:00
Cédric Krier 697d96acc0 Set auth-method to trust for drone build
issue9063
2020-03-01 16:12:38 +01:00
Cédric Krier 3edea8492b Fix flake8 errors and warnings
We add the flake8 configuration used so we ensure everyone uses the same.
We remove the usage of __all__ for non public API.
When possible, we rationalize the class name according to its __name__ and module.

issue9082
review297061002
2020-03-01 12:33:51 +01:00