Daily updates from Odoo
Wednesday, February 28, 2018
3 changes · master
Resolved issues and error corrections
This fix reduces unnecessary processing in the web editor so the web client responds more quickly during common actions like clicks, typing, and content changes. It improves test execution time and should make editing website content feel smoother without changing visible features.
Original PR description
Time for the unit test: Without this fix: 177 seconds With this fix: 127 seconds
Accounting reports now consistently use the company chosen in the report wizard, regardless of the user's current active company. This ensures report headers, report content, and available journals match the selected company in multi-company setups.
Original PR description
Independently of which company has the user at the moment, the user should have the option to choose what company wants for the reports if the multicompany option is activated. And also this means that the `journal_ids` should be restricted by the chosen company. Moreover, if the user choose X company in the wizard of the reports, then the reports should have X company in the report's header and also X company in the full report's body, and not the user's company. In addition, this PR fixes some issues in some reports. For example, it doesn't make sense, in the partner ledger report, in its header, to have the partner's company instead of the user's company (or the chosen company). -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
The Mexican electronic invoicing module now fills in the required fiscal position code during setup. This prevents invoice validation from failing with a missing tax regime message, helping users issue compliant invoices more reliably.
Original PR description
Set the code field (l10n_mx_edi_code) in account.fiscal.position model, to avoid the message: `The attribute 'RegimenFiscal' is required but missing when validating and invoice.`