Commit Graph
11 Commits
Author SHA1 Message Date
David Harper dcdb0027eb Rename invoice state from cancel to cancelled
issue8927
review303661003
2020-06-06 10:23:14 +01:00
Cédric Krier 4ddd694447 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 2e028d305b Always filter out invoice without move in _update_tax_cash_basis
process and cancel can call the method on invoice without move for example if
the invoice is empty.

issue8348
review263531002
2019-06-03 15:27:41 +02:00
Cédric Krier dc8552f6ff Test debit and credit when closing period
The warning should be raise only if there is credit on receivable and debit on
payable.

issue8208
review285071002
2019-03-27 00:39:52 +01:00
Cédric Krier ff61bd63ac Update cash basis on reconciliation
The reconciled lines must be added to the payment amount and reconciliation
should trigger the update of cash basis via process call.

issue8207
review249121002
2019-03-27 00:35:37 +01:00
Cédric Krier b6a444782c Merge account kind and account type
issue4990
review68401002
2019-03-24 18:00:01 +01:00
Cédric Krier b686a18d3c Add ir.message and use custom exceptions
issue3672
2018-12-29 14:20:29 +01:00
Sergi Almacellas Abellana c35f343f7d Replace sum_domain by amount_domain on super method call
issue7609
review45701002
2018-08-27 10:23:40 +02:00
Cédric Krier 7f12385b8e Remove support for Python 2.7
issue7497
review53261002
2018-06-26 19:11:44 +02:00
Cédric Krier 4c9019cff2 Use tax code line for tax reporting
issue6013
review40221002
2018-03-25 23:39:43 +02:00
Cédric Krier ad7b552916 Initial commit
issue7139
review41091002
2018-03-24 15:59:19 +01:00