[Fix] product_marign: fix the problem of paid state
bzr revid: sbh@tinyerp.com-20100618124834-dqnn0vgufy9qlrvo
This commit is contained in:
parent
89eb07e8b4
commit
a3ed9b34d4
|
@ -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':
|
||||
|
|
Loading…
Reference in New Issue