f4e9e15618ae2b11ebcdd6777e88fc97a3f6ac12
Steps to reproduce the bug: - Go to Inventory→ Configuration→ Warehouse Management →Operations Types - Go inside “Receipts”, and enable the checkbox “Create New Lots/Serial Numbers for Components” and `Use Existing Lots/Serial Numbers`under the traceability section - Create a receipt transfers with a traceable product - Mark as to do the transfer - Try to add a SN for the product Problem: Traceback is triggered: “key error: raw_material_production_id” because we use this field to add it in the context from the parent in the `stock.move.line` view: https://github.com/odoo/odoo/blob/15.0/addons/mrp/views/stock_move_views .xml#L53 But this field is not present in all views of the `stock.move` model Solution: To avoid adding this field in all the `stock.move` views, it is better to add it in the context from the `python` code closes odoo/odoo#98110 X-original-commit: 545713ae0a559e7f2747dd3cb4211ab752e1ef0c Signed-off-by: Arnold Moyaux (arm) <arm@odoo.com> Signed-off-by: Adrien Widart <awt@odoo.com>
…
…
…
Odoo
Odoo is a suite of web based open source business apps.
The main Odoo Apps include an Open Source CRM, Website Builder, eCommerce, Warehouse Management, Project Management, Billing & Accounting, Point of Sale, Human Resources, Marketing, Manufacturing, ...
Odoo Apps can be used as stand-alone applications, but they also integrate seamlessly so you get a full-featured Open Source ERP when you install several Apps.
Getting started with Odoo
For a standard installation please follow the Setup instructions from the documentation.
To learn the software, we recommend the Odoo eLearning, or Scale-up, the business game. Developers can start with the developer tutorials
Languages
Python
49.6%
JavaScript
47.8%
SCSS
2%
CSS
0.3%
HTML
0.2%