merge...
This commit is contained in:
parent
08b8768dd4
commit
85e412564c
1 changed files with 1 additions and 3 deletions
|
@ -17,9 +17,7 @@ class InvoiceLine(metaclass=PoolMeta):
|
||||||
cls.unit.states['required'],
|
cls.unit.states['required'],
|
||||||
And(
|
And(
|
||||||
Eval('type') == 'line',
|
Eval('type') == 'line',
|
||||||
Eval('quantity', None) != None,
|
Bool(Eval('quantity', None))))
|
||||||
),
|
|
||||||
)
|
|
||||||
cls.unit.depends.extend(['type', 'quantity'])
|
cls.unit.depends.extend(['type', 'quantity'])
|
||||||
|
|
||||||
# end Invoice
|
# end Invoice
|
||||||
|
|
Loading…
Reference in a new issue