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.
23 lines
1.1 KiB
23 lines
1.1 KiB
<?xml version="1.0" encoding="utf-8"?>
|
|
<odoo>
|
|
<!-- Inherited pos config for adding image field-->
|
|
<record id="pos_config_view_form" model="ir.ui.view">
|
|
<field name="name">pos.config.view.form.inherit.point.of.sale.logo
|
|
</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" position="after">
|
|
<div class="row mt16 o_settings_container">
|
|
<setting string="Receipt Logo Option"
|
|
help="Select which logo to display on the POS receipt: POS Logo, Company Logo, or Both.">
|
|
<field name="logo_option" widget="radio" options="{'horizontal': true}"/>
|
|
<div style="margin:10px;">
|
|
<field name="image" widget="image" invisible="logo_option == 'company'" required="logo_option != 'company'"/>
|
|
</div>
|
|
</setting>
|
|
</div>
|
|
</xpath>
|
|
</field>
|
|
</record>
|
|
</odoo>
|
|
|