Commit Graph
1823 Commits
Author SHA1 Message Date
Cédric Krier 70040b8de2 Manage local version in tox and do not set local_version when no CI
issue9928
2020-12-11 13:51:51 +01:00
Cédric Krier 960c6761c7 Add support for local_version on trydevpi.tryton.org
issue9928
2020-12-10 23:00:51 +01:00
Cédric Krier 05681a635f Add generic test for check erase party
issue9895
review324571002
2020-12-05 11:53:48 +01:00
Cédric Krier d993ecf012 Skip unrequested combination of account-party
When computing the debit/credit of account party, the query may return more
combinations of account-party than requested.
It is simpler to ignore them than construct a query that filter exactly on the
combination of each account and party requested.

issue9762
review308671002
2020-11-27 22:38:34 +01:00
Cédric Krier 0206012f03 Add more term units to aged balance
Using dateutil relativedelta, we can support weeks, months and years.
Also when changing the unit, we set "standard" term values to be more
user-friendly.

issue9318
review304581002
2020-11-12 22:08:06 +01:00
Cédric Krier 1ad04dc1ff Add company domain on write off of reconcile wizard
The user can only select a write off of the same company as the account.

issue9735
review310901002
2020-11-05 23:54:36 +01:00
Cédric Krier 2c0d10203f Increase version number 2020-11-02 15:41:42 +01:00
Cédric Krier 1089e8edb8 Add tag 5.8.0 [skip ci] 2020-11-02 15:41:28 +01:00
Cédric Krier d149492d35 Prepare release 5.8.0 [skip ci] 2020-11-02 15:41:27 +01:00
Cédric Krier d12960a2ab Update translations [skip ci] 2020-10-31 12:14:28 +01:00
Cédric Krier 05c2fb9503 Add Account Tax Code Scenario
issue9743
review328531002
2020-10-28 23:54:20 +01:00
Cédric Krier a1134f1e52 Reverse type of taxes from cancelled move
A tax line from a cancelled move must be reported with the same type as the
original move. For that we check of the debit or credit is negative to detect
it is a cancelled move.

issue9743
review328531002
2020-10-28 23:53:53 +01:00
Jared Esparza 6cb6bf29ae Set proper key name for error message
issue9766
review300751002
2020-10-28 23:44:17 +01:00
Cédric Krier 450ebfbf20 Use getattr instead of testing origin id
Since changeset b8d76b07910f, the reference value of a negative id is a string
so testing the id does not work. It is safer to call getattr with a default
empty string value.

issue9500
review304611002
2020-10-25 11:02:23 +01:00
Cédric Krier ce942fc067 Remove support for Python 3.5
issue9733
2020-10-24 13:45:09 +02:00
Cédric Krier 14a93fb91b Ignore flake8 E741 2020-10-16 19:19:56 +02:00
Cédric Krier a4ba0cc7a8 Remove currency property from TaxableMixin
This property prevents from adding the mixin to an existing Model which have
already a currency field (like web_shop_vue_storefront module does on
sale.line).
2020-10-12 22:54:02 +02:00
Sergi Almacellas Abellana ac2d7f99c2 Test account is set before reading it's company
account is empty on reconciliation without lines

issue9684
review322221002
2020-10-09 21:42:41 +02:00
Sergi Almacellas Abellana 603b8880e5 Restrict deleting accounts and tax rules linked to a party
issue9668
review306621002
2020-10-09 21:40:42 +02:00
Cédric Krier 1e2d535020 Add symbol widget
issue9059
review276871002
2020-10-09 19:09:05 +02:00
Alnus 9ff756d598 Add account name to open move line action name
issue9660
review314371002
2020-10-04 16:28:48 +02:00
David Harper cb60dc6b34 Get account from pool in UpdateChart default_start
issue9663
review329121002
2020-10-03 12:26:12 +01:00
David Harper b581907bac Get account from pool in CreateChart default_properties
issue9657
review306531002
2020-10-03 12:24:19 +01:00
Cédric Krier 5a93dfd421 Add language attribute to data tag
issue9559
review302061002
2020-09-18 00:06:31 +02: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
Sergi Almacellas Abellana 28175f11bf Set default accounts on create and update chart wizards
issue9382
review306261002
2020-08-25 18:04:50 +02:00
Sergi Almacellas Abellana cf489cbe14 Test for lines to reconcile before showing the next account
issue9458
review317841002
2020-07-27 16:13:56 +02:00
Cédric Krier eb94e2b0a3 Add test for update chart with inactive account
issue9473
review307941002
2020-07-24 09:56:22 +02:00
Cédric Krier bdcc82beea Re-browse account updated to get inactive context
issue9473
review307941002
2020-07-24 09:55:35 +02:00
Sergi Almacellas Abellana ad2d979cd2 Hide closed accounts from balance sheet detail
issue9409
review307811002
2020-07-20 16:53:44 +02:00
Cédric Krier 002edc557f Make group invisible on tax template with parent
This copies the behavior of tax.

issue9444
review325661002
2020-07-13 21:19:44 +02:00
David Harper a9752a8df7 Use Activate modules as test scenario section name
issue9395
review291901002
2020-07-09 10:21:05 +01:00
Cédric Krier a69551d296 Normalize wizard message views
We use the proper icon between info, question, warning and error.
We remove the exclamation mark in info messages.

issue9429
review301831002
2020-07-09 00:21:48 +02:00
Cédric Krier 54075ed98b Add model, record and records attribute on Wizard
issue9421
review309861012
2020-07-07 23:56:09 +02:00
Sergi Almacellas Abellana 6806c19f79 Add lines on Move's check_modify_exclude
issue8787
review286381004
2020-06-17 13:58:44 +02:00
David Harper 372f22a763 Add icon license file
issue9152
review317481002
2020-06-01 10:08:01 +01:00
Cédric Krier 3d9739011f Fall-back to move date on aged balance
Putting empty maturity date on the last term does not reflect properly the
history of the balance. As we consider such line to be paid or received today,
it is better to use the date at which the move was effective.

issue9294
review305481006
2020-05-19 18:59:55 +02:00
Cédric Krier 8e0db2e397 Increase version number 2020-05-04 12:05:50 +02:00
Cédric Krier 79edcbd30b Add tag 5.6.0 [skip ci] 2020-05-04 12:05:37 +02:00
Cédric Krier a5b837fa1e Prepare release 5.6.0 [skip ci] 2020-05-04 12:05:37 +02:00
Cédric Krier 1bc23c05d5 Update translations 2020-05-02 10:29:22 +02:00
Cédric Krier 371b35b9f5 Do not copy template of account type
issue9269
review307531002
2020-04-28 00:33:45 +02:00
Cédric Krier 6e8bbe234c Set non-durable setting for postgresql testing service
issue9100
review286831003
2020-04-25 23:53:49 +02:00
Albert Cunillera Benet 833248b6fb Prevent error on Grouping Moves when comparing empty dates
issue9166
review259051002
2020-04-20 18:20:55 +02:00
Sergi Almacellas Abellana a351e2a49c Skip manual flag for test tax result
issue9211
review289671002
2020-04-18 13:01:51 +02:00
Sergi Almacellas Abellana 18708026fd Allow to create any chart on account test tools
issue9123
review285021002
2020-04-12 09:07:36 +02:00
Sergi Almacellas Abellana b04944abdd Improve posted move help text
issue8670
review319121002
2020-04-12 09:01:29 +02:00
Sergi Almacellas Abellana 624a80692b Order account by its code and name
issue9180
review297361002
2020-04-06 12:56:19 +02:00