Daily updates from Odoo
Wednesday, November 13, 2019
4 changes · master
Resolved issues and error corrections
Taxes on invoices can now be linked to the actual collecting organization, such as a tax authority, instead of always using the invoice customer or vendor. This prevents tax amounts from being included in invoice residual balances when they are not owed to that invoice partner, and can improve automatic reconciliation of tax payments.
Original PR description
Description of the issue/feature this PR addresses: fixes #11386 Current behavior before PR: Some taxes were taken into account when calculating residual on invoices. Those taxes however are not due…
Description of the issue/feature this PR addresses: fixes #11386 Current behavior before PR: Some taxes were taken into account when calculating residual on invoices. Those taxes however are not due to the invoice partner but shall be paid to the tax authority. Desired behavior after PR is merged: Now a tax can be configured so that a partner (eg. tax authority) can be defined on the tax. If such partner is defined on a specific tax, the move line of this tax will contain the newly configured partner (eg tax authority). Furthermore residual calculation will evaluate this and not sum tax values, even if they have been registered on a receivable or payable account. As a nice side effect, reconciliation of tax payments will now be automatic, as partner on bank statement (eg tax authrity) and partner on moveline (eg tax authority) coincide. "eg tax authority" can be exactly this, or any other collecting entity, such as municipalities, environmental agencies, half public agencies, etc. I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr add partner to tax lines and restrict residual calculus on invoice partner lines. Before tax lines had the same partner_id as the invoice_id which made the residual calc only dependent on the account type. However exist valid business cases, where also tax are registered on the recievable/payable types (the ones that where taken into account by the residual caluculs) This module not only solves this case by allowing to put a partner_id on tax groups, which is then propagated to the move line partner_id. It also allows for more automated reconciliation as the bank statement lines which have the tax authority registered get reconciled automatically. RISK: It might be, that some tax reportings rely on the invoice partner_id beeing available on the tax' move line partner_id directly (as a shortcut for line.invoice_id.partner_id). This, however can be considered as bad practice because there is a conceptual mismatch between what a partner_id of a payable normally tells us, and what it tells us in case of taxes. @blaggacao @Yenthe666 @qdp-odoo
This fixes the website setup dialog so its action buttons only appear during website creation, not on every website settings form. It also corrects button styling in that dialog and removes mistakenly included demo data, helping keep the website management experience clean and consistent.
Original PR description
Commit https://github.com/odoo/odoo/commit/88e910e187346c095a6f0eeb8be647da1e391035 merged the inheritance of a view into the base view while the inherit was in fact a primary mode inherit. The modal buttons of website creation modal thus appeared in all website forms by mistake. This commit also takes advantage of the fix to fix the design of that creation modal (wrong classes on buttons). Also fixes https://github.com/odoo/odoo/commit/986415cf050efbd38a5834f9bbd3a37db1fd7933 which added a data file & folder in demo data by mistake.
Manufacturing work orders now suggest quantities based on what has already been produced in earlier steps, including allowing quality checks when the suggested quantity is zero. This helps prevent blocked production flows and keeps later work orders aligned with partial production progress.
Original PR description
[FIX] mrp_workorder: make qty_producing field editable The field qty_producing will always be editable unless production is in such a state that some QCs are done for a given WO and some are remaining. changed if condition to consider qty_remaining as the field qty_producing will be changed to suggest new qty in the WO. Task-2088002
The accounting reconciliation widget now excludes draft journal entries from its matching suggestions. This prevents users from reconciling against incomplete transactions, improving accuracy and reducing confusion during bank reconciliation.
Original PR description
Before that, draft entries were taken into account in reconciliation propositions; which made no sense. master version of https://github.com/odoo/odoo/pull/39954