Skip to content

Commit 0efece2

Browse files
committed
Refactor l10n_do_accounting: update fiscal number assignment and remove l10n_do_ecf_invoicing module
- Changed the assignment of l10n_do_fiscal_number in account_invoice to use reference instead of dgii_document_number. - Deleted the l10n_do_ecf_invoicing module, including its models and manifest, as it is no longer needed.
1 parent e607e06 commit 0efece2

5 files changed

Lines changed: 1 addition & 73 deletions

File tree

l10n_do_accounting/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
def post_init_hook(cr, registry):
99
cr.execute(
10-
"UPDATE account_invoice SET l10n_do_fiscal_number = dgii_document_number;"
10+
"UPDATE account_invoice SET l10n_do_fiscal_number = reference;"
1111
)
1212
cr.execute(
1313
"UPDATE account_journal SET l10n_latam_use_documents = use_documents;"

l10n_do_ecf_invoicing/__init__.py

Lines changed: 0 additions & 39 deletions
This file was deleted.

l10n_do_ecf_invoicing/__manifest__.py

Lines changed: 0 additions & 12 deletions
This file was deleted.

l10n_do_ecf_invoicing/models/__init__.py

Lines changed: 0 additions & 1 deletion
This file was deleted.

l10n_do_ecf_invoicing/models/account_invoice.py

Lines changed: 0 additions & 20 deletions
This file was deleted.

0 commit comments

Comments
 (0)