Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
79 commits
Select commit Hold shift + click to select a range
085c48d
[ADD] pos_customer_wallet
carmenbianca Apr 7, 2022
765e096
[ADD] pos_customer_wallet: Display wallet balance on POS payment screen
carmenbianca Apr 7, 2022
b3579ab
[ADD] pos_customer_wallet: Make global module toggle available in pos…
carmenbianca Apr 8, 2022
56f163a
[ADD] pos_customer_wallet: Journal demo data
carmenbianca Apr 11, 2022
5011d31
[ADD] pos_customer_wallet: Mandate selected customer when using walle…
carmenbianca Apr 13, 2022
d1dd4a6
[ADD] pos_customer_wallet: Check sufficient balance before POS purchase
carmenbianca Apr 13, 2022
72c0360
[FIX] account_customer_wallet: Write account_wallet to res.company in…
carmenbianca Apr 19, 2022
dd55ba1
[ADD] pos_customer_wallet: Recompute balance based on POS statement l…
carmenbianca Apr 20, 2022
3d2a38a
[ADD] pos_account_wallet: Update wallet balance in POS
carmenbianca Apr 21, 2022
c615a34
[FIX] pos_customer_wallet: Update write_date on computation of wallet…
carmenbianca Apr 21, 2022
b473c95
[REM] account_customer_wallet: Remove some fields and api.depends lines
carmenbianca Apr 22, 2022
1a673ca
[ADD] pos_customer_wallet: Tests
carmenbianca Apr 22, 2022
2aa883b
[REF] pos_customer_wallet: Re-implement wallet computation using part…
carmenbianca Apr 22, 2022
b92518d
[REM] account_customer_wallet: Custom wallet toggle; depend on whethe…
carmenbianca Apr 22, 2022
0c4c71a
[FIX] account_customer_wallet: Search balance on all partners in fami…
carmenbianca Apr 28, 2022
1401fbd
[FIX] pos_customer_wallet: Avoid null error when no customer is selected
carmenbianca May 5, 2022
079b3c6
[ADD] account_customer_wallet: README.rst
carmenbianca May 6, 2022
fb776ec
[UPD] Update pos_customer_wallet.pot
May 6, 2022
073bbd1
[FIX] pos_customer_wallet: Partner form should not break for users wi…
carmenbianca Jun 15, 2022
642121c
pos_customer_wallet 12.0.1.0.1
github-grap-bot Jun 23, 2022
5e57552
[FIX] SCRLfs → SC
carmenbianca Jun 29, 2022
5b3b0d3
[ADD] pos_customer_wallet: Show balance on ticket
remytms May 25, 2022
acccb35
[FIX] pos_customer_wallet: typo
remytms May 25, 2022
ce8d94c
[REF] *_customer_wallet: Create partner.get_all_partners_in_family
carmenbianca Jun 15, 2022
5a3c8ba
[ADD] pos_customer_wallet_is_user
carmenbianca Jun 15, 2022
a252e07
[ADD] *_customer_wallet: Change log entries
carmenbianca Jun 16, 2022
35c619b
[UPD] Update pos_customer_wallet.pot
Jul 8, 2022
6e708b0
[UPD] changelog
github-grap-bot Jul 8, 2022
bcb7ff9
[UPD] README.rst
github-grap-bot Jul 8, 2022
0a307b8
pos_customer_wallet 12.0.1.1.0
github-grap-bot Jul 8, 2022
634e0f8
[FIX] SCRL fs → SC
carmenbianca Jul 11, 2022
3cecb81
[FIX] pos_customer_wallet : makes the modules working in an non proxy…
legalsylvain Aug 9, 2022
089bc0f
[REF] move overload function at the beginning of the javascript file,…
legalsylvain Aug 9, 2022
4f24370
[FIX] force user to select a customer if wallet payment are selected,…
legalsylvain Aug 9, 2022
beb27b7
[ADD] implement wallet credit with product in the Point of Sale front…
legalsylvain Aug 9, 2022
77b9642
[IMP] pos_customer_wallet : do not display wallet balance on ticket i…
legalsylvain Aug 9, 2022
4906c22
[IMP] pos_customer_wallet : display wallet balance on client detail s…
legalsylvain Aug 9, 2022
9d78873
[REF] pos_customer_wallet : refactor code and create a sub function t…
legalsylvain Aug 9, 2022
6211e60
[IMP] pos_customer_wallet : update partner wallet balance with pendin…
legalsylvain Aug 9, 2022
df1ddec
[REF] Add GRAP as coauthor of the wallet modules
legalsylvain Aug 9, 2022
815657c
[i18n] update pot files and add fr translations
legalsylvain Sep 5, 2022
b1595a7
[IMP] pos_customer_wallet : return early if no partners
legalsylvain Sep 9, 2022
57693b6
[TR] update fr translation
legalsylvain Sep 12, 2022
1c85e0a
[FIX] pos_customer_wallet: Use where_calc method in pos_order_line co…
carmenbianca Sep 15, 2022
c55e7ae
[FIX] do not displayed 'undefined' where creating a new customer via UI
legalsylvain Sep 26, 2022
7460575
[PERF] refactor get_wallet_balance_pos_order_line(). 6 requests for 1…
legalsylvain Feb 28, 2023
5079555
[REF] refactor _compute_customer_wallet_balance overload. Do not dupl…
legalsylvain Feb 28, 2023
da05549
[IMP] pos_customer_wallet : simplify PoS template
legalsylvain Feb 28, 2023
e3eb1a3
[IMP] pos_customer_wallet : display futur balance, if the order is co…
legalsylvain Feb 28, 2023
5259c20
[IMP] pos_customer_wallet : add possibility to have wallet negative
legalsylvain Feb 28, 2023
fcbec82
[translation] *_customer_wallet : update translation
legalsylvain Feb 28, 2023
103c091
[REF] Move minimum_wallet_amount field from pos.config to account.jou…
legalsylvain Mar 21, 2023
8d082b2
[REF] pos_customer_wallet : create a function is_balance_above_minimu…
legalsylvain Mar 21, 2023
fd86c70
[FIX] allow user to access to the wallet amount even if they are not …
legalsylvain Mar 21, 2023
dbd9b46
[UPD] Update pos_customer_wallet.pot
Mar 25, 2023
eabb2ea
[UPD] README.rst
github-grap-bot Mar 25, 2023
33398ee
[FIX] pos_customer_wallet[_partner_is_user]: Pass required argument
carmenbianca Jun 26, 2023
f49a4e5
pos_customer_wallet 12.0.2.1.0
github-grap-bot Jun 29, 2023
49a5979
[FIX] pos_customer_wallet[_*]: Rename foodprint class
carmenbianca Sep 9, 2022
0543a1a
[FIX] pos_customer_wallet_[*]: Repair maintainer tags in manifest
carmenbianca Jun 30, 2023
e6c09e3
[UPD] Run prettier
carmenbianca Jun 30, 2023
13ee7aa
[UPD] README.rst
github-grap-bot Jun 30, 2023
65d7b72
pos_customer_wallet 12.0.2.1.1
github-grap-bot Jun 30, 2023
e34dd76
[UPD] Update pos_customer_wallet.pot
Jun 30, 2023
a5df49c
[IMP] pos_customer_wallet: black, isort, prettier
carmenbianca Jul 5, 2023
21a2f5a
[MIG] pos_customer_wallet: Migration to 13.0
carmenbianca Jul 5, 2023
1fa7ba0
[MIG] pos_customer_wallet: Migration to 14.0
carmenbianca Jul 5, 2023
454a283
[MIG] pos_customer_wallet: Migration to 15.0
carmenbianca Jul 6, 2023
9434388
[MIG] pos_customer_wallet: Migration to 16.0
carmenbianca Jul 6, 2023
c145f7c
[FIX] pos_customer_wallet: Remove dependency on base_suspend_security
carmenbianca Jul 7, 2023
4104a43
[REF] pos_customer_wallet: Use ORM instead of SQL queries
carmenbianca Sep 4, 2023
8c70c5b
[REM] pos_customer_wallet: Remove bank statement line method of walle…
carmenbianca Sep 8, 2023
a27cd3c
[FIX] pos_customer_wallet: Run pre-commit + satisfy eslint
carmenbianca Sep 8, 2023
6d39eba
[FIX] pos_customer_wallet: Add some copyright headers
carmenbianca Sep 8, 2023
3dee566
fixup! [MIG] pos_customer_wallet: Migration to 16.0
carmenbianca Sep 18, 2023
deca7d4
fixup! [MIG] pos_customer_wallet: Migration to 16.0
carmenbianca Sep 18, 2023
71332b2
[REF] *_customer_wallet: run pre-commit with latest version
legalsylvain Mar 10, 2025
7163ed0
[IMP] account_customer_wallet: Avoid misconfiguration. No need to con…
legalsylvain Mar 10, 2025
df8b56e
[IMP] account_customer_wallet: add a banner on payment form, to menti…
legalsylvain Mar 10, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion account_customer_wallet/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,8 @@ Setting this up requires a few careful steps:
- In the Invoicing settings, set the Customer Wallet Account to the previously
created account.
- (Optional) Create a product (Wallet Product), and enable the Wallet Product
toggle. Set the income and expense account to the previously created account.
toggle. Set the income and expense account will be automatically the Customer
wallet account previously created.

