| 1 |
<?xml version="1.0" encoding="utf-8"?> |
| 2 |
<odoo> |
| 3 |
<record id="point_of_sale.product_combo_view_form" model="ir.ui.view"> |
| 4 |
<field name="name">product.combo.form.inherit.point.of.sale</field> |
| 5 |
<field name="model">product.combo</field> |
| 6 |
<field name="inherit_id" ref="product.product_combo_view_form"/> |
| 7 |
<field name="arch" type="xml"> |
| 8 |
<field name="product_id" position="attributes"> |
| 9 |
<attribute name="context">{'default_available_in_pos': True}</attribute> |
| 10 |
</field> |
| 11 |
|
| 12 |
<xpath expr="//field[@name='company_id']" position="replace"> |
| 13 |
<group> |
| 14 |
<span class="o_form_label oe_inline fw-bolder">Maximum</span> |
| 15 |
<div> |
| 16 |
<field name="qty_max" class="text-center" style="width:50px;"/> |
| 17 |
<label for="qty_max" string="items" class="fw-bolder ps-3" /> |
| 18 |
</div> |
| 19 |
<span class="o_form_label oe_inline fw-bolder">Includes</span> |
| 20 |
<div> |
| 21 |
<field name="qty_free" class="text-center" style="width:50px;"/> |
| 22 |
<label for="qty_free" string="free" class="fw-bolder ps-3" /> |
| 23 |
</div> |
| 24 |
</group> |
| 25 |
<group> |
| 26 |
<field name="base_price" widget="monetary" options="{'field_digits': True}"/> |
| 27 |
<field |
| 28 |
name="company_id" |
| 29 |
placeholder="Visible to all" |
| 30 |
groups="base.group_multi_company" |
| 31 |
options="{'no_create': True}" |
| 32 |
class="oe_inline" |
| 33 |
/> |
| 34 |
</group> |
| 35 |
</xpath> |
| 36 |
</field> |
| 37 |
</record> |
| 38 |
</odoo> |