[ADD]sale_show_crm_opportunity

This commit is contained in:
2024-06-17 10:50:43 +02:00
parent f752c0f7f1
commit d7cbea0ce5
3 changed files with 85 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<record id="sale_order_form_inherit_show_opportunity" model="ir.ui.view">
<field name="name">sale.order.form.inherit.show.opportunity</field>
<field name="model">sale.order</field>
<field name="inherit_id" ref="sale.view_order_form"/>
<field name="arch" type="xml">
<xpath expr="//field[@name='opportunity_id']" position="replace">
<field name="opportunity_id" help="Log in the chatter from which opportunity the order originates"/>
</xpath>
</field>
</record>
</odoo>