We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a1dc0e9 commit e607e06Copy full SHA for e607e06
1 file changed
l10n_do_ecf_invoicing/__init__.py
@@ -33,14 +33,7 @@ def post_init_hook(cr, registry):
33
AND ai.l10n_do_electronic_stamp IS NULL
34
AND ed.ecf_stamp IS NOT NULL;"""
35
)
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
- )
+
44
cr.execute(
45
"UPDATE account_invoice SET l10n_do_ecf_edi_file_name = dgii_document_number;"
46
0 commit comments