Add issue7276.diff [account] Allow to edit maturity date and tax lines

This commit is contained in:
Raimon Esteve 2018-09-12 16:12:02 +02:00
parent 432ad37883
commit a2e0ecd172
2 changed files with 23 additions and 1 deletions

21
issue7276.diff Normal file
View File

@ -0,0 +1,21 @@
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',
}

3
series
View File

@ -3,6 +3,7 @@ logging_jsonrpc_exeption.diff # [trytond] logging JSONRPC Exception
domain_validation_warning.diff # [trytond] Increase the verbosity of domain_validation_error message
issue3932.diff # [account] rule account move and account move line by company
issue7276.diff # [account] Allow to edit maturity date and tax lines
issue6253.diff # [account_invoice] add invoice type criteria
issue4506.diff # [account_invoice] Add credit invoices keyword from account.invoice
@ -15,5 +16,5 @@ search_warehouse.diff #[stock] search function for warehouse.
issue240_631.diff # [stock_lot] stock_by_locations get all locations with that lot.
issue10467.diff # stock_lot: add lot to grouping if lot it's required on product
purchase_request.diff # purchase_request: as shippment_date it's not required we need to ensure operation could be done
improve_performance_on_try_assign.diff # [stock] change browse of product to get default_uom to pysql
improve_performance_on_try_assign.diff # [stock] change browse of product to get default_uom to pysql
commission.diff # [commission] I can't override property