Monday, October 19, 2020
2 changes · master
Enhancements to existing features
The stock module now prevents creating multiple reordering rules for the same product at the same location. This avoids duplicate replenishment actions that could lead to unnecessary purchases or stock moves.
Original PR description
This commit adds a constraint on model stock.warehouse.orderpoint (reordering rule) to ensure two orderpoint are not set on the same product and on the same location. This is an issue as the replenishment will be done multiple times in case of duplicated rules. Task : 1939567 Description of the issue/feature this PR addresses: Current behavior before PR: Desired behavior after PR is merged: -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Mailings and their tracking sources now receive clearer automatically generated names when users do not enter one. Duplicate names are handled with a simple counter, making campaigns easier to identify and reducing confusing or unnecessary demo translation entries.
Original PR description
PURPOSE
=======
This commit improves the auto generated name of the mailings and of the UTM source.
Currently, this name is auto generated but is not very user-friendly.
SPECIFICATIONS
=======
We want to have a unique mailing/source name.
When no name is given, we automatically generate one with the following format
"<subject> (Mailing created on <date>)".
If the name is duplicated, we add a counter after it ("<name> [X]").
Update the demo data to not auto-generate the name and to avoid creating unnecessary
i18n lines.
LINKS
=======
Task 2245823