Sunday, June 11, 2023
3 changes · master
Miscellaneous changes
Fixed the issue for export invoice generated with foreign currency the value was not converting the foreign currency in INR instead of that only amount was taken for GSTR Report. task-3224829 Forward-Port-Of: odoo/enterprise#38963
Original PR description
Fixed the issue for export invoice generated with foreign currency the value was not converting the foreign currency in INR instead of that only amount was taken for GSTR Report. task-3224829 Forward-Port-Of: odoo/enterprise#38963
Allow asset models to be archived Steps: - Go to Accounting->Configuration->Asset Models - Create one or select an existing one - Try to archive it -> UserError: "You cannot archive a record that is not closed" opw-3345892 Forward-Port-Of: odoo/enterprise#42225 Forward-Port-Of: odoo/enterprise#42051
Original PR description
Allow asset models to be archived Steps: - Go to Accounting->Configuration->Asset Models - Create one or select an existing one - Try to archive it -> UserError: "You cannot archive a record that is not closed" opw-3345892 Forward-Port-Of: odoo/enterprise#42225 Forward-Port-Of: odoo/enterprise#42051
Across several customer DBs, it has been noticed that the CDR returned by SUNAT via the getStatusCdr endpoint no longer includes the CDR's original issue date. This has been causing confusing tracebacks when sending invoices to SUNAT and when executing the EDI cron if an invoice requires the CDR retrieval flow to be used (i.e. the CDR already exists on SUNAT's side, and we need to retrieve it.) This commit adapts the CDR retrieval to this change in SUNAT's response, and also changes the me
Original PR description
Across several customer DBs, it has been noticed that the CDR returned by SUNAT via the getStatusCdr endpoint no longer includes the CDR's original issue date. This has been causing confusing tracebacks when sending invoices to SUNAT and when executing the EDI cron if an invoice requires the CDR retrieval flow to be used (i.e. the CDR already exists on SUNAT's side, and we need to retrieve it.) This commit adapts the CDR retrieval to this change in SUNAT's response, and also changes the method so that in the future it can gracefully handle fields missing from the CDR. opw-3273252/3338756/3265840 Forward-Port-Of: odoo/enterprise#42227