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
Cédric Krier
15f301030c
Add support for PyPy
...
issue4408
2015-03-15 15:59:15 +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
db83b9de77
Remove old TODO
2015-03-05 23:28:11 +01:00
Cédric Krier
391d51b71d
Move template must be registered after the Tax
2015-03-02 23:53:43 +01:00
Cédric Krier
c00f04c948
Add move template
...
issue4407
review14771002
2015-03-02 23:34:41 +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
Sergi Almacellas Abellana
668a671534
Move company should be readonly when move it's posted
...
issue4541
review6021002
2015-02-15 12:06:28 +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
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
3cdf03aa24
Use rec_name in list view of account type
...
It is easier to find the right type if the full path is shown
review8931002
2015-02-10 00:07:10 +01:00
Cédric Krier
8f0b56c788
Normalize the usage of amount second currency
...
issue3663
review3611002
2015-02-09 23:59:09 +01:00
Cédric Krier
f66c9bb3bc
Remove plural on credit/debit in deferral documentation
...
This leads to wrong interpretation as there is only one debit and one credit
per account.
review10141002
2015-02-05 12:56:44 +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
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
Sergi Almacellas Abellana
85817bcc55
Speedup fiscalyear closing process
...
issue4443
review14841002
2015-01-21 19:40:24 +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
aab9dcf687
Fix dependency_links
2015-01-19 16:47:30 +01:00
Cédric Krier
0ad32a6849
Add tox and drone
...
issue4431
review6771002
2015-01-19 16:37:50 +01:00
Cédric Krier
94b7a8676a
Add reverse_compute on Tax
...
issue4444
review6801002
2015-01-15 23:40:42 +01:00
Cédric Krier
d4165ad05a
Add fix_party script
...
issue4465
review6831002
2015-01-15 23:37:44 +01:00
Sergi Almacellas Abellana
a10c56e0b6
Clear move line party if account doesn't allow to have a party
...
issue4474
review10791002
2015-01-14 18:53:26 +01:00
Jordi Esteve
629bcbe163
Move company domain from credit_note_base_sign to credit_note_base_code
...
Introduced in changeset 42b9acc4c201
issue4470
review6841002
2015-01-10 13:13:35 +01:00
Cédric Krier
34e193a181
Don't store generator if not used sequentially
...
The access to the dictionary value will be random as moves is not sorted, so
the generator could be consumed before really used.
issue4461
review14871002
2015-01-09 18:48:43 +01:00
Nicolas Évrard
fe4ca39ce1
Add test for access rights of menu and actions
...
issue4295
review12661002
2015-01-02 16:07:51 +01:00
Sergi Almacellas Abellana
ff366400b2
Improve error message when deleting an account with related moves
...
issue4419
review14791002
2014-12-31 17:04:46 +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
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