diff options
| author | Swapnesh Shah <swapneshshah111@gmail.com> | 2021-05-02 19:52:53 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-05-02 19:52:53 +0000 |
| commit | 4de0ae434d1adc97fc1077b8d0f23c7e800ec161 (patch) | |
| tree | c3937b7ed9f38bfe741e87c1d9396d4eccf0212c /doc/howtos/backend/exercise-constraint-python | |
| parent | 0490828de135406675b8c6949cf31cdccd697b02 (diff) | |
[FIX] mrp: set default product on unbuild order
Before this commit, Creating Unbuild order using
Unbuild Button was resetting Bom as it was calling
`_onchange_product_id` after setting `mo_id` which was
resetting Bom on Unbuild order.
To Fix Issue, We setting `default_product_id` so It would not
reset `bom_id` when `_onchange_product_id` is called.
Fixes: #70216
Odoo Ticket: 2521788
closes odoo/odoo#70218
Signed-off-by: Rémy Voet <ryv-odoo@users.noreply.github.com>
Diffstat (limited to 'doc/howtos/backend/exercise-constraint-python')
0 files changed, 0 insertions, 0 deletions
