Commit Graph
57 Commits
Author SHA1 Message Date
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
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
Nicolas Évrard 45ae43d237 Use relative imports 2011-12-14 17:04:04 +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