You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
1.1 KiB
27 lines
1.1 KiB
<?xml version="1.0" encoding="utf-8"?>
|
|
<odoo>
|
|
<!-- Used to set the dealer's price and quantity-->
|
|
<record id="product_normal_form_view" model="ir.ui.view">
|
|
<field name="name">
|
|
product.product.view.form.inherit.customers.dealers.quantity
|
|
</field>
|
|
<field name="model">product.product</field>
|
|
<field name="inherit_id" ref="product.product_normal_form_view"/>
|
|
<field name="arch" type="xml">
|
|
<xpath expr="//page[@name='sales']"
|
|
position="inside">
|
|
<group>
|
|
<div class="o_horizontal_separator mt-4 mb-3 text-uppercase fw-bolder small">
|
|
Dealers
|
|
</div>
|
|
<group>
|
|
<field name="dealer_price" string="Dealers Price" widget="monetary"
|
|
options="{'currency_field': 'cost_currency_id'}"/>
|
|
<field name="minimum_quantity"
|
|
string="Dealers Min Quantity"/>
|
|
</group>
|
|
</group>
|
|
</xpath>
|
|
</field>
|
|
</record>
|
|
</odoo>
|
|
|