Files
odoo_source/addons/hr_expense/models
Thomas Becquevort (thbe) 405483cb06 [IMP] hr_expense:warn user on expense category price update
Description of the issue/feature this commit addresses:

Currently, if the price of an expense category which has expenses posted is
modified, the total amount of those expenses is modified too. This is a wanted
behavior but this might surprise the user and so it would be preferable
to tell him that those amount will be modified when he is editing the
category's price.

Desired behavior after the commit is merged:

Adding this commit, when a user modifies the standard_price on a expense
category, if this category has posted or draft expenses linked, a warning
message will appear to tell the tell the user of what is going to happen.

task-3506770

closes odoo/odoo#144983

X-original-commit: 5aabb58
Signed-off-by: de Wouters de Bouchout Jean-Benoît (jbw) <jbw@odoo.com>
Signed-off-by: Thomas Becquevort (thbe) <thbe@odoo.com>
2023-12-07 08:30:17 +00:00
..