Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

16.0 mig pos customer wallet continue #353

Draft
wants to merge 79 commits into
base: 16.0
Choose a base branch
from
Draft
Changes from 1 commit
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
Prev Previous commit
Next Next commit
[FIX] account_customer_wallet: Write account_wallet to res.company in…
…stead of settings

Signed-off-by: Carmen Bianca Bakker <carmen@coopiteasy.be>
Signed-off-by: Carmen Bianca BAKKER <carmen@coopiteasy.be>
  • Loading branch information
carmenbianca authored and legalsylvain committed Mar 10, 2025
commit 72c0360740b84365427ce5cc2533442ab5330fc6
9 changes: 1 addition & 8 deletions pos_customer_wallet/models/pos_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,6 @@ class PosConfig(models.Model):
_inherit = "pos.config"

is_enabled_customer_wallet = fields.Boolean(
related="company_id.customer_wallet",
string="Is Customer Wallet Enabled",
compute="_compute_is_enabled_customer_wallet",
)

def _compute_is_enabled_customer_wallet(self):
result = self.env["ir.config_parameter"].get_param(
"account_customer_wallet.customer_wallet"
)
for pos_config in self:
pos_config.is_enabled_customer_wallet = result