Daily updates from Odoo
Thursday, January 9, 2020
4 changes · master
Enhancements to existing features
Website editor option controls can now automatically enable related controls when selected or previewed. This makes editing behavior more consistent and reduces the chance that users need to manually adjust multiple related settings.
This change avoids recalculating values that Odoo has already computed and temporarily stored during record creation. It can significantly speed up bulk operations, such as creating many sales order lines, without changing user-facing behavior.
Original PR description
Description of the issue/feature this PR addresses: Unnecessary recomputation of values already present in cache, leading to a substantial overhead in some use cases (e.g. creation of multiple sale.order.line records). Current behavior before PR: Computed field values that have not yet been written to the database may be recomputed even if the correct result for that record is already present in the cache. Desired behavior after PR is merged: Computed field values that have not yet been written to the database are recomputed only if the correct value for that record is not already present in the cache. -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Website editors can now set an explicit default value for supported form fields instead of losing input changes during editing. This makes it easier to prepare pre-filled forms for visitors while keeping file upload fields unchanged.
Original PR description
Description of the issue/feature this PR addresses: Without this patch, changes done in any of the inputs are not saved. Now, that behavior remains the same, but a new explicit option is added to each supported input (all except `type="file"`) to set a custom default value.  -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr @Tecnativa
SEPA batch payments can now be marked for batch booking, so all payments in a batch appear as one combined line on the bank statement. This makes bank reconciliation easier and reduces manual matching work for finance teams.
Original PR description
[IMP] account_sepa_direct_debit, account_batch_payment: put payment_method_code field in account_batch_payment (still invisible), so that submodules needing it don't have to add it every time [IMP] account_sepa: add a checkbox on batch payments to enable batch booking (just like for direct debit) With batch booking enabled, all the payments of the batch will be grouped in a single line on the bank statement, easing reconciliation.