Remove blocked field on account.move.line for issue1099

This commit is contained in:
Cédric Krier
2009-08-03 16:44:03 +02:00
parent d6ddf05084
commit cda03d8bb3
3 changed files with 1 additions and 7 deletions
+1
View File
@@ -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
-5
View File
@@ -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
-2
View File
@@ -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>