Wednesday, September 2, 2020
2 changes · master
Code cleanup and technical improvements
The Mexican electronic invoicing integration was reorganized to share common provider logic instead of keeping duplicate code in invoices and payments. This reduces maintenance effort and should make future updates to Mexican PAC providers safer and more consistent, with no intended change to day-to-day user workflows.
Original PR description
Mexican Electronic XML methods and fields are duplicated for each model So it is not needed duplicate them since that we can use a mixin class instead. 258 lines was reduced NOTE: I have applied the sha bc4e53ec94fe6fe64a36e7a90ca5a15caa001f6f In order to enable tests. - [ ] Remove this SHA after testing
This update renames an internal process in the Mexico electronic invoicing module to make its purpose more specific. The change helps reduce the chance of conflicts with other modules, improving maintainability without affecting daily user workflows.
Original PR description
Method name 'onchange_quantity' is so generic and it one could be used from another module Using a standard and particular name with prefix _l10n_mx_edi_ we are reducing this possibility Dummy: https://git.vauxoo.com/vauxoo/enterprise-mx/merge_requests/612