Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
stananatanaela committed Oct 1, 2024
1 parent dd9158a commit d293a92
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions l10n_ro_account_edi_ubl/models/account_edi_xml_cius_ro.py
Original file line number Diff line number Diff line change
Expand Up @@ -165,14 +165,6 @@ def _export_invoice_vals(self, invoice):
index = 1
vals_list["main_template"] = "account_edi_ubl_cii.ubl_20_Invoice"
vals_list["vals"]["invoice_type_code"] = 380
if (
invoice.move_type in ("in_invoice", "in_refund")
and invoice.journal_id.l10n_ro_sequence_type == "autoinv2"
) or (
invoice.journal_id.type == "sale"
and invoice.journal_id.l10n_ro_sequence_type == "autoinv1"
):
vals_list["vals"]["invoice_type_code"] = 389
point_of_sale = (
self.env["ir.module.module"]
.sudo()
Expand Down

0 comments on commit d293a92

Please sign in to comment.