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.
56 lines
2.8 KiB
56 lines
2.8 KiB
<?xml version="1.0" encoding="utf-8" ?>
|
|
<odoo>
|
|
<record id="pos_config_form_view_inherited" model="ir.ui.view">
|
|
<field name="name">pos.config.form.view.inherited</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='receipt']" position='inside'>
|
|
<div class="col-12 col-lg-6 o_setting_box" id="automate_check_invoice">
|
|
<div class="o_setting_left_pane">
|
|
<field name="invoice_auto_check"/>
|
|
</div>
|
|
<div class="o_setting_right_pane">
|
|
<label for="invoice_auto_check">Auto Check Invoice Button</label>
|
|
<div class="text-muted">
|
|
Auto check the invoice button
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div id="automate_invoice" class="col-12 col-lg-6 o_setting_box">
|
|
<div class="o_setting_right_pane">
|
|
<span class="o_form_label">Button Operation</span>
|
|
<div class="text-muted">
|
|
Invoice button operation
|
|
</div>
|
|
<div class="content-group mt16">
|
|
<field name="button_operation"/>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div id="send_mail_cron" class="col-12 col-lg-6 o_setting_box">
|
|
<div class="o_setting_right_pane">
|
|
<span class="o_form_label">Send By Email Cron</span>
|
|
<div class="text-muted">
|
|
Select Interval for cron and click on start/stop button to start or stop cron
|
|
</div>
|
|
<div class="content-group mt16 ml16 row">
|
|
<field name="interval" class="col-lg-3 o_light_label"/>
|
|
<field name="period" class="col-lg-3"/>
|
|
<field name="is_stopped" invisible="1"/>
|
|
<field name="is_started" invisible="1"/>
|
|
<button name="start_cron" type="object"
|
|
string="Start" class="btn-primary"
|
|
attrs="{'invisible': [('is_started', '=', True)]}"/>
|
|
<button name="stop_cron" type="object"
|
|
string="Stop" class="btn-primary"
|
|
attrs="{'invisible': [('is_stopped', '=', True)]}"/>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
</xpath>
|
|
</field>
|
|
</record>
|
|
|
|
</odoo>
|