[Fix] product_marign: fix the problem of paid state

bzr revid: sbh@tinyerp.com-20100618124834-dqnn0vgufy9qlrvo
This commit is contained in:
sbh (Open ERP) 2010-06-18 18:18:34 +05:30
parent 89eb07e8b4
commit a3ed9b34d4
1 changed files with 1 additions and 1 deletions

View File

@ -42,7 +42,7 @@ class product_product(osv.osv):
invoice_types=()
states=()
if invoice_state=='paid':
states=('paid')
states=('paid',)
elif invoice_state=='open_paid':
states=('open','paid')
elif invoice_state=='draft_open_paid':