mirror of
https://github.com/OCA/contract.git
synced 2025-02-13 17:57:24 +02:00
[MIG] agreement_sale: Migration to 14.0
This commit is contained in:
@@ -4,7 +4,7 @@
|
|||||||
{
|
{
|
||||||
"name": "Agreement Sale",
|
"name": "Agreement Sale",
|
||||||
"summary": "Agreement on sales",
|
"summary": "Agreement on sales",
|
||||||
"version": "13.0.1.0.0",
|
"version": "14.0.1.0.0",
|
||||||
"category": "Contract",
|
"category": "Contract",
|
||||||
"author": "Akretion, " "Odoo Community Association (OCA)",
|
"author": "Akretion, " "Odoo Community Association (OCA)",
|
||||||
"website": "https://github.com/OCA/contract",
|
"website": "https://github.com/OCA/contract",
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ class SaleOrder(models.Model):
|
|||||||
comodel_name="agreement",
|
comodel_name="agreement",
|
||||||
string="Agreement",
|
string="Agreement",
|
||||||
ondelete="restrict",
|
ondelete="restrict",
|
||||||
track_visibility="onchange",
|
tracking=True,
|
||||||
readonly=True,
|
readonly=True,
|
||||||
copy=False,
|
copy=False,
|
||||||
states={"draft": [("readonly", False)], "sent": [("readonly", False)]},
|
states={"draft": [("readonly", False)], "sent": [("readonly", False)]},
|
||||||
@@ -22,7 +22,7 @@ class SaleOrder(models.Model):
|
|||||||
comodel_name="agreement.type",
|
comodel_name="agreement.type",
|
||||||
string="Agreement Type",
|
string="Agreement Type",
|
||||||
ondelete="restrict",
|
ondelete="restrict",
|
||||||
track_visibility="onchange",
|
tracking=True,
|
||||||
readonly=True,
|
readonly=True,
|
||||||
copy=True,
|
copy=True,
|
||||||
states={"draft": [("readonly", False)], "sent": [("readonly", False)]},
|
states={"draft": [("readonly", False)], "sent": [("readonly", False)]},
|
||||||
|
|||||||
@@ -1,4 +1,3 @@
|
|||||||
<?xml version="1.0" ?>
|
|
||||||
<odoo>
|
<odoo>
|
||||||
<menuitem
|
<menuitem
|
||||||
id="agreement.agreement_menu"
|
id="agreement.agreement_menu"
|
||||||
|
|||||||
@@ -1,4 +1,3 @@
|
|||||||
<?xml version="1.0" encoding="utf-8" ?>
|
|
||||||
<odoo>
|
<odoo>
|
||||||
<record id="res_config_settings_view_form" model="ir.ui.view">
|
<record id="res_config_settings_view_form" model="ir.ui.view">
|
||||||
<field name="name">res.config.settings.view.form.inherit.agreement</field>
|
<field name="name">res.config.settings.view.form.inherit.agreement</field>
|
||||||
|
|||||||
@@ -1,4 +1,3 @@
|
|||||||
<?xml version="1.0" encoding="utf-8" ?>
|
|
||||||
<odoo>
|
<odoo>
|
||||||
<record id="sale_order_agreement_form_view" model="ir.ui.view">
|
<record id="sale_order_agreement_form_view" model="ir.ui.view">
|
||||||
<field name="name">sale.order.agreement.form.view</field>
|
<field name="name">sale.order.agreement.form.view</field>
|
||||||
|
|||||||
Reference in New Issue
Block a user