Commit Graph
87 Commits
Author SHA1 Message Date
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
Cédric Krier a86cfb55d0 Add doctest checker for Python 2-3
issue3211
2016-02-25 00:06:33 +01:00
Cédric Krier 4266919f16 Make TestCase create and drop its database
and use with_transaction decorator.

issue5263
review20711002
2016-02-06 19:11:42 +01:00
Cédric Krier 7963ff7fa4 Remove Third Party Balance report from test scenario
Changeset d002a28e5ffc forgot to remove this test as the report was merged in
Aged Balance
2016-02-03 22:20:38 +01:00
Nicolas Évrard 2ca3771d07 Fix use of format_date in general_journal.odt
issue5115
review19601002
2015-11-15 11:20:54 -03:00
Sergi Almacellas Abellana 71054551b9 Make chart of accounts not translatable
issue3432
review21431002
2015-10-05 17:09:36 +02:00
Cédric Krier 47100d6ff3 Rename ir.module.module* into ir.module*
issue4764
review7171002
2015-05-28 21:02:51 +02:00
Cédric Krier c00f04c948 Add move template
issue4407
review14771002
2015-03-02 23:34:41 +01:00
Cédric Krier 9d75e2b565 Add check for default model access
When group access exists, a default model access should be defined otherwise
all access are given to non group users.

issue4485
review5941002
2015-01-27 18:12:46 +01:00
Nicolas Évrard 24bb0b1d08 Add unit_price modifying taxes
issue4115
review12451002
2015-01-23 10:41:05 +01:00
Sergi Almacellas Abellana a768d62f7d Improve get_receivable_payable for large ids list
issue2275
review7431004
2015-01-21 19:47:37 +01:00
Nicolas Évrard 1009c61a6f Report API refactorization
review8831002
2015-01-20 18:49:53 +01:00
Nicolas Évrard de8660290d Fix reverse_compute in case there is multiple percentage taxes
issue4499
review5951002
2015-01-20 09:51:04 +01:00
Cédric Krier 94b7a8676a Add reverse_compute on Tax
issue4444
review6801002
2015-01-15 23:40:42 +01:00
Nicolas Évrard fe4ca39ce1 Add test for access rights of menu and actions
issue4295
review12661002
2015-01-02 16:07:51 +01:00