OCA / wms

Warehouse Management System for advance logistic with Odoo
GNU Affero General Public License v3.0
155 stars 191 forks source link

[16.0][IMP] sale_stock_available_to_promise_release_block block multiple order lines #897

Closed santostelmo closed 5 months ago

santostelmo commented 5 months ago

When we block multiple order lines we get the following traceback:

ValueError: <class 'ValueError'>: "Expected singleton: stock.move(53171, 53172)" while evaluating
'if records:\n        records.move_ids.action_block_release()'
santostelmo commented 5 months ago

That was solved hre: https://github.com/OCA/wms/pull/898