Skip to content

Commit 0b5a06e

Browse files
committed
move production - sale link to mrp_sale_info module
1 parent 8a27028 commit 0b5a06e

5 files changed

Lines changed: 1 addition & 67 deletions

File tree

sale_production_state/__manifest__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"author": "Akretion, Odoo Community Association (OCA)",
1212
"license": "AGPL-3",
1313
"installable": True,
14-
"depends": ["sale_mrp"],
14+
"depends": ["mrp_sale_info"],
1515
"data": [
1616
"views/sale_order.xml",
1717
],
Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,2 @@
1-
from . import mrp_production
21
from . import sale_order
32
from . import sale_order_line
4-
from . import stock_rule

sale_production_state/models/mrp_production.py

Lines changed: 0 additions & 17 deletions
This file was deleted.

sale_production_state/models/sale_order_line.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,6 @@ class SaleOrderLine(models.Model):
1919
compute="_compute_production_state",
2020
store=True,
2121
)
22-
production_ids = fields.Many2many(
23-
comodel_name="mrp.production",
24-
relation="sale_line_production_rel",
25-
column1="line_id",
26-
column2="production_id",
27-
string="Manufacturing orders",
28-
)
2922

3023
@api.depends("production_ids", "production_ids.state")
3124
def _compute_production_state(self):

sale_production_state/models/stock_rule.py

Lines changed: 0 additions & 40 deletions
This file was deleted.

0 commit comments

Comments
 (0)