Repository navigation
Migration to version 18.0 #1050
Copy link
Copy link
Open
Labels
help wantedno staleUse this label to prevent the automated stale action from closing this PR/Issue.Use this label to prevent the automated stale action from closing this PR/Issue.work in progress
Milestone
Description
Todo
https://github.com/OCA/maintainer-tools/wiki/Migration-to-version-18.0
Modules to migrate
- account_edi_ubl_cii_retrieve_tax - By @jbaudoux - [18.0][MIG] account_edi_ubl_cii_retrieve_tax: Migration to 18.0 #1403
- account_einvoice_generate
- account_invoice_export - By @bizzappdev - [18.0] [MIG] account_invoice_export: Migration to 18.0 #1191
- account_invoice_export_job - By @TDu - [18.0][MIG] account_invoice_export_job #1204
- account_invoice_export_server_env - By @bizzappdev - [18.0] [MIG] account_invoice_export_server_env: Migration to 18.0 #1192
- account_invoice_facturx
- base_business_document_import - By @simahawk - [18.0][MIG] base_business_document_import #1167
- base_ebill_payment_contract - By @simahawk - [18.0][mig] base_ebill_payment_contract #1202
- base_edi - By @JordiMForgeFlow - [18.0][MIG] base_edi #1055
- base_facturx
- base_import_pdf_by_template - By @cristina-hidalgo-tecnativa - [18.0][MIG] base_import_pdf_by_template: Migration to version 18.0 #1289
- base_import_pdf_by_template_account - By @cristina-hidalgo-tecnativa - [18.0][MIG] base_import_pdf_by_template_account: Migration to version 18.0 #1292
- base_ubl - By @simahawk - [18.0][MIG] base_ubl + split parse and generate + full test cov #1168
- partner_identification_import - By @simahawk - [18.0][MIG] partner_identification_import #1176
- pdf_helper - By @simahawk - [18.0][MIG] pdf_helper: Migration to 18.0 #1170 - (moved to [18.0][MIG] pdf_helper renamed to pdf_xml_attachment reporting-engine#1031)
- purchase_order_import_ubl - By @SilvioC2C - [18.0][MIG] purchase_order_import_ubl #1361
- purchase_order_ubl - By @simahawk - [18.0][MIG] purchase_order_ubl: migrate to v18 #1342
- sale_order_customer_free_ref - By @rlimaeco - [18.0] [MIG] sale_order_customer_free_ref #1126
- sale_order_import - By @simahawk - [18.0][mig] sale_order_import #1171
- sale_order_import_packaging - By @henrybackman - [18.0][MIG] sale_order_import_packaging (renamed from sale_order_packaging_import) #1196
- sale_order_import_ubl - By @simahawk - [18.0][MIG] sale_order_import_ubl #1172
- sale_order_import_ubl_customer_free_ref - By @henrybackman - [18.0][MIG] sale_order_import_ubl_customer_free_ref: Migration to 18.0 #1189
- sale_order_import_ubl_line_customer_ref - By @simahawk - [18.0][MIG] sale_order_import_ubl_line_customer_ref #1175
- test_base_import_pdf_by_template - By @david-banon-tecnativa - [18.0][MIG] test_base_import_pdf_by_template: Migration to 18.0 #1383
INFO: The Voxel modules have been moved to OCA/edi-voxel.
Missing module? Check https://github.com/OCA/maintainer-tools/wiki/%5BFAQ%5D-Missing-modules-in-migration-issue-list
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
help wantedno staleUse this label to prevent the automated stale action from closing this PR/Issue.Use this label to prevent the automated stale action from closing this PR/Issue.work in progress
Activity
alexis-via commentedon Dec 27, 2024
I'm facing a problem while migrating account_invoice_facturx from v17 to v18: in v18, a new field is_invoice_report was added to ir.actions.report and the method _is_invoice_report(report_ref) was updated to use that new field:
odoo/odoo@bb60952
The problem is that, by default, is_invoice_report is True on report "Invoices" (XMLID account.account_invoices) but it is False in report "Invoices without Payment" (XMLID account.account_invoices_without_payment)
In another commit, the report "Invoices" which has is_invoice_report=True was renamed to PDF and removed from the print menu, cf:
odoo/odoo@73c9fb4#diff-3b18ee604f9c7367c3d380bcc92f09c390e896f511bbe563f19116297a8ab653
So, if we continue to use the method _is_invoice_report(report_ref) to choose if we should attach the file factur-x.xml or not, the PDF retreived from the print menu will not have the XML attachment.
Here are the options we have:
For the moment, I plan to implement option 1. Please give your opinion on this before we take the final decision.