Friday, February 4, 2022
2 changes
Enhancements to existing features
This update simplifies internal handling for Mexican electronic invoicing, stock delivery documents, and accounting reports. It reduces duplicated logic, aligns naming with broader invoice and payment use cases, and improves maintainability without introducing major user-facing changes.
Original PR description
[IMP] l10n_mx_edi, l10n_mx_edi_stock: cleanup methods Due to stable policy, additional methods were introduced to make them resusable by l10n_mx_edi_stock. In master, we can now clean these methods.…
[IMP] l10n_mx_edi, l10n_mx_edi_stock: cleanup methods Due to stable policy, additional methods were introduced to make them resusable by l10n_mx_edi_stock. In master, we can now clean these methods. [IMP] l10n_mx_edi_stock - Cleanup and simplify in master since the attachment is stored in field `l10n_mx_edi_cfdi_file_id`, a method to search `ir.attachment` is not required [IMP] l10n_mx_reports: reuse existing _certify_and_stamp method in l10n_mx_edi clean the reports module and use existing methods in l10n_mx_edi [IMP] l10n_mx_edi: make the _certify_and_stamp method configurable Different CFDI API's require minor changes to the CFDI attributes for example CartaPorte requires attribute NoCertificado while the reporting XSD requires noCertificado. We add a parameter with default value to accommodate these minor inconsistencies [IMP] l10n_mx_edi,l10n_mx_edi_stock,l10n_mx_reports: make methods private Many methods are publicly exposed and don't need to be. Also fix the manifest dependencies for module 10n_mx_reports since it uses a certificate which is defined in l10n_mx_edi [IMP] l10n_mx_edi: rename field from `l10n_mx_edi_cancel_invoice_id` to `l10n_mx_edi_cancel_move_id` since it is used by invoices and payments Task-2722239
Map views now show boolean group labels as "Yes" or "No" instead of "True" or "False". This makes grouped map results easier for users to understand at a glance.
Original PR description
Purpose ======= When we group the record based on a boolean fields, we want to show "Yes/No" instead of "True/False". This has been done for the map view. Task-2648390