Commit Graph
13 Commits
Author SHA1 Message Date
Cédric Krier 7da73ccebf Update unit price after invoice posted and move done
issue9962
review292991002
2021-02-03 21:21:03 +01:00
Cédric Krier 6c1626fb34 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 bdfe968443 Rename invoice state from cancel to cancelled
issue8927
review303661003
2020-06-06 10:23:14 +01:00
Sergi Almacellas Abellana 73af560685 Copy invoice lines when synchronizing shipment moves
issue9114
review273011002
2020-04-02 15:25:18 +02:00
Cédric Krier 4e1ce75819 Limit links between invoice line and stock moves
issue9143
review274981002
2020-03-28 16:16:34 +01:00
Cédric Krier d8cb03642e Skip canceled move and invoice when computing quantity
This ensures that newly recreated invoices or moves are still linked as
quantity will be lower.

issue9032
review258971002
2020-03-26 00:11:06 +01:00
Cédric Krier 4687a334c7 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
Cédric Krier dd734a8b8c Remove support for Python 2.7
issue7497
review53261002
2018-06-26 19:11:42 +02:00
Cédric Krier 2c45d5b1ff Do not remove invoice_lines link when copying move for split
issue7152
review44871002
2018-04-09 10:41:03 +02:00
Jonathan Levy c85321bd3e Add Python3 support
issue3211
review23891003
2016-03-02 21:12:20 +01:00
Cédric Krier 6bd5c59c47 Don't copy moves or invoice_lines
issue4980
review24411002
2015-09-22 22:57:05 +02:00
Cédric Krier 73830a8e67 Fix most flake8 errors
review8771002
2014-12-02 12:54:43 +01:00
Cédric Krier f39a93c191 Initial commit
issue3614
review3181002
2014-03-18 21:12:15 +01:00