mirror of
https://github.com/bringout/oca-ocb-pos.git
synced 2026-04-25 09:22:00 +02:00
Initial commit: Pos packages
This commit is contained in:
commit
95dfb9edb0
1301 changed files with 264148 additions and 0 deletions
|
|
@ -0,0 +1,6 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
<data noupdate="1">
|
||||
<function model="pos.config" name="_default_discount_value_on_module_install"/>
|
||||
</data>
|
||||
</odoo>
|
||||
|
|
@ -0,0 +1,20 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
<record id="res_config_settings_view_form" model="ir.ui.view">
|
||||
<field name="name">res.config.settings.view.form.inherit.pos_discount</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">
|
||||
<div id="warning_text_pos_discount" position="replace">
|
||||
<div class="row">
|
||||
<label string="Discount Product" for="pos_discount_product_id" class="col-lg-3 o_light_label"/>
|
||||
<field name="pos_discount_product_id" attrs="{'required':[('pos_module_pos_discount', '=', True)]}"/>
|
||||
</div>
|
||||
<div class="row">
|
||||
<label string="Discount %" for="pos_discount_pc" class="col-lg-3 o_light_label"/>
|
||||
<field name="pos_discount_pc"/>
|
||||
</div>
|
||||
</div>
|
||||
</field>
|
||||
</record>
|
||||
</odoo>
|
||||
Loading…
Add table
Add a link
Reference in a new issue