fix typo for issue1276

(transplanted from 3ff625df7b535d5ce37ff3516077d1bec39146f9)
This commit is contained in:
Korbinian Preisler committed 2009-11-03 16:54:43 +01:00
1 parent 9a0c620e4c
commit d4c8520f0c
1 file changed
+1 -1
+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={