LaOsaCoop/Odoo16#14 add pos_require_product_quantity
This commit is contained in:
parent
468e3267ec
commit
b34eaceda5
16 changed files with 826 additions and 0 deletions
25
pos_require_product_quantity/views/pos_config.xml
Normal file
25
pos_require_product_quantity/views/pos_config.xml
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
<?xml version="1.0" ?>
|
||||
<odoo>
|
||||
|
||||
<record id="pos_config_view_form" model="ir.ui.view">
|
||||
<field name="name">pos.config.form.view.inherit</field>
|
||||
<field name="model">res.config.settings</field>
|
||||
<field name="inherit_id" ref="point_of_sale.res_config_settings_view_form" />
|
||||
<field name="arch" type="xml">
|
||||
<xpath expr="//div[@id='pos_interface_section']" position="inside">
|
||||
<div class="col-xs-12 col-lg-6 o_setting_box">
|
||||
<div class="o_setting_left_pane">
|
||||
<field name="require_product_quantity" />
|
||||
</div>
|
||||
<div class="o_setting_right_pane">
|
||||
<label for="require_product_quantity" />
|
||||
<div class="text-muted">
|
||||
Show pop-up when product quantity is set to 0 for one or more order lines when clicking on "Payment" button.
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</xpath>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
</odoo>
|
||||
Loading…
Add table
Add a link
Reference in a new issue