Commit Graph
1374 Commits
Author SHA1 Message Date
Cédric Krier dd10ef8dca Simplify get company from user
The user can directly be fetch from Transaction and company read from User
instance.

issue4414
review11731002
2014-12-20 19:12:19 +01:00
Cédric Krier 671312b221 Add missing line_query clause in search_receivable_payable
As it is used in the getter, it should be also used in the searcher.

issue4415
review10761003
2014-12-20 18:56:21 +01:00
Nicolas Évrard 57d2105f18 Factorize tax computation
issue4115
review9561002
2014-12-19 19:42:37 +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 fe05f0f44e Use Move company field instead of fiscalyear
Move has a company field now, so it is better to use it in domain instead of
joining with fiscalyear.
2014-12-15 17:05:48 +01:00
Cédric Krier 7f15fcf732 Move party after account
Since changeset b122de923ef9, party visiblity depends on the account so it is
better to move the field after the account.

review5851002
2014-12-15 17:03:19 +01:00
Cédric Krier d3abea1dbb Remove useless context on Period.post_move_sequence
As changeset 42b9acc4c201 added a depends on company which is a Function field,
this useless context generates an infinite loop when reading post_move_sequence
because company was added as an eager loading field.
2014-12-08 16:18:41 +01:00
Cédric Krier 2105994ca4 Avoid naming collision between table variable in Journal migration from 1.0 2014-12-08 16:12:41 +01:00
Cédric Krier 36c1ff8e75 Add missing company domain/field
issue4311
review7691002
2014-12-03 16:13:08 +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 4599a5990f Allow to set a description to cancel move
issue4304
review6631002
2014-11-10 23:35:54 +01:00
Cédric Krier b1297ddaec Use dualmethod on ModelStorage.save
issue4197
review8671002
2014-11-01 11:53:42 +01:00
Cédric Krier 93d39c00eb Make party_required test works with None value
issue4297
review13681002
2014-10-31 10:52:52 +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
Cédric Krier c9d361d1e8 Add some test tools to ease scenario writing
review11331002
2014-10-24 10:44:04 +02:00
Cédric Krier 970ea5342a Missing opening quote in reconciliation_different_parties error message
issue4245
2014-10-23 20:25:03 +02: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
Cédric Krier 51193e52ba Increase version number 2014-10-20 14:34:24 +02:00
Cédric Krier 7aa1483c43 Added tag 3.4.0 for changeset 6792c5a65862 2014-10-20 14:34:03 +02:00
Cédric Krier c260712675 Prepare release 3.4.0 2014-10-20 14:34:02 +02:00
Cédric Krier e0a5fb6866 Clean translations 2014-10-19 13:55:17 +02:00
Jordi Esteve beca8791dc Update es_ES translation 2014-10-17 19:25:13 +02:00
Albert Cervera i Areny c48ecfe68a Update Catalan translation 2014-10-17 18:28:59 +02:00
Bruno M. Villasanti 924d0b24e4 Update translation for es_AR 2014-10-16 19:56:21 -03:00
Fabián Calle 021209267a Fix and update es_EC translation 2014-10-16 16:58:36 -05:00
Mathias Behrle 4588f1542d Update translation for de_DE 2014-10-16 22:55:57 +02:00
Oscar Alvarez f59352f6ab Update es_CO translation 2014-10-16 09:42:16 -05:00
Cédric Krier e8759531de Update fr_FR translation
review5691002
2014-10-16 15:51:43 +02:00
Venceslav Vezjak 3c0b810765 update sl_SI translation 2014-10-16 10:01:43 +02:00
Cédric Krier 34abc5aec3 Add missing changelog and doc for changeset b122de923ef9
issue3731
review7641003
2014-10-13 20:08:03 +02:00
Fabián Calle 1f4c2dc876 Fix some translations for es_EC 2014-10-03 17:36:20 -05:00
Fabián Calle 68f1bc1d1b Add es_EC translation 2014-10-02 16:46:38 -05:00
Sergi Almacellas Abellana 9c1cd5eec3 Add missing move keyword to out of period error message
review6551002
issue4214
2014-09-26 16:02:00 +02:00
Sergi Almacellas Abellana 7daa519226 Fix error message while closing a period with non posted moves
review8591002
issue4213
2014-09-26 16:00:28 +02:00
Cédric Krier 8780460795 Remove debugging information introduced in changeset 8550af7f7c64 2014-09-21 15:49:27 +02:00
Cédric Krier e8adeabed7 Re-enable Line._check_modify_exclude
_check_modify_exclude allow to reconcile posted lines.

issue3894
review11501002
2014-09-21 12:12:26 +02:00
Nicolas Évrard 245fe733dc Do not depend on the order of the lines in the reconciliation validation
issue4163
review8551002
2014-09-19 23:32:48 +02:00
Nicolas Évrard d29a781e1d Fix action reference forgotten in changeset 1c93e4d17f95 2014-09-19 23:29:26 +02:00
Nicolas Évrard dad8dd2cef Make party mandatory / invisible according to account configuration
issue3731
review14341002
2014-09-19 18:44:53 +02:00
Sergi Almacellas Abellana 81d6c170ed Merge party payable and receivable relates to on with tab domains
review11471002
issue4169
2014-09-19 18:29:24 +02:00
Nicolas Évrard 6a7e620dbe Better check for modification in case of reconciliation
issue3894
review14261002
2014-09-19 18:17:29 +02:00
Cédric Krier 078da3c99a Fix depends of ReconcileShow.lines 2014-09-19 18:04:30 +02:00
Cédric Krier f20f5cdfbb Add wizard to reconcile accounts
Currently, the "Open Reconcile Lines" can become very difficult to use when you
have a lot of different parties and/or a lot of account to reconcile.
Here is a new process which is based on a wizard that loops over all the couple
of account/party that potentially have lines to reconcile. It shows for each
couple a proposal of reconciliation that the user can accept or modify (with
write-off possibilities).
The proposal is found by testing all the combinations of lines up to 10 lines by
default (configurable). As such problem is NP-hard, I think we can afford to use
the brute force for small number and let the user solves higher number or
iterate on running the wizard. Any way, it is possible to implement other
strategy by module extention.

issue4185
review14511002
2014-09-19 16:24:48 +02:00
Nicolas Évrard 6018e82a36 Add rec_name to account.move.line
issue3862
review5251002
2014-09-19 14:24:46 +02:00
Nicolas Évrard 9e0f9816eb Group zero lines by party and account
issue4122
review14451002
2014-09-19 11:49:46 +02:00
Cédric Krier 483a2fc404 Use context to check model and field access
issue4081
review8481002
2014-09-17 21:44:51 +02:00
Cédric Krier f134196b4b Make get_move_field more flexible
It is better to guess the transformation depending on the value and field type.
This allow to reuse this method for other fields.

issue4170
review6511002
2014-09-13 15:26:13 +02:00
Cédric Krier e53e53965f Use new doctest setup/teardown
issue3627
review7401002
2014-09-04 08:44:32 +02:00