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
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
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
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
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
Nicolas Évrard
79ae65953f
Use direct access to backend classes
...
issue8836
review258421002
2019-12-06 17:33:46 +01:00
Cédric Krier
6f1ba69a33
Add __table_handler__ to ModelSQL
...
issue7581
review48531002
2018-07-24 22:01:07 +02:00
Cédric Krier
af0f044dd6
Remove support for Python 2.7
...
issue7497
review53261002
2018-06-26 19:11:44 +02:00
Cédric Krier
33ac928ad8
Skip move with no quantity to allocate cost
...
This prevents a division by zero.
issue7229
review40181002
2018-04-05 19:29:34 +02:00
Sergi Almacellas Abellana
b64996e966
Add depends on Button
...
issue6919
review40811002
2018-02-19 11:38:25 +01:00
Sergi Almacellas Abellana
5db5c4a023
Pass pattern argument on multivalue default fields
...
issue6658
review40541002
2017-07-25 09:55:00 +02:00
Sergi Almacellas Abellana
a2d6cb4da3
Clear landed cost relation when copying invoices
...
issue6531
review42371002
2017-06-02 14:14:47 +02:00
Cédric Krier
5eb5afe45f
Catch KeyError on ModelData.get_id in default method
...
Since changeset 685f2d888dca, the default methods are always called in
__register__ when the XML files are not yet loaded.
issue6409
2017-04-01 10:41:38 +02:00
Cédric Krier
e9f5d36328
Remove Property fields
...
issue2349
review34841002
2017-04-01 00:30:08 +02:00
Cédric Krier
1740e3cf84
Naming convention for code, number and reference
...
issue1479
review17171002
2016-03-28 10:32:59 +02:00
Cédric Krier
322c4759d7
Merge invoice and credit note
...
issue5225
review18921002
2016-03-20 22:58:33 +01:00
Cédric Krier
a3f21389b7
Initial commit
...
issue4726
review12141002
2015-08-24 17:14:34 +02:00