mirror of
https://github.com/bringout/oca-technical.git
synced 2026-04-23 23:52:04 +02:00
Initial commit: OCA Technical packages (595 packages)
This commit is contained in:
commit
2cc02aac6e
24950 changed files with 2318079 additions and 0 deletions
|
|
@ -0,0 +1,26 @@
|
|||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<odoo>
|
||||
|
||||
<record id="pos_payment_method_view_form" model="ir.ui.view">
|
||||
<field name="name">pos.payment.method.inherit.form</field>
|
||||
<field name="model">pos.payment.method</field>
|
||||
<field name="inherit_id" ref="point_of_sale.pos_payment_method_view_form" />
|
||||
<field name="arch" type="xml">
|
||||
<field name="split_transactions" position="after">
|
||||
<field name="credit_limit_restricted" />
|
||||
</field>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
<record id="pos_payment_method_view_tree" model="ir.ui.view">
|
||||
<field name="name">pos.payment.method.inherit.tree</field>
|
||||
<field name="model">pos.payment.method</field>
|
||||
<field name="inherit_id" ref="point_of_sale.pos_payment_method_view_tree" />
|
||||
<field name="arch" type="xml">
|
||||
<tree position="inside">
|
||||
<field name="credit_limit_restricted" optional="hide" />
|
||||
</tree>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
</odoo>
|
||||
|
|
@ -0,0 +1,37 @@
|
|||
<?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_financial_risk</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="payment_methods_new" position="after">
|
||||
<div
|
||||
class="col-12 col-lg-6 o_setting_box"
|
||||
id="payment_methods_restricted"
|
||||
>
|
||||
<div class="o_setting_right_pane">
|
||||
<span class="o_form_label">Credit Limit Restricted</span>
|
||||
<div class="text-muted">
|
||||
Payment methods with credit limit restricted
|
||||
</div>
|
||||
<div class="content-group mt16">
|
||||
<field
|
||||
name="pos_payment_credit_limit_restricted_ids"
|
||||
colspan="4"
|
||||
nolabel="1"
|
||||
widget="many2many_tags"
|
||||
attrs="{'readonly': [('pos_has_active_session','=', True)]}"
|
||||
options="{'no_create': True}"
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
</odoo>
|
||||
Loading…
Add table
Add a link
Reference in a new issue