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.
30 lines
1.3 KiB
30 lines
1.3 KiB
<?xml version='1.0' encoding='utf-8'?>
|
|
<odoo>
|
|
<!-- option to select the custom receipt in pos config-->
|
|
<record id="pos_config_view_form" model="ir.ui.view">
|
|
<field name="name">
|
|
pos.config.view.form.inherit.custom.receipts.for.pos
|
|
</field>
|
|
<field name="model">pos.config</field>
|
|
<field name="inherit_id" ref="point_of_sale.pos_config_view_form"/>
|
|
<field name="arch" type="xml">
|
|
<xpath expr="//div[@id='order_reference']" position="after">
|
|
<div class="col-xs-12 col-md-6 o_setting_box">
|
|
<div class="o_setting_left_pane">
|
|
<field name="is_custom_receipt"/>
|
|
</div>
|
|
<div class="o_setting_right_pane">
|
|
<label for="receipt_design_id"/>
|
|
<div class="text-muted">
|
|
Use Custom Receipt Design
|
|
</div>
|
|
<div class="content-group mt16">
|
|
<field name="receipt_design_id" attrs="{'invisible':
|
|
[('is_custom_receipt', '=', False)]}"/>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</xpath>
|
|
</field>
|
|
</record>
|
|
</odoo>
|
|
|