summaryrefslogtreecommitdiff
path: root/addons/website/static/src
diff options
context:
space:
mode:
authorjbm-odoo <jbm@odoo.com>2019-07-30 14:04:46 +0000
committerjbm-odoo <jbm@odoo.com>2019-08-28 13:51:40 +0000
commitcf7c9bd9b7d42ac89a1d6bcdf009ae3d376d6511 (patch)
tree53f72f424af67c3b7edb9fdfeef88fbc0cc8a7c0 /addons/website/static/src
parentd6c65aa4d48ae2bf10830e04a3fb043b06816277 (diff)
[FIX] mrp: Avoid creating new line when changing qty to produce
When we change quantity to produce in mrp, all component lines are removed and new line with the updated amount to product are created. The problem appears when we change the quantity to produce and directly click on a component line, because we open the line that will be deleted. So if we change the quantity for this component manually, this suppressed line will be added with the new value. And the computed line will be also be added. So the line for one component will be present twice (one with computed value and one with manual entry value). To avoid this problem, when we change the quantity to produce, we update information of each line (instead of deleting and creating new one). So if we click on a component line just after changing the quantity, we open the updated line (and not de deleted one).
Diffstat (limited to 'addons/website/static/src')
0 files changed, 0 insertions, 0 deletions