-
- Downloads
[FIX] stock: avoid write on move when create return line
When creating a wizard `stock.return.picking` and call
`_onchange_picking_id`, the creation of return picking line will perform
a write on move linked with it, due to `uom_id` being set as related with
`readonly=False`. Set `readonly` to `True` to avoid it
closes odoo/odoo#77154
X-original-commit: c92b3657f659ca21cd5e0a1a2a2121dee28c25ee
Signed-off-by:
Tiffany Chang <tic@odoo.com>
Showing
- addons/stock/tests/__init__.py 1 addition, 0 deletionsaddons/stock/tests/__init__.py
- addons/stock/tests/test_stock_return_picking.py 50 additions, 0 deletionsaddons/stock/tests/test_stock_return_picking.py
- addons/stock/wizard/stock_picking_return.py 1 addition, 1 deletionaddons/stock/wizard/stock_picking_return.py
Please register or sign in to comment