Commit Graph
254 Commits
Author SHA1 Message Date
Cédric Krier 65490e7aea Add comparison amount on Balance Sheet and Income Statement
issue5426
review24051002
2016-05-25 11:26:24 +02: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 301373e01b Manage start/end period context in Type.get_amount
And fix selection of periods with start date equals end date.

issue5466
issue5267
review20141002
2016-04-08 22:55:36 +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 18fb4ef92b Fix copy methods to not copy template 2016-04-02 15:59:02 +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 a11d1c7fba Fix unorderable types int and None in AgedBalance 2016-03-15 21:47:13 +01:00
Cédric Krier 2184790bdb New reports design
issue4996
review15891002
2016-03-15 18:56:51 +01:00
Nicolas Évrard a829d4308a Follow PEP-0249 for Transaction and backends
issue4949
review19781002
2016-03-03 21:53:17 +01:00
Cédric Krier 006e46a0aa Merge Third Party Balance into Aged Balance
Also add date to Aged Balance and add lines without maturity in last term.
But also add a date on Reconciliation as the highest date of the reconciled
lines.

issue5270
review20681002
2016-02-03 21:23:34 +01:00
Cédric Krier 86bf383dea Wrong view id for Third Party Balance wizard
issue5136
review23661002
2015-11-17 14:05:22 -03:00
Cédric Krier b020c16148 Remove unnecessary reset of left/right in copy
issue5049
review15761002
2015-10-18 16:51:22 +02:00
Sergi Almacellas Abellana 71054551b9 Make chart of accounts not translatable
issue3432
review21431002
2015-10-05 17:09:36 +02:00
Cédric Krier 5dc260c1ba Use StateReport
issue4896
review22351002
2015-08-14 18:04:59 +02:00
Cédric Krier 48cd9b0454 Remove boolean expression in order
issue4852
review15541002
2015-07-13 23:57:30 +02:00
Cédric Krier d8b28a75d4 Use Constraint instance in ModelSQL._sql_constraints
issue4814
review15491002
2015-06-22 16:58:24 +02:00
Cédric Krier 8c16c880f2 Use explicit comparison to Boolean in SQL queries
issue4810
review22261002
2015-06-22 16:24:08 +02:00
Cédric Krier 95b001ba72 Fix Third Party Balance from changeset db33b1a23a4e
With the new report API, the records must be set explicitly to the context to
override the standard list.

issue4721
review15361003
2015-05-19 09:47:17 +02:00
Cédric Krier edab5adf54 Fix search_rec_name for negative operator
In case of negative operator, each subclause must be composed with 'AND'.

issue4559
review13111003
2015-04-05 23:39:57 +02:00
Cédric Krier 04f8e49541 Ensure non-empty start period for General Legder
Zero must be kept in the start period ids to ensure the list will not be empty
otherwise the result will be for the all fiscal year.

issue4634
review7061002
2015-03-31 10:00:30 +02:00
David Harper 4d0cf5b01a change Ok to OK
issue4290
review7021002
2015-03-10 18:27:06 +01:00
Sergi Almacellas Abellana d9842da998 Search for inactive accounts when updating chart of accounts
issue4491
review7961002
2015-02-24 18:21:10 +01:00
Nicolas Évrard 94581234e9 Use dotted notation in order for General Ledger move lines query
issue 4447
review10771002
2015-02-11 00:18:13 +01:00
Nicolas Évrard 1009c61a6f Report API refactorization
review8831002
2015-01-20 18:49:53 +01:00
Nicolas Évrard 8915249817 Allow to display only the balance of some accounts in the general ledger
issue4357
review13711002
2014-12-30 12:17:38 +01:00
Nicolas Évrard 578099c5f4 Use period data entered by the user in the general ledger
issue4392
review5831002
2014-12-18 11:00:51 +01:00
Cédric Krier 492ffa9f5a Fix most flake8 errors
review8771002
2014-12-02 12:54:29 +01:00
Robin Baumgartner 63bd7b99f3 Use Null constant from python-sql for comparisons
issue4143
review13701003
2014-11-24 13:58:35 +01:00
Cédric Krier 46e8b22da8 New API for on_change
issue4203
review8581002
2014-10-29 20:39:03 +01:00
Cédric Krier 8d7292644c Add missing default value for party_required
issue4292
review8691002
2014-10-29 00:00:02 +01:00
Sergi Almacellas Abellana 33a4ba83ee Fix comparision of account type on updating chart of accounts
issue4272
review8661002
2014-10-23 11:45:30 +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 483a2fc404 Use context to check model and field access
issue4081
review8481002
2014-09-17 21:44:51 +02:00
Sergi Almacellas Abellana 013b43328a Use grouped_slice helper.
issue3516
review10301002
2014-07-17 18:56:39 +02:00
Cédric Krier 1eaf462784 Fix sorting by account in GeneralLegder
For now, sorting on account will sort on the name of the account
and not the id.

issue3851
review5151002
2014-04-18 19:36:05 +02:00
Korbinian Preisler bd053297cc Use list of ids to add taxes on account
issue3852
review5141002
2014-04-16 10:12:37 +00:00
Sergi Almacellas Abellana d16b433aca Don't copy template relation when copying an account
issue3751
review4271002
2014-03-12 09:29:44 +01:00
Jordi Esteve e6be1ca3f6 Use OR clause in all search_rec_name
issue3613
review2901003
2014-01-31 14:06:56 +01:00
Cédric Krier 8959193ca6 Drop support of Python 2.6
review2691002
2014-01-31 00:02:55 +01:00
Cédric Krier efb664dc85 Improve Trial Balance by using set instead of list
review3001002
2014-01-26 22:16:07 +01:00
Cédric Krier a73abc860f Use fields.depends decorator
issue3487
review2301002
2014-01-26 14:28:46 +01:00
Oscar Alvarez 620008059f Improvement of perfomance of General Ledger
Filter account instead of removing it.
Instanciate a new list of record to improve cache.

issue3599
review2771003
2014-01-20 12:27:15 -05:00
Cédric Krier 6ab85804bb Add ending form to config wizard
This ending form will prevent the client to reload the context and the menu
before the end of the last item.

issue3569
review2481002
2014-01-04 19:33:21 +01:00
Cédric Krier e42c7d5508 Use a sequence of records, values in write
issue3499
review1641003
2013-12-19 14:44:33 +01:00
Cédric Krier 3f965b8f7b Improve general ledger
- Use sort from database
- Use groupby instead of dict

issue1399
issue1085
review987003
2013-09-17 10:49:25 +02:00
Cédric Krier 2d4b9bf723 Use debit/credit for amount of Account Type
Using balance could generate wrong result if a parent account is also linked to
the same type.

review1059002
2013-09-12 18:57:18 +02:00
Cédric Krier 51bd459220 Migration to python-sql
review1001002
2013-09-06 22:33:47 +02:00
Cédric Krier f1efe3afc9 Allow to create chart only for children companies
issue3274
review1025002
2013-08-21 18:36:12 +02:00
Cédric Krier 38c40e7996 Fix domain concatenation between list and tuple 2013-08-08 02:34:15 +02:00
Cédric Krier 318ba3590c Improve get_balance and get_credit_debit by enforcing same company per chart
issue2277
review956002
2013-08-01 16:14:00 +02:00