From ece4e263ddf955eded6f71435f356af41b671260 Mon Sep 17 00:00:00 2001 From: Korbinian Preisler Date: Tue, 3 Nov 2009 16:54:43 +0100 Subject: [PATCH] fix typo for issue1276 --- invoice.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/invoice.py b/invoice.py index 4e0b045a56..08f8fdb6bc 100644 --- a/invoice.py +++ b/invoice.py @@ -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={