Skip to content

Commit 9dbc566

Browse files
committed
Merge PR #144 into master
Signed-off-by legalsylvain
2 parents 40aace4 + fd0b32d commit 9dbc566

File tree

12 files changed

+89
-0
lines changed

12 files changed

+89
-0
lines changed

odoo_module_migrate/config.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,12 @@
6969
"init_version_code": "170",
7070
"target_version_code": "180",
7171
},
72+
{
73+
"init_version_name": "18.0",
74+
"target_version_name": "19.0",
75+
"init_version_code": "180",
76+
"target_version_code": "190",
77+
},
7278
]
7379

7480
_ALLOWED_EXTENSIONS = [".py", ".xml", ".js", ".csv"]
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
from . import models
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
2+
3+
{
4+
"name": "Module name",
5+
"version": "19.0.1.0.0",
6+
"installable": True,
7+
'license': 'AGPL-3',
8+
'depends': [
9+
'base',
10+
],
11+
'data': [
12+
'views/res_partner.xml',
13+
],
14+
}
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
from . import res_partner
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
from odoo import models, fields
2+
3+
4+
class ResPartner(models.Model):
5+
_inherit = "res.partner"
6+
7+
test_field_1 = fields.Boolean()
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<odoo>
3+
<record id="view_partner_simple_form" model="ir.ui.view">
4+
<field name="name">res.partner.simplified.form</field>
5+
<field name="model">res.partner</field>
6+
<field name="arch" type="xml">
7+
<field name="parent_id" position="after">
8+
<field name="test_field_1"/>
9+
</field>
10+
</field>
11+
</record>
12+
13+
</odoo>
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
from . import models
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
2+
3+
{
4+
"name": "Module name",
5+
"version": "18.0.1.0.0",
6+
"installable": False,
7+
'license': 'AGPL-3',
8+
'depends': [
9+
'base',
10+
],
11+
'data': [
12+
'views/res_partner.xml',
13+
],
14+
}
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
from . import res_partner
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
from odoo import models, fields
2+
3+
4+
class ResPartner(models.Model):
5+
_inherit = "res.partner"
6+
7+
test_field_1 = fields.Boolean()

0 commit comments

Comments
 (0)