Commit Graph
7 Commits
Author SHA1 Message Date
Gorash 774a3fad0e [REF] base,all: Update modifier syntax: view migration
Apply of the migration script to update all view modifiers.

Part-of: odoo/odoo#104741
2023-08-18 09:49:13 +02:00
tong-odoo 910756df63 [FIX] account_qr_code_emv, l10n_*: fix emv_qr_vals format
Steps to reproduce:

- Create any emv_qr_code. Set merchant name with a Vietname accent
- Set amount to a integer number

Current behaviour:

- An EMV QR Code will be generated with accent merchant name, and the amount
include .0 value

Expected behaviour:

- The EMV QR Code change change the accent value to alphabet. And the amount should
not contain .0 if the amount is an integer

closes odoo/odoo#131852

X-original-commit: 158f8090ef30065b97ebe8b15b0bf73fff6a9ac4
Signed-off-by: Nicolas Viseur (vin) <vin@odoo.com>
Signed-off-by: Tommy Ng (tong) <tong@odoo.com>
2023-08-14 06:17:00 +02:00
tong-odoo 14221a596b [IMP] l10n_vn: add Vietnam Bank QR code payment for invoice
Impacted Version:

- saas-16.4 and above

This commit improve below features:

- Add Vietnam Bank QR code payment for invoice based on below github repository
https://github.com/anhjean/vietqr

task-3344654

closes odoo/odoo#127689

Related: odoo/documentation#5043
Signed-off-by: Nicolas Viseur (vin) <vin@odoo.com>
2023-07-20 06:40:43 +02:00
Tommy (tong) 799e0ff84c [IMP] account_qr_code_emv,l10n_hk: code refractoring for reusing
Impacted versions:

- saas-16.4 or above

This commit improve below features:

- Move country_code to account_qr_code_emv
- Add _serialize method to compute the qr_code_vals
- Fix additional data field should return if country_code mismatched
- Merge fields l10n_hk_fps_type to proxy_type
- Merge fields l10n_hk_fps_identifier to proxy_value
- Add include_reference boolean to res.partner.bank

Part-of: odoo/odoo#122802
2023-06-15 17:36:14 +02:00
Tommy (tong) 17ff8fa45c [IMP] account_qr_code_emv,l10n_hk: add reference to emv qr code
Impacted versions:

- saas-16.3

Changes:

This commit improve below features:

- Add additional data field into qr code vals
- Override the additional data field in l10n_hk to support the new field
- Update l10n_hk unit tests
- Change FPS Identifier label

closes odoo/odoo#122224

X-original-commit: 27b729709e78855721111f6f8b34cd0532147ec8
Signed-off-by: Nicolas Viseur (vin) <vin@odoo.com>
Signed-off-by: Tommy Ng (tong) <tong@odoo.com>
2023-05-24 09:49:19 +02:00
Martin Trigaux 077bbd0b0b [I18N] *: export master source terms
closes odoo/odoo#121563

Related: odoo/enterprise#41140
Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2023-05-17 10:34:00 +02:00
Tommy (tong) 373e023fe5 [ADD] account_qr_code_emv
- This is a bridge module to provide support for EMV Merchant-Presented
QR-code generation for Payment System.
- Other accounting localisation module will override _get_merchant_account_info
method to construct the qr code parameters. This module will help creating the
crc16 check sum to append in the qr code vals.

Part-of: odoo/odoo#120050
2023-05-15 11:41:26 +02:00