fix typo for issue1276

This commit is contained in:
Korbinian Preisler
2009-11-03 16:54:43 +01:00
parent 0ffc5e1c6f
commit ece4e263dd
+1 -1
View File
@@ -1290,7 +1290,7 @@ class InvoiceLine(ModelSQL, ModelView):
string='Currency Digits', on_change_with=['currency'])
company = fields.Many2One('company.company', 'Company', states={
'required': "not bool(invoice)",
}, domain=["('id', 'compamy' in context and '=' or '!=', " \
}, domain=["('id', 'company' in context and '=' or '!=', " \
"context.get('company', 0))"])
sequence = fields.Integer('Sequence', states={