Skip to content

Commit 705b522

Browse files
[MIG] edi_purchase_oca: Migration to v19
1 parent 7669a15 commit 705b522

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

edi_purchase_oca/__manifest__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@
55
"name": "EDI Purchase",
66
"summary": """
77
Define EDI Configuration for Purchase Orders""",
8-
"version": "18.0.1.0.0",
8+
"version": "19.0.1.0.0",
99
"license": "LGPL-3",
1010
"author": "ForgeFlow, Camptocamp, Odoo Community Association (OCA)",
1111
"website": "https://github.com/OCA/edi-framework",
12-
"depends": ["purchase", "edi_oca", "component_event"],
12+
"depends": ["purchase", "edi_core_oca", "component_event"],
1313
"data": [
1414
"views/purchase_order_views.xml",
1515
"views/edi_exchange_record_views.xml",

edi_purchase_oca/models/res_partner.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33

44

55
from odoo import fields, models
6+
from odoo.fields import Domain
67

78

89
class ResPartner(models.Model):
@@ -14,5 +15,5 @@ class ResPartner(models.Model):
1415
relation="res_partner_edi_purchase_configuration_rel",
1516
column1="partner_id",
1617
column2="conf_id",
17-
domain=[("model_name", "=", "purchase.order")],
18+
domain=Domain("model_name", "=", "purchase.order"),
1819
)

0 commit comments

Comments
 (0)