From 875237e58d9380874d5e20ad1483dd329447fed2 Mon Sep 17 00:00:00 2001 From: Juanjo Garcia Date: Thu, 15 Jun 2023 13:33:35 +0200 Subject: [PATCH] FIX typo. Pyflakes. Task #158407 --- invoice.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/invoice.py b/invoice.py index cdb4fb2..adf1dfb 100644 --- a/invoice.py +++ b/invoice.py @@ -214,7 +214,7 @@ class InvoiceLine(metaclass=PoolMeta): If(Bool(Eval('_parent_invoice')), If(Eval('_parent_invoice', {}).get('type') == 'out', ('type.expense', '=', True), - ('type.reveue', '=', True)), + ('type.revenue', '=', True)), If(Eval('invoice_type') == 'out', ('type.expense', '=', True), ('type.revenue', '=', True))) @@ -227,7 +227,7 @@ class InvoiceLine(metaclass=PoolMeta): Bool(Eval('_parent_invoice', {}).get('target_company')), Eval('intercompany_invoice', False)), }, - depends=['intercompany_invoice', 'invoice_type', 'invoice']) + depends=['invoice']) @classmethod def __setup__(cls):