Skip to content

Commit

Permalink
[REF] l10n_br_pos_nfce: adapt to l10n_br_fiscal_edi
Browse files Browse the repository at this point in the history
  • Loading branch information
rvalyi committed Sep 1, 2024
1 parent d556bcc commit 6410f0e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions l10n_br_pos_nfce/tests/test_pos_order.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

import odoo

from odoo.addons.l10n_br_fiscal.models.document_workflow import DocumentWorkflow
from odoo.addons.l10n_br_fiscal.models.document import Document
from odoo.addons.l10n_br_nfe.models.document import NFe

from .common import TestNFCePosOrderCommon
Expand Down Expand Up @@ -53,7 +53,7 @@ def test_nfce_order_creation(self):

order_data["data"]["cnpj_cpf"] = "42820627030"

with mock.patch.object(DocumentWorkflow, "action_document_confirm"):
with mock.patch.object(Document, "action_document_confirm"):
# nothing will happen
res = self.env["pos.order"].create_from_ui([order_data])

Expand Down

0 comments on commit 6410f0e

Please sign in to comment.