Commit Graph
71 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 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
Cédric Krier 492ffa9f5a Fix most flake8 errors
review8771002
2014-12-02 12:54:29 +01:00
Cédric Krier 4599a5990f Allow to set a description to cancel move
issue4304
review6631002
2014-11-10 23:35:54 +01:00
Cédric Krier c9d361d1e8 Add some test tools to ease scenario writing
review11331002
2014-10-24 10:44:04 +02: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 8959193ca6 Drop support of Python 2.6
review2691002
2014-01-31 00:02:55 +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 0cbe20050c Fix scenario for new write-off behavior 2013-12-22 00:27:56 +01:00
Cédric Krier ab14b2ad77 Use common doctest_dropdb
review2151002
2013-12-18 18:28:11 +01:00
Cédric Krier c0a859ab2e Fix flake8 2013-10-05 12:16:23 +02:00
Cédric Krier 7d2e9e3e02 Add balance non-deferral wizard
review627002
2013-09-16 11:33:24 +02:00
Cédric Krier 51bd459220 Migration to python-sql
review1001002
2013-09-06 22:33:47 +02:00
Cédric Krier fd72f7a822 Change tax percentage into rate
review824002
2013-06-26 22:59:55 +02:00