mirror of
https://github.com/OCA/manufacture.git
synced 2025-01-28 16:37:15 +02:00
[MIG] mrp_production_raw_material_procurement_group: Migrated to 9.0
This commit is contained in:
@@ -3,10 +3,11 @@
|
||||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
||||
{
|
||||
"name": "Create Procurement Group On Manufacturing Order",
|
||||
"version": "8.0.1.0.0",
|
||||
"version": "9.0.1.0.0",
|
||||
"category": "Manufacturing",
|
||||
"website": "https://opensynergy-indonesia.com/",
|
||||
"author": "OpenSynergy Indonesia, Odoo Community Association (OCA)",
|
||||
"author": "OpenSynergy Indonesia, Eficent, Odoo Community Association ("
|
||||
"OCA)",
|
||||
"license": "AGPL-3",
|
||||
"installable": True,
|
||||
"depends": [
|
||||
|
||||
@@ -49,12 +49,10 @@ class MrpProduction(models.Model):
|
||||
@api.model
|
||||
def _make_consume_line_from_data(
|
||||
self,
|
||||
production, product, uom_id, qty,
|
||||
uos_id, uos_qty):
|
||||
production, product, uom_id, qty):
|
||||
|
||||
move_id = super(MrpProduction, self)._make_consume_line_from_data(
|
||||
production, product, uom_id, qty,
|
||||
uos_id, uos_qty)
|
||||
production, product, uom_id, qty)
|
||||
obj_move = self.env["stock.move"]
|
||||
move = obj_move.browse(move_id)
|
||||
if move.procure_method == "make_to_stock":
|
||||
|
||||
@@ -2,8 +2,7 @@
|
||||
<!-- Copyright 2016 Opensynergy Indonesia
|
||||
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). -->
|
||||
|
||||
<openerp>
|
||||
<data>
|
||||
<odoo>
|
||||
|
||||
<record id="mrp_production_view_form" model="ir.ui.view">
|
||||
<field name="name">mrp.production form</field>
|
||||
@@ -19,5 +18,4 @@
|
||||
</field>
|
||||
</record>
|
||||
|
||||
</data>
|
||||
</openerp>
|
||||
</odoo>
|
||||
|
||||
Reference in New Issue
Block a user