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",
|
||||
"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",
|
||||
|
||||
@@ -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)]},
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
<?xml version="1.0" ?>
|
||||
<odoo>
|
||||
<menuitem
|
||||
id="agreement.agreement_menu"
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user