mirror of
https://github.com/NaN-tic/trytond-patches.git
synced 2023-12-14 06:03:03 +01:00
21 lines
975 B
Diff
21 lines
975 B
Diff
diff -r 0447f28ab266 trytond/trytond/modules/account/move.py
|
|
--- a/trytond/trytond/modules/account/move.py Wed Sep 12 15:56:58 2018 +0200
|
|
+++ b/trytond/trytond/modules/account/move.py Wed Sep 12 16:09:55 2018 +0200
|
|
@@ -635,7 +635,6 @@
|
|
party_required = fields.Function(fields.Boolean('Party Required'),
|
|
'on_change_with_party_required')
|
|
maturity_date = fields.Date('Maturity Date',
|
|
- states=_states, depends=_depends,
|
|
help='This field is used for payable and receivable lines. \n'
|
|
'You can put the limit date for the payment.')
|
|
state = fields.Selection([
|
|
@@ -668,7 +667,8 @@
|
|
@classmethod
|
|
def __setup__(cls):
|
|
super(Line, cls).__setup__()
|
|
- cls._check_modify_exclude = {'reconciliation'}
|
|
+ cls._check_modify_exclude = {
|
|
+ 'maturity_date', 'reconciliation', 'tax_lines'}
|
|
cls._reconciliation_modify_disallow = {
|
|
'account', 'debit', 'credit', 'party',
|
|
}
|