Set states attribute instead of state to commission page
issue4944 review18541002
This commit is contained in:
+1
-1
@@ -192,7 +192,7 @@ class InvoiceLine:
|
||||
@classmethod
|
||||
def view_attributes(cls):
|
||||
return super(InvoiceLine, cls).view_attributes() + [
|
||||
('//page[@id="commissions"]', 'state', {
|
||||
('//page[@id="commissions"]', 'states', {
|
||||
'invisible': Eval('type') != 'line',
|
||||
})]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user