Changelog
=========
Expand Down
1 change: 1 addition & 0 deletions account_customer_wallet/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
from . import models
from . import wizards
1 change: 1 addition & 0 deletions account_customer_wallet/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
"views/product_template_views.xml",
"views/res_config_settings_views.xml",
"views/res_partner_views.xml",
"wizards/account_payment_register_views.xml",
],
"demo": [
"demo/account_account_demo.xml",
Expand Down
13 changes: 10 additions & 3 deletions account_customer_wallet/models/product_template.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,14 @@ class ProductTemplate(models.Model):

is_customer_wallet_product = fields.Boolean(
string="Wallet Product",
help="Check this box if this product is used to credit"
" customer wallets. Important note : you should set the"
" the same income and expense account as the journal wallet.",
help="Check this box if this product is used to credit" " customer wallets.",
)

def _get_product_accounts(self):
if self.is_customer_wallet_product:
company = self.company_id or self.env.company
return {
"income": company.customer_wallet_account_id,
"expense": company.customer_wallet_account_id,
}
return super()._get_product_accounts()
3 changes: 2 additions & 1 deletion account_customer_wallet/readme/CONFIGURE.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,5 @@ Setting this up requires a few careful steps:
- In the Invoicing settings, set the Customer Wallet Account to the previously
created account.
- (Optional) Create a product (Wallet Product), and enable the Wallet Product
toggle. Set the income and expense account to the previously created account.
toggle. Set the income and expense account will be automatically the Customer
wallet account previously created.
23 changes: 13 additions & 10 deletions account_customer_wallet/static/description/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,11 @@

/*
:Author: David Goodger (goodger@python.org)
:Id: $Id: html4css1.css 8954 2022-01-20 10:10:25Z milde $
:Id: $Id: html4css1.css 9511 2024-01-13 09:50:07Z milde $
:Copyright: This stylesheet has been placed in the public domain.

Default cascading style sheet for the HTML output of Docutils.
Despite the name, some widely supported CSS2 features are used.

See https://docutils.sourceforge.io/docs/howto/html-stylesheets.html for how to
customize this style sheet.
Expand Down Expand Up @@ -274,7 +275,7 @@
margin-left: 2em ;
margin-right: 2em }

pre.code .ln { color: grey; } /* line numbers */
pre.code .ln { color: gray; } /* line numbers */
pre.code, code { background-color: #eeeeee }
pre.code .comment, code .comment { color: #5C6576 }
pre.code .keyword, code .keyword { color: #3B0D06; font-weight: bold }
Expand All @@ -300,7 +301,7 @@
span.pre {
white-space: pre }

span.problematic {
span.problematic, pre.problematic {
color: red }

span.section-subtitle {
Expand Down Expand Up @@ -366,14 +367,14 @@ <h1 class="title">Account Customer Wallet</h1>
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:0f9255d796d4f4aa7441b7b0351bf245ac3ab6ecc12f17eb5a3fd56aac0cfbb3
!! source digest: sha256:b7bc4c73dc40a6013af0515a28f25abe38fba21bf357c12a98693a84750f4059
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
<p><a class="reference external image-reference" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external image-reference" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/licence-AGPL--3-blue.png" /></a> <a class="reference external image-reference" href="https://github.com/coopiteasy/addons/tree/16.0/account_customer_wallet"><img alt="coopiteasy/addons" src="https://img.shields.io/badge/github-coopiteasy%2Faddons-lightgray.png?logo=github" /></a></p>
<p>Allow customers to pay using a wallet which is tracked by the company.</p>
<p><strong>Table of contents</strong></p>
<div class="contents local topic" id="contents">
<ul class="simple">
<li><a class="reference internal" href="#usage" id="toc-entry-1">Usage</a></li>
<li><a class="reference internal" href="#configuration" id="toc-entry-1">Configuration</a></li>
<li><a class="reference internal" href="#changelog" id="toc-entry-2">Changelog</a><ul>
<li><a class="reference internal" href="#section-1" id="toc-entry-3">12.0.1.2.0 (2022-07-08)</a></li>
</ul>
Expand All @@ -387,20 +388,22 @@ <h1 class="title">Account Customer Wallet</h1>
</li>
</ul>
</div>
<div class="section" id="usage">
<h1><a class="toc-backref" href="#toc-entry-1">Usage</a></h1>
<div class="section" id="configuration">
<h1><a class="toc-backref" href="#toc-entry-1">Configuration</a></h1>
<p>Setting this up requires a few careful steps:</p>
<ul class="simple">
<li>Make sure your user has access to all accounting features.</li>
<li>Create an account (Customer Wallet) that is a liability.</li>
<li>Create a journal (Customer Wallet). Enable the ‘Customer Wallet Journal’
toggle, set the Bank Account to the previously created account, and in the
payment methods (both incoming and outgoing), set the Outstanding Receipts
accounts to the previously created account.</li>
payment methods (both incoming and outgoing), set the Outstanding Receipts and
Outstanding Payments accounts to the previously created account. You may need
to toggle the visibility of these fields in the tables.</li>
<li>In the Invoicing settings, set the Customer Wallet Account to the previously
created account.</li>
<li>(Optional) Create a product (Wallet Product), and enable the Wallet Product
toggle. Set the income and expense account to the previously created account.</li>
toggle. Set the income and expense account will be automatically the Customer
wallet account previously created.</li>
</ul>
</div>
<div class="section" id="changelog">
Expand Down
1 change: 1 addition & 0 deletions account_customer_wallet/tests/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ def setUpClass(cls, *args, **kwargs):
[("type", "=", "sale")], limit=1
)
cls.payment_method = cls.env.ref("account.account_payment_method_manual_in")
cls.wallet_product = cls.env.ref("account_customer_wallet.product_wallet_demo")
cls.cash_account = cls.env["account.account"].search(
[("account_type", "=", "asset_cash")], limit=1
)
Expand Down
9 changes: 9 additions & 0 deletions account_customer_wallet/views/account_payment_views.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,15 @@
<field name="model">account.payment</field>
<field name="inherit_id" ref="account.view_account_payment_form" />
<field name="arch" type="xml">
<xpath expr="//header" position="after">
<div
class="alert alert-warning text-center"
attrs="{'invisible': ['|', ('is_customer_wallet_journal', '=', True), ('customer_wallet_balance', '&lt;=', '0')]}"
role="alert"
>
You can select the customer account journal for this customer.
</div>
</xpath>
<field name="journal_id" position="after">
<field name="is_customer_wallet_journal" invisible="1" />
<field
Expand Down
1 change: 1 addition & 0 deletions account_customer_wallet/wizards/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import account_payment_register
19 changes: 19 additions & 0 deletions account_customer_wallet/wizards/account_payment_register.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Copyright (C) 2022-Today: GRAP (http://www.grap.coop)
# @author: Sylvain LE GAL (https://twitter.com/legalsylvain)
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).

from odoo import fields, models


class AccountPayment(models.TransientModel):
_inherit = "account.payment.register"

is_customer_wallet_journal = fields.Boolean(
related="journal_id.is_customer_wallet_journal",
)

customer_wallet_balance = fields.Monetary(
string="Customer Wallet Balance",
currency_field="currency_id",
related="partner_id.customer_wallet_balance",
)
28 changes: 28 additions & 0 deletions account_customer_wallet/wizards/account_payment_register_views.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
<?xml version="1.0" encoding="utf-8" ?>
<!-- Copyright (C) 2025 - Today: GRAP (http://www.grap.coop)
@author: Sylvain LE GAL (https://twitter.com/legalsylvain)
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).-->
<odoo>
<record id="view_account_payment_register_form" model="ir.ui.view">
<field name="model">account.payment.register</field>
<field name="inherit_id" ref="account.view_account_payment_register_form" />
<field name="arch" type="xml">
<xpath expr="//div[@role='alert']" position="after">
<div
class="alert alert-warning text-center"
attrs="{'invisible': ['|', ('is_customer_wallet_journal', '=', True), ('customer_wallet_balance', '&lt;=', '0')]}"
role="alert"
>
You can select the customer account journal for this customer.
</div>
</xpath>
<field name="journal_id" position="after">
<field name="is_customer_wallet_journal" invisible="1" />
<field
name="customer_wallet_balance"
attrs="{'invisible': ['|', ('is_customer_wallet_journal', '=', False), ('partner_id', '=', False)]}"
/>
</field>
</field>
</record>
</odoo>
81 changes: 81 additions & 0 deletions pos_customer_wallet/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,81 @@
=============================
Point of Sale Customer Wallet
=============================

..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:8a76da9293cd9fdde70423bcf873f2325a232d6fb5629ee8fc39dc46f570bc4b
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
:target: https://odoo-community.org/page/development-status
:alt: Beta
.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-coopiteasy%2Faddons-lightgray.png?logo=github
:target: https://github.com/coopiteasy/addons/tree/16.0/pos_customer_wallet
:alt: coopiteasy/addons

|badge1| |badge2| |badge3|


**Table of contents**

.. contents::
:local:

Changelog
=========

12.0.1.1.0 (2022-07-08)
~~~~~~~~~~~~~~~~~~~~~~~

**Features**

- Customer wallet balance is now displayed on tickets. (`#237 <https://github.com/coopiteasy/addons/issues/237>`_)

Bug Tracker
===========

Bugs are tracked on `GitHub Issues <https://github.com/coopiteasy/addons/issues>`_.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us to smash it by providing a detailed and welcomed
`feedback <https://github.com/coopiteasy/addons/issues/new?body=module:%20pos_customer_wallet%0Aversion:%2016.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.

Do not contact contributors directly about support or help with technical issues.

Credits
=======

Authors
~~~~~~~

* Coop IT Easy SC
* GRAP

Contributors
~~~~~~~~~~~~

* `Coop IT Easy SC <https://coopiteasy.be>`_:

* Carmen Bianca Bakker
* Rémy Taymans

Maintainers
~~~~~~~~~~~

.. |maintainer-carmenbianca| image:: https://github.com/carmenbianca.png?size=40px
:target: https://github.com/carmenbianca
:alt: carmenbianca

Current maintainer:

|maintainer-carmenbianca|

This module is part of the `coopiteasy/addons <https://github.com/coopiteasy/addons/tree/16.0/pos_customer_wallet>`_ project on GitHub.

You are welcome to contribute.
1 change: 1 addition & 0 deletions pos_customer_wallet/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import models
33 changes: 33 additions & 0 deletions pos_customer_wallet/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# Copyright 2022 Coop IT Easy SC
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).

{
"name": "Point of Sale Customer Wallet",
"summary": """
Enable usage of the Customer Wallet in the Point of Sale.""",
"version": "16.0.1.0.0",
"category": "Point of Sale",
"website": "https://github.com/coopiteasy/addons",
"author": "Coop IT Easy SC,GRAP",
"maintainers": ["carmenbianca"],
"license": "AGPL-3",
"application": False,
"depends": [
"point_of_sale",
"account_customer_wallet",
# "base_suspend_security",
],
"excludes": [],
"assets": {
"point_of_sale.assets": [
"pos_customer_wallet/static/src/css/pos.css",
"pos_customer_wallet/static/src/js/**/*.js",
"pos_customer_wallet/static/src/xml/**/*.xml",
],
},
"data": [],
"demo": [
"demo/pos_payment_method_demo.xml",
"demo/product_product_demo.xml",
],
}
16 changes: 16 additions & 0 deletions pos_customer_wallet/demo/pos_payment_method_demo.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<?xml version="1.0" encoding="utf-8" ?>
<!--
SPDX-FileCopyrightText: 2023 Coop IT Easy SC
SPDX-License-Identifier: AGPL-3.0-or-later
-->
<odoo>

<record id="customer_wallet_payment_method" model="pos.payment.method">
<field name="name">Customer Wallet</field>
<field
name="journal_id"
eval="ref('account_customer_wallet.account_journal_customer_wallet_demo')"
/>
</record>

</odoo>
10 changes: 10 additions & 0 deletions pos_customer_wallet/demo/product_product_demo.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="utf-8" ?>
<!-- Copyright (C) 2022 - Today: GRAP (http://www.grap.coop)
@author: Sylvain LE GAL (https://twitter.com/legalsylvain)
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).-->
<odoo>
<record id="account_customer_wallet.product_wallet_demo" model="product.product">
<field name="available_in_pos" eval="True" />
</record>

</odoo>
Loading