[MIG] agreement_sale: Migration to 14.0

This commit is contained in:
Pierrick Brun
2021-03-15 11:38:35 +01:00
parent 2155a6bf59
commit a6e3b97bdd
5 changed files with 3 additions and 6 deletions

View File

@@ -4,7 +4,7 @@
{
"name": "Agreement Sale",
"summary": "Agreement on sales",
"version": "13.0.1.0.0",
"version": "14.0.1.0.0",
"category": "Contract",
"author": "Akretion, " "Odoo Community Association (OCA)",
"website": "https://github.com/OCA/contract",

View File

@@ -12,7 +12,7 @@ class SaleOrder(models.Model):
comodel_name="agreement",
string="Agreement",
ondelete="restrict",
track_visibility="onchange",
tracking=True,
readonly=True,
copy=False,
states={"draft": [("readonly", False)], "sent": [("readonly", False)]},
@@ -22,7 +22,7 @@ class SaleOrder(models.Model):
comodel_name="agreement.type",
string="Agreement Type",
ondelete="restrict",
track_visibility="onchange",
tracking=True,
readonly=True,
copy=True,
states={"draft": [("readonly", False)], "sent": [("readonly", False)]},

View File

@@ -1,4 +1,3 @@
<?xml version="1.0" ?>
<odoo>
<menuitem
id="agreement.agreement_menu"

View File

@@ -1,4 +1,3 @@
<?xml version="1.0" encoding="utf-8" ?>
<odoo>
<record id="res_config_settings_view_form" model="ir.ui.view">
<field name="name">res.config.settings.view.form.inherit.agreement</field>

View File

@@ -1,4 +1,3 @@
<?xml version="1.0" encoding="utf-8" ?>
<odoo>
<record id="sale_order_agreement_form_view" model="ir.ui.view">
<field name="name">sale.order.agreement.form.view</field>