mirror of
https://github.com/bringout/oca-pos.git
synced 2026-04-24 08:01:59 +02:00
Move all OCA POS modules from oca-technical to dedicated oca-pos submodule
Reorganized 74 POS-related modules for better structure: - Moved all odoo-bringout-oca-pos-* packages from packages/oca-technical/ - Now organized in dedicated packages/oca-pos/ submodule - Includes payment, receipt, loyalty, order, product, and partner modules - Maintains all module functionality while improving project organization This creates a cleaner separation between general technical modules and Point of Sale specific functionality. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
parent
3791451dc1
commit
377f346a99
2675 changed files with 93308 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