Skip to content

Commit

Permalink
[MIG] agreement: Migration to 18.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Lukas Tran committed Dec 12, 2024
1 parent 4053a8e commit 8d0ee19
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 13 deletions.
2 changes: 1 addition & 1 deletion agreement/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
{
"name": "Agreement",
"summary": "Adds an agreement object",
"version": "17.0.1.0.0",
"version": "18.0.1.0.0",
"category": "Contract",
"author": "Akretion, "
"Yves Goldberg (Ygol Internetwork), "
Expand Down
14 changes: 5 additions & 9 deletions agreement/views/agreement.xml
Original file line number Diff line number Diff line change
Expand Up @@ -57,19 +57,15 @@
<page name="config" string="Configuration" invisible="True" />
</notebook>
</sheet>
<div class="oe_chatter">
<field name="message_follower_ids" widget="mail_followers" />
<field name="activity_ids" widget="mail_activity" />
<field name="message_ids" widget="mail_thread" />
</div>
<chatter/>
</form>
</field>
</record>
<record id="agreement_tree" model="ir.ui.view">
<field name="name">agreement.tree</field>
<field name="name">agreement.list</field>
<field name="model">agreement</field>
<field name="arch" type="xml">
<tree>
<list>
<field name="partner_id" />
<field name="code" />
<field name="name" />
Expand All @@ -78,7 +74,7 @@
<field name="end_date" />
<field name="domain" />
<field name="company_id" groups="base.group_multi_company" />
</tree>
</list>
</field>
</record>
<record id="agreement_search" model="ir.ui.view">
Expand Down Expand Up @@ -128,6 +124,6 @@
<record id="agreement_action" model="ir.actions.act_window">
<field name="name">Agreements</field>
<field name="res_model">agreement</field>
<field name="view_mode">tree,form</field>
<field name="view_mode">list,form</field>
</record>
</odoo>
6 changes: 3 additions & 3 deletions agreement/views/agreement_type.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
<field name="name">Agreement Type List</field>
<field name="model">agreement.type</field>
<field name="arch" type="xml">
<tree default_order="name">
<list default_order="name">
<field name="name" string="Type Name" />
<field name="domain" />
</tree>
</list>
</field>
</record>
<!-- Agreement Type Form View -->
Expand Down Expand Up @@ -72,6 +72,6 @@
<record id="agreement_type_action" model="ir.actions.act_window">
<field name="name">Agreement Types</field>
<field name="res_model">agreement.type</field>
<field name="view_mode">tree,form</field>
<field name="view_mode">list,form</field>
</record>
</odoo>

0 comments on commit 8d0ee19

Please sign in to comment.