Commit Graph
50 Commits
Author SHA1 Message Date
Cédric Krier abc50a0c83 Use the queue to process reconciled invoices
We add a process button for account admin to allow the user to force the
process in case the queued task has failed.

issue10215
review361451002
2021-03-28 16:22:01 +02:00
Cédric Krier 6d5d2470da Store directly sequence type to sequence
issue10122
review351381002
2021-03-11 23:00:09 +01:00
Cédric Krier 4d51d91d06 Pass period records to super call of close
issue10054
2021-02-27 18:38:55 +01:00
Cédric Krier e1f2871c3b Add method to post invoices by batch
issue10054
review333811002
2021-02-27 15:23:46 +01:00
Nicolas Évrard d1d1e2f4c5 Update status of invoices linked to delegated reconciliations on deletion
issue9947
review319031003
2021-01-05 12:16:02 +01:00
Cédric Krier 1062a7bebb Add default customer payment term configuration
issue9855
review318881002
2020-12-23 21:46:51 +01:00
Cédric Krier 4a128dab38 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
Sergi Almacellas Abellana a152144739 Update sequence name in renew fiscal year
issue7967
review269941002
2019-07-26 09:39:36 +02:00
Cédric Krier e95cf44c2c Add group lines wizard
issue8213
review275091002
2019-04-12 19:43:53 +02:00
Cédric Krier fbc8c9b5e5 Add origin on move line and product and category on analytic rule
issue8074
issue8075
review62421002
2019-03-03 23:06:25 +01:00
Cédric Krier 06bf2b6969 Manage renew of fiscalyear with invoice sequences
The invoice sequences must be copied with custom code because the constraint
on the period against the fiscalyear invalidate the copy.

issue7042
review51481002
2018-09-01 16:51:38 +02:00
Cédric Krier d9b40ac0d9 Add __table_handler__ to ModelSQL
issue7581
review48531002
2018-07-24 22:01:07 +02:00
Cédric Krier a43da122fb Remove support for Python 2.7
issue7497
review53261002
2018-06-26 19:11:42 +02:00
Cédric Krier 7b14095c22 Improve payment management
* Ensure payments on Invoice does not exceed invoice amount
* Add method to add payments on Invoice
* Update scenario to set period in context for Tax Code sum

issue7139
review44011002
2018-03-24 15:29:47 +01:00
Sergi Almacellas Abellana c011d46167 Manage create fiscalyear wizard
issue6283
review32101002
2017-09-28 11:27:19 +02:00
Sergi Almacellas Abellana 5bfb27a039 Add missing company field on period sequences migration
issue6526
review40391002
2017-05-26 13:43:25 +02:00
Cédric Krier c004908b16 Use real field for company on invoice sequence
There are too much constraint to get the function field always up to date with
the fiscalyear company. So it is safer to use a real field that is constrained
by a domain.

issue6462
review41311002
2017-04-29 10:37:30 +02:00
Sergi Almacellas Abellana 012d690795 Use Match pattern for invoice sequences
issue6212
review31991002
2017-03-30 09:45:15 +02:00
Shreedhar Manek 5a0588bfa7 Move tax_rounding from account_invoice module to account module
Remove redundant files and code from account_invoice module

issue5363
review20871002
2016-03-25 10:31:54 +01:00
Cédric Krier 25896a018f Add Python3 support
issue3211
2016-02-28 20:51:18 +01:00
Cédric Krier 5af5a4c834 Remove boolean expression in order
issue4852
review15541002
2015-07-13 23:57:43 +02:00
Cédric Krier a316785bd0 Fix most flake8 errors
review8771002
2014-12-02 12:54:39 +01:00
Robin Baumgartner f4825c3e0b Use Null constant from python-sql for comparisons
issue4143
review13701003
2014-11-24 13:59:09 +01:00
Cédric Krier 5c08098b24 Add default value for tax_rounding
Configuration is a singleton and if it is not created then it is its default
values that are used.
2014-09-21 00:58:08 +02:00
Nicolas Évrard 21255845fa Only process invoices related reconciliation lines account
issue4138
review11441002
2014-09-19 12:37:24 +02:00
Cédric Krier ffbc7a3432 Add Tax rounding configuration
issue4106
review11401002
2014-09-17 22:19:37 +02:00
Jordi Esteve 0b4f571e55 Fix typo for error message when 2 fiscal years have the same invoice sequence
issue3575
review2551002
2014-01-18 20:42:02 +01:00
Cédric Krier a5ae6d9e4a Fix typo in Period.write to check invoice sequence changes
It was introduced in changeset 90edc4984c69.
Patch from Jordi Esteve.

issue3567
review2461003
2014-01-04 19:49:47 +01:00
Cédric Krier 6bae222e70 Use a sequence of records, values in write
issue3499
review1641003
2013-12-19 14:44:39 +01:00
Cédric Krier 1750d9afcb Fix flake8 2013-10-05 12:16:31 +02:00
Albert Cervera i Areny 598767d6d1 Replace _constraints with validate in ModelStorage and improve user messages.
issue2616
review371002
2013-03-07 16:54:03 +01:00
Cédric Krier 6fadca7bdd Fix flake8 2013-02-16 22:06:26 +01:00
Albert Cervera i Areny cebcd7d58b Make period's invoice sequences optional
review605004
issue2916
2013-01-22 16:40:44 +01:00
Albert Cervera i Areny ca99d7a7d3 Use a list of dictionaries in create().
issue2358
review266002
2013-01-06 22:18:13 +01:00
Cédric Krier 5a3085ac78 Improve cancellation of invoice
- Cancel state delete or cancel existing move on Invoice
- Create draft move for Supplier Invoice when validated
- Rename Invoice Proforma state into Validated
- Rename Invoice Opened state into Posted

review583002
2012-12-23 22:28:41 +01:00
Cédric Krier face64191d Rationalize accounting moves and lines
issue2056
review503006
2012-09-29 15:34:34 +02:00
Cédric Krier 83d9c368f7 Active Record 2012-09-24 22:17:32 +02:00
Cédric Krier 2b3c0406b6 Replace wrong usage of False by None
issue2512
2012-03-27 10:43:07 +02:00
Cédric Krier ce26b749f2 Simplify workflow engine
review256001
2012-03-25 00:17:27 +01:00
Cédric Krier 101d005da2 Make PYSON more Pythonic 2011-08-21 11:20:30 +02:00
Cédric Krier 7d8ed09778 Add test for depends 2011-08-04 16:57:16 +02:00
Cédric Krier 494a91673a Change Pool into a Singleton 2011-07-03 13:18:43 +02:00
Cédric Krier 8f2821375a Update for new Transaction 2010-08-19 22:02:49 +02:00
Udo Spallek 7dd73e9a00 Write must evaluate the type of ids 2010-04-08 14:15:58 +02:00
Cédric Krier aaba43f53f Use PySON 2010-01-20 10:57:08 +01:00
Korbinian Preisler 873eb7e49e fix change of sequence on period for issue1170 2009-09-10 14:55:18 +02:00
Cédric Krier b4c0d4a418 Change string domain into list 2009-06-23 18:52:07 +02:00
Cédric Krier f55ccef4d8 Fix spell 2009-03-20 12:22:19 +01:00
Cédric Krier 26aac3b9cd Remove OSV and WizardOSV 2009-02-28 16:57:26 +01:00
Cédric Krier 959f7f9288 Fix guidelines 2009-01-02 17:54:34 +01:00