Skip to content

Commit

Permalink
[IMP] display generation_type on contract template
Browse files Browse the repository at this point in the history
  • Loading branch information
victor-champonnois committed Jan 10, 2025
1 parent 40cf8e0 commit 98ec8c1
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
1 change: 1 addition & 0 deletions contract_sale_generation/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
"data": [
"data/contract_cron.xml",
"views/contract.xml",
"views/contract_template.xml",
],
"installable": True,
}
14 changes: 14 additions & 0 deletions contract_sale_generation/views/contract_template.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="utf-8" ?>
<odoo>
<record id="contract_template_form_view_recurring_sale_form" model="ir.ui.view">
<field name="name">contract.template form view</field>
<field name="model">contract.template</field>
<field name="inherit_id" ref="contract.contract_template_form_view" />
<field name="arch" type="xml">
<field name="contract_type" position="after">
<field name="generation_type" />
</field>
</field>
</record>

</odoo>

0 comments on commit 98ec8c1

Please sign in to comment.