Remove blocked field on account.move.line for issue1099
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
* Remove blocked field on account.move.line
|
||||
* Fix digits of amount on tax and tax line
|
||||
|
||||
Version 1.2.0 - 2009-04-20
|
||||
|
||||
@@ -439,8 +439,6 @@ class Line(ModelSQL, ModelView):
|
||||
on_change=['move', 'party', 'account', 'debit', 'credit',
|
||||
'journal'], select=1, depends=['debit', 'credit', 'account',
|
||||
'journal'])
|
||||
blocked = fields.Boolean('Litigation',
|
||||
help='Mark the line as litigation with the party.')
|
||||
maturity_date = fields.Date('Maturity Date',
|
||||
help='This field is used for payable and receivable lines. \n' \
|
||||
'You can put the limit date for the payment.')
|
||||
@@ -525,9 +523,6 @@ class Line(ModelSQL, ModelView):
|
||||
def default_state(self, cursor, user, context=None):
|
||||
return 'draft'
|
||||
|
||||
def default_blocked(self, cursor, user, context=None):
|
||||
return False
|
||||
|
||||
def default_active(self, cursor, user, context=None):
|
||||
return True
|
||||
|
||||
|
||||
@@ -199,8 +199,6 @@ this repository contains the full copyright notices and license terms. -->
|
||||
<field name="maturity_date"/>
|
||||
<label name="create_date"/>
|
||||
<field name="create_date"/>
|
||||
<label name="blocked"/>
|
||||
<field name="blocked"/>
|
||||
<label name="state"/>
|
||||
<field name="state"/>
|
||||
</page>
|
||||
|
||||
Reference in New Issue
Block a user