From 0e4ff6ea4076b958a9ecee57bded9a18aa26e608 Mon Sep 17 00:00:00 2001 From: Felipe Paloschi Date: Mon, 21 Dec 2020 18:04:07 -0300 Subject: [PATCH] Fix error pos.order has no attribute 'numero' --- l10n_br_point_of_sale/models/pos_order.py | 1 + 1 file changed, 1 insertion(+) diff --git a/l10n_br_point_of_sale/models/pos_order.py b/l10n_br_point_of_sale/models/pos_order.py index 8c47c700f..0ce94a513 100644 --- a/l10n_br_point_of_sale/models/pos_order.py +++ b/l10n_br_point_of_sale/models/pos_order.py @@ -46,6 +46,7 @@ def _compute_nfe_number(self): nfe_exception_number = fields.Integer( string=u"NĂºmero NFe", compute="_compute_nfe_number" ) + numero = fields.Integer() numero_controle = fields.Integer() customer_cpf = fields.Char(string="CPF cliente")