Skip to content

Commit

Permalink
⬆️1️⃣2️⃣ update view
Browse files Browse the repository at this point in the history
  • Loading branch information
trojikman committed Feb 9, 2021
1 parent 2e1fbc4 commit ccdeb25
Showing 1 changed file with 14 additions and 3 deletions.
17 changes: 14 additions & 3 deletions pos_order_merge/views/pos_config_view.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,21 @@
<record id="view_pos_config_form" model="ir.ui.view">
<field name="name">pos.config.form.view.inherit</field>
<field name="model">pos.config</field>
<field name="inherit_id" ref="point_of_sale.pos_config_view_form" />
<field name="inherit_id" ref="pos_restaurant.pos_config_view_form_inherit_restaurant" />
<field name="arch" type="xml">
<xpath expr="//field[@name='iface_orderline_notes']" position="after">
<field name="iface_order_merge" />
<xpath expr="//div[@id='iface_orderline_notes']" position="after">
<div class="col-12 col-lg-6 o_setting_box" id="iface_order_merge">
<div class="o_setting_left_pane">
<field name="iface_order_merge" />
</div>
<div class="o_setting_right_pane">
<label for="iface_order_merge"/>
<span class="fa fa-lg fa-cutlery" title="For bars and restaurants" role="img" aria-label="For bars and restaurants"/>
<div class="text-muted">
Merge POS orders into a single order
</div>
</div>
</div>
</xpath>
</field>
</record>
Expand Down

0 comments on commit ccdeb25

Please sign in to comment.