Commit Graph
292 Commits
Author SHA1 Message Date
Cédric Krier 6b1b9caba5 Allow to reconcile many group of lines with Line.reconcile
issue7132
review41051002
2018-03-07 00:10:07 +01:00
Cédric Krier eb4e7230ac Check if move can be modified on line creation
issue7142
review41851003
2018-03-04 14:48:40 +01:00
Sergi Almacellas Abellana ca31845e54 Add depends on Button
issue6919
review40811002
2018-02-19 11:36:13 +01:00
Cédric Krier 87a86a3715 Allow to run reconcile wizard over a list of lines
issue6917
review41661003
2017-12-26 17:40:27 +01:00
Cédric Krier e30dfb4f8d Show in reconciliation receivable/payable with negative/positive balance
issue6915
review43731002
2017-12-20 19:19:29 +01:00
Cédric Krier 8fa861103d Simplify language formatting
issue6858
review37761002
2017-11-15 00:16:39 +01:00
Nicolas Évrard 4130d6d7c9 Add missing parenthesis in amount computation
issue6780
review40681002
2017-10-02 11:52:16 +02:00
Cédric Krier ee6994adaa Fix searcher methods for dot notation
issue6757
review40651002
2017-09-27 18:37:24 +02:00
Cédric Krier d2eeaaa723 Add from_date and to_date in Move.query_get
Add those fields to the context of GeneralLegder and IncomeStatement.

issue6692
review43361002
2017-09-07 18:40:32 +02:00
Cédric Krier 1e677844dc Simplify default values for move line
issue6613
review42491002
2017-07-27 00:03:37 +02:00
Cédric Krier 19c7ecc125 Add space after comma 2017-07-17 09:59:50 +02:00
Cédric Krier 40de2d11fc Use getattr to retrieve the tax_sign from the tax instance 2017-06-29 19:55:27 +02:00
Cédric Krier d56ac1daab Remove trailing comma from tax line amount
This put a tuple as amount value instead of the Decimal
2017-06-29 19:54:53 +02:00
Cédric Krier 0251cbbe7b Move second currency sign error message in _sql_constraint
issue5071
review35381002
2017-04-14 11:41:15 +02:00
Nicolas Évrard 4b71c0049d Remove unused RPC definition of get_origin
issue4044
review26021002
2017-02-02 00:31:53 +01:00
Cédric Krier 85a9e332b5 Remove special registration order of ModelSQL
issue5682
review29051002
2016-12-17 00:39:04 +01:00
Cédric Krier 133667f6f7 Manage None as value of field in on_change method
issue6069
review27851002
2016-11-27 22:13:22 +01:00
Cédric Krier 760f71d95d Remove journal view
The feature can be emulated by contextual view inheritance.

issue6002
review31681002
2016-10-31 17:25:11 +01:00
Nicolas Évrard aef94a9289 Add missing cast to Decimal when using SQLite
issue5979
review33521002
2016-10-25 12:30:23 +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 ae9bfd5b2e Rename language codes
issue5443
2016-09-10 23:26:07 +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 c8f3b886c7 Fix sign of amount second currency when canceling move
issue5732
review32371002
2016-08-04 23:51:08 +02:00
Xavier Codinas 3438eb29d9 Add rec_name instead of journal and period names.
issue2371
review29321002
2016-07-07 10:36:37 +02:00
Sergi Almacellas Abellana 9cf94c8e69 Remove usage of header_view_get and string attribute from views
issue2350
review25191002
2016-07-05 12:46:04 +02:00
Cédric Krier a2d5dbbc61 Manage readonly state on Move Line
issue5628
review27341002
2016-06-30 18:50:40 +02:00
Sergi Almacellas Abellana 7185eb72fc Fix antipatern of create/write in loop
issue3516
review14941002
2016-06-17 13:40:45 +02:00
Sergi Almacellas Abellana 28eb5f3f16 Take in account access rule on reconcile wizard
issue5512
review18061002
2016-04-25 21:05:58 +02:00
Cédric Krier 9d86d57462 Add CASCADE deleting on move of move line
issue5344
review17071002
2016-03-04 00:28: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 a86cfb55d0 Add doctest checker for Python 2-3
issue3211
2016-02-25 00:06:33 +01:00
Cédric Krier 87d866836b Fix migration of new date field on Reconciliation
The migration should happen only if the account.move.line table exists
otherwise it is a fresh new installation which doesn't require migration.
2016-02-03 22:02:19 +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 7054512e99 Show only valid line from Open Account wizard
issue5265
review17771002
2016-01-22 18:26:15 +01:00
Cédric Krier e42cfe7892 Remove colors attribute on tree view
issue4861
review16551003
2015-08-22 09:01:04 +02:00
Cédric Krier 5dc260c1ba Use StateReport
issue4896
review22351002
2015-08-14 18:04:59 +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 b6ca48f449 Typo in messages: it's -> its
issue4691
review16271002
2015-05-12 09:58:03 +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 aef1a2bac9 Use explicit default keyword for config
issue4662
review8041002
2015-03-22 03:19:42 +01:00
Nicolas Évrard 812f122b7e Use M2M instead of O2M to store accounts / parties session data
Since the new on_change API the _default_values method invoked by the session
_save method of the wizard behaves differently for O2M and M2M. In order to
keep the old behaviour those fields needs to become M2M.

issue4526
review6881002
2015-03-16 17:51:43 +01:00
David Harper 4d0cf5b01a change Ok to OK
issue4290
review7021002
2015-03-10 18:27:06 +01:00
Cédric Krier 631215807f Remove safe_eval
We convert all the fields that were storing python code into PYSON.
We add a pyson attribute on field tag to store PYSON value.

issue4416
review6971002
2015-03-09 19:41:01 +01:00
Cédric Krier 21c2f76bcb Ensure lines in Line.reconcile is a list
Line.reconcile can append lines to the parameter lines that's why it is
duplicate but it must also ensure it is a list.

issue4623
review9071002
2015-03-09 19:27:31 +01:00
Cédric Krier c00f04c948 Add move template
issue4407
review14771002
2015-03-02 23:34:41 +01:00
Sergi Almacellas Abellana 668a671534 Move company should be readonly when move it's posted
issue4541
review6021002
2015-02-15 12:06:28 +01:00
Cédric Krier d6c1417536 Improve payable/receivable lines
- use a simplified view
- add amount function field
- use search_value for reconciliation filtering

issue4515
review10101003
2015-02-10 00:13:10 +01:00
Cédric Krier 8f0b56c788 Normalize the usage of amount second currency
issue3663
review3611002
2015-02-09 23:59:09 +01:00
Raphaël Hertzog a13c9af489 Preserve the user-supplied date on account moves when it's valid
If the user-supplied date is within the current period, then it needs
to be preserved. Otherwise we keep the current logic of using the last
line of the journal, or, failing that, the start period.

issue4475
review10851002
2015-02-02 18:44:16 +01:00
Nicolas Évrard 1009c61a6f Report API refactorization
review8831002
2015-01-20 18:49:53 +01:00