Commit Graph
53 Commits
Author SHA1 Message Date
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 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
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 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
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 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
Sergi Almacellas Abellana 71054551b9 Make chart of accounts not translatable
issue3432
review21431002
2015-10-05 17:09:36 +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
Cédric Krier 492ffa9f5a Fix most flake8 errors
review8771002
2014-12-02 12:54:29 +01:00
Nicolas Évrard dad8dd2cef Make party mandatory / invisible according to account configuration
issue3731
review14341002
2014-09-19 18:44:53 +02:00
Cédric Krier e53e53965f Use new doctest setup/teardown
issue3627
review7401002
2014-09-04 08:44:32 +02:00
Cédric Krier 0ef36b0ec8 Add cancel to Account Move
issue3875
review10261002
2014-05-09 23:32:17 +02:00
Cédric Krier cedde4101f Add start/end date to tax
issue3600
review2771002
2014-01-31 22:30:34 +01:00
Cédric Krier c31ed993b7 Anonymise tests
review2681002
2014-01-16 22:09:59 +01:00
Cédric Krier 6bc1035349 Cleanup tests
review2491002
2014-01-12 19:59:16 +01:00
Cédric Krier ab14b2ad77 Use common doctest_dropdb
review2151002
2013-12-18 18:28:11 +01:00
Cédric Krier 7d2e9e3e02 Add balance non-deferral wizard
review627002
2013-09-16 11:33:24 +02:00
Cédric Krier fd72f7a822 Change tax percentage into rate
review824002
2013-06-26 22:59:55 +02:00
Cédric Krier 41172e0efb Remove _inherits
review670002
2013-03-20 22:50:18 +01:00
Albert Cervera i Areny 27fc93c12f Fix validate error and add test.
review711002
2013-03-10 19:01:35 +01:00
Cédric Krier c2c0309a98 Add reconciliation test scenario
review649002
2013-01-26 15:12:02 +01:00
Albert Cervera i Areny 87222daf32 Use a list of dictionaries in create().
issue2358
review266002
2013-01-06 22:18:13 +01:00
Cédric Krier 5a7db4f319 Rationalize accounting moves and lines
* Rename:
    - Move.name into number
    - Move.reference into post_number
    - MoveLine.reference into description
* Remove name and active on move line
* Add origin field on Move

issue2056
review503006
2012-09-29 15:33:21 +02:00
Cédric Krier 21c76b21ca Add cumulate option for Debit/Credit on Account
issue1893
review455001
2012-09-26 19:43:02 +02:00
Cédric Krier 0f919d5f3a Active Record 2012-09-24 22:17:29 +02:00
Cédric Krier ff9f887f17 Fix pep8 and pyflakes 2012-04-03 20:06:15 +02:00
Cédric Krier 7df64ddc43 New wizard design 2012-01-02 17:54:33 +01:00
Cédric Krier 078e668562 Add test for fiscalyear
review190001
2011-11-29 11:45:03 +01:00
Cédric Krier 008d9aaa8d Fix Transaction.start to use keyword argument for context 2011-11-28 14:44:54 +01:00
Cédric Krier c5f6bbed3c Add test creation of minimal chart of accounts
review80004
2011-08-21 11:02:10 +02:00
Cédric Krier 9a132acef1 Add test for depends 2011-08-04 16:57:14 +02:00
Cédric Krier 1c1e17d99d Fix test_view for issue1651 2010-08-27 12:17:53 +02:00
Cédric Krier 7427a5a3ee Add test_suite in setup.py 2010-03-12 17:49:30 +01:00
Cédric Krier 3f0993e793 New unittest design 2010-03-04 14:03:54 +01:00