Commit Graph
101 Commits
Author SHA1 Message Date
Cédric Krier 05681a635f Add generic test for check erase party
issue9895
review324571002
2020-12-05 11:53:48 +01:00
Cédric Krier 05c2fb9503 Add Account Tax Code Scenario
issue9743
review328531002
2020-10-28 23:54:20 +01:00
Cédric Krier 31f95f6956 Allow setting the tax date on taxable lines
We add a taxing date to the invoice line which allow overriding the value of
the invoice.
When crediting an invoice, the original tax date of each line is stored on the
credit line so the tax are computed the same way.

issue9520
review323791002
2020-09-05 23:37:58 +02:00
Cédric Krier 80fc35e01d Add General Ledger per account and party
We define an internal AccountParty model which defines an unique ID for the
couple account and party based on the first move line created.
Then we define a General Ledger model based on this model.

issue7438
review314091002
2020-09-05 22:21:38 +02:00
Cédric Krier 354d99bcb4 Add start/end date to tax rule line
issue9505
review317981002
2020-09-05 22:12:11 +02:00
Cédric Krier eb94e2b0a3 Add test for update chart with inactive account
issue9473
review307941002
2020-07-24 09:56:22 +02:00
David Harper a9752a8df7 Use Activate modules as test scenario section name
issue9395
review291901002
2020-07-09 10:21:05 +01:00
Sergi Almacellas Abellana 18708026fd Allow to create any chart on account test tools
issue9123
review285021002
2020-04-12 09:07:36 +02:00
Cédric Krier 6151377044 Add optional debit type on account
The balance of the account is added to the debit type instead of the regular
type if the debit is greater than the credit.

issue6601
review262771002
2020-03-28 14:17:49 +01:00
David Harper 96a6fb6bce Enable periods to end on any day of the month
issue8855
review252671002
2020-02-04 10:10:32 +01:00
Nicolas Évrard 62e3fb2013 Allow to cancel move used to group lines
issue8800
review260401002
2019-11-18 12:24:37 +01:00
Cédric Krier 493d32a84b Add test for tax rounding
issue8758
review286141002
2019-11-17 17:19:29 +01:00
Cédric Krier b35a5ea4a5 Increase unit price also with amount of children taxes
issue7862
review251911002
2019-08-07 19:27:06 +02:00
Sergi Almacellas Abellana ba1db163d1 Update sequence name in renew fiscal year
issue7967
review269941002
2019-07-26 09:39:29 +02:00
Cédric Krier aeabe70531 Add group lines wizard
issue8213
review275091002
2019-04-12 19:43:53 +02:00
Cédric Krier 0929d8d550 Merge account kind and account type
issue4990
review68401002
2019-03-24 18:00:01 +01:00
Cédric Krier b0f709d9b4 Add test update chart of account with override and active test
issue7938
review54551002
2019-03-08 18:49:09 +01:00
Cédric Krier 6ad7f204b7 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 4212c2d034 Add test for GL with empty period list
issue7993
review58481002
2019-01-30 09:43:12 +01:00
Sergi Almacellas Abellana da1d086437 Add test for General Ledger Account amounts
issue7838
review47721002
2018-12-03 11:38:03 +01:00
Sergi Almacellas Abellana 1db9ad8285 Add test for update chart from template
issue7801
review74391002
2018-11-27 12:51:38 +01:00
Cédric Krier d831666453 Base journal cash report on account kind receivable and payable
Since changeset d1d3a1c12158, journal has no more credit/debit accounts.
The journal cash report is based now on all moves between receivable/payable
and others.
We clean also unused Model and method from the removal of the credit/debit
accounts.

issue7808
review68331002
2018-11-07 19:01:14 +01:00
Cédric Krier b6fa9fb328 Update reconcile wizard to use write off method
issue7450
review60331002
2018-09-11 00:18:55 +02:00
Sergi Almacellas Abellana 344e7047e5 Remove default account from journal
Also add write off method

issue7450
review45551002
2018-09-01 11:20:13 +02:00
Cédric Krier 317858703d Add support for chart of account evolution
* Add replacement account
* Add period on account and tax code

issue7417
review45671002
2018-08-31 14:58:05 +02:00
Sergi Almacellas Abellana 413ab784f9 Add another party on move cancel scenario
issue7602
review45681002
2018-08-22 09:59:23 +02:00
Cédric Krier 9dda2b3560 Remove support for Python 2.7
issue7497
review53261002
2018-06-26 19:11:40 +02:00
Cédric Krier e2d8d0a808 Quantize to number of digits instead of rounding computed amount
Rounding may change the result if currency rounding is not unitary.

issue7284
review37251002
2018-04-18 10:18:37 +02:00
Cédric Krier 9f30868af2 Use tax code line for tax reporting
issue6013
review40171002
2018-03-25 23:33:46 +02:00
Cédric Krier 2157a31e9d Improve tax management
* Use custom clause for Tax Code sum
* Add check to modify Tax Lines

issue7139
review41081002
2018-03-24 15:27:50 +01:00
Cédric Krier 378ec6bfe0 Remove multiple spaces after ',' 2018-03-07 20:30:31 +01:00
Sergi Almacellas Abellana d4e3e34d44 Allow to keep original taxes when applying a tax rule
issue6721
review36551002
2017-10-02 10:36:42 +02:00
Sergi Almacellas Abellana c4dcad1a8e Cast number_next to int on renew fiscalyear scenario
number_next is stored as long on Postgresql so it must be casted to compare

issue6283
review37721002
2017-09-28 13:33:49 +02:00
Sergi Almacellas Abellana 8a2727d7d4 Add wizard to ease creation of fiscalyear
issue6283
review33891002
2017-09-28 11:37:00 +02:00
Sergi Almacellas Abellana aa71a1e6f5 Drop required on party receivable and payable accounts
Use the default account defined on configuration when the value is not set

issue6561
review40441002
2017-09-28 10:15:43 +02:00
Cédric Krier 1ee5057a23 Test in operator on search_receivable_payable
issue6712
review38641003
2017-09-15 19:41:32 +02:00
Nicolas Évrard 21260aefdb Use activate instead of install for module activation
issue1456
review28931002
2016-10-20 12:54:34 +02:00
Cédric Krier b6cf9348ae Enforce second currency and add amount for it on account
This makes the documentation of the second currency in concordance
with the code.

issue2766
review28841002
2016-10-15 20:47:10 +02:00
Cédric Krier c5bbf7c6ac Remove journal option for updating posted moves
This option is in general bad accounting practice
and often forbidden in many countries.

issue5825
review32481002
2016-09-10 10:12:18 +02:00
Cédric Krier 62594938fd Add test for search Party payable/receivable
issue5793
review30451002
2016-08-31 22:50:03 +02:00
Cédric Krier 123af65533 Use install_modules tools in scenario
issue5794
review25611002
2016-08-26 09:57:45 +02:00
Cédric Krier 1b9917bf12 Add test for Party payable/receivable with closed fiscalyear
issue5793
review30411003
2016-08-19 21:33:22 +02:00
Cédric Krier 0efe76bdbe Add test for canceling move with second currency
issue5732
review32371002
2016-08-04 23:51:40 +02:00
Cédric Krier 8643b44baf Fix sort taxes in Python3
In Python3, None is unorderable with integer so it must be replace in the
sorted key by the same value as for sql order.

issue5717
review25511002
2016-07-19 07:37:46 +07:00
Sergi Almacellas Abellana 4020a95197 Fix party_required computation for general ledger lines
issue5480
review22951002
2016-04-18 11:55:48 +02:00
Cédric Krier 48fb51567f Fill template2xxx only if record has a template
This was introduced by changeset 532fd5a46527

issue5453
review25001002
2016-04-02 16:00:05 +02:00
Cédric Krier b3cb087a84 Improve create/update chart of accounts
We create in one call all the records of the same tree level and we update all
the record in one call.
Side effect, as there is no more recursion, the depth of the chart can be
higher than the maximum depth of the Python interpreter stack.

issue5400
review23991002
2016-03-21 23:44:56 +01:00
Cédric Krier 2184790bdb New reports design
issue4996
review15891002
2016-03-15 18:56:51 +01:00
Cédric Krier db33c9a8a3 Add missing extra import in tests 2016-03-11 22:36:08 +01:00
Cédric Krier 8e5df8d1f4 Use converted tests converted by 2to3
distutils import tests module from the source code, so we must force it to use
the test suite from the absolute path because it will be the converted on in
case of 2to3 otherwise we fall-back to the relative module.

issue3211
2016-03-11 21:55:39 +01:00