Skip to content

Commit e607e06

Browse files
committed
remove compute
1 parent a1dc0e9 commit e607e06

1 file changed

Lines changed: 1 addition & 8 deletions

File tree

l10n_do_ecf_invoicing/__init__.py

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -33,14 +33,7 @@ def post_init_hook(cr, registry):
3333
AND ai.l10n_do_electronic_stamp IS NULL
3434
AND ed.ecf_stamp IS NOT NULL;"""
3535
)
36-
cr.execute(
37-
"""UPDATE account_invoice ai
38-
SET l10n_do_ecf_edi_file = ed.xml_file
39-
FROM ecf_document ed
40-
WHERE ai.ecf_document = ed.id
41-
AND ai.l10n_do_ecf_edi_file IS NULL
42-
AND ed.xml_file IS NOT NULL;"""
43-
)
36+
4437
cr.execute(
4538
"UPDATE account_invoice SET l10n_do_ecf_edi_file_name = dgii_document_number;"
4639
)

0 commit comments

Comments
 (0)