Set states attribute instead of state to commission page

issue4944
review18541002
This commit is contained in:
Cédric Krier
2015-09-04 12:02:19 +02:00
parent 94502eaae0
commit 86fa0cd1b9
+1 -1
View File
@@ -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',
})]