Skip to content

[18.0][MIG] pos_meal_voucher: Migration to 18.0 - #15

Open
P-H-Phuc wants to merge 50 commits into
18.0from
18.0-mig-pos_meal_voucher
Open

[18.0][MIG] pos_meal_voucher: Migration to 18.0#15
P-H-Phuc wants to merge 50 commits into
18.0from
18.0-mig-pos_meal_voucher

Conversation

@P-H-Phuc

@P-H-Phuc P-H-Phuc commented May 8, 2026

Copy link
Copy Markdown
Owner

No description provided.

@P-H-Phuc
P-H-Phuc force-pushed the 18.0-mig-pos_meal_voucher branch from 3dbc1b0 to cb011fc Compare May 8, 2026 10:17
@P-H-Phuc
P-H-Phuc force-pushed the 18.0-mig-pos_meal_voucher branch 2 times, most recently from 8614b9c to 6afc3bd Compare May 27, 2026 08:43

@nguyenminhchien nguyenminhchien left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cannot scan the meal voucher barcode from payment screen which supported in 16.0

} else {
this.pos.showScreen("PaymentScreen", {
orderUuid: this.currentOrder.uuid,
});

This comment was marked as resolved.

@P-H-Phuc
P-H-Phuc force-pushed the 18.0-mig-pos_meal_voucher branch 2 times, most recently from 9943346 to f0a77bf Compare May 27, 2026 09:53
@P-H-Phuc
P-H-Phuc requested a review from nguyenminhchien May 27, 2026 10:03
nguyenminhchien

This comment was marked as resolved.

@P-H-Phuc
P-H-Phuc force-pushed the 18.0-mig-pos_meal_voucher branch from f0a77bf to 4a5c752 Compare May 27, 2026 13:34
this.payment_note = code.code;
return true;
},
is_paid() {

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you should override canBeValidated(..) instead of this one.

@P-H-Phuc
P-H-Phuc force-pushed the 18.0-mig-pos_meal_voucher branch from 4a5c752 to 4c81198 Compare May 28, 2026 07:27
legalsylvain and others added 18 commits July 2, 2026 15:52
[IMP] Guess meal_voucher_ok value based on categ_id value if meal_voucher_ok value is not provided during product creation
[IMP] Improve test coverage
[REF] rename onchange function to avoid conflict with other modules
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: pos-12.0/pos-12.0-pos_meal_voucher
Translate-URL: https://translation.odoo-community.org/projects/pos-12-0/pos-12-0-pos_meal_voucher/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: pos-12.0/pos-12.0-pos_meal_voucher
Translate-URL: https://translation.odoo-community.org/projects/pos-12-0/pos-12-0-pos_meal_voucher/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: pos-12.0/pos-12.0-pos_meal_voucher
Translate-URL: https://translation.odoo-community.org/projects/pos-12-0/pos-12-0-pos_meal_voucher/
oca-travis and others added 27 commits July 2, 2026 15:52
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: pos-12.0/pos-12.0-pos_meal_voucher
Translate-URL: https://translation.odoo-community.org/projects/pos-12-0/pos-12-0-pos_meal_voucher/
Currently translated at 56.2% (27 of 48 strings)

Translation: pos-12.0/pos-12.0-pos_meal_voucher
Translate-URL: https://translation.odoo-community.org/projects/pos-12-0/pos-12-0-pos_meal_voucher/it/
Currently translated at 58.3% (28 of 48 strings)

Translation: pos-12.0/pos-12.0-pos_meal_voucher
Translate-URL: https://translation.odoo-community.org/projects/pos-12-0/pos-12-0-pos_meal_voucher/it/
Currently translated at 100.0% (48 of 48 strings)

Translation: pos-12.0/pos-12.0-pos_meal_voucher
Translate-URL: https://translation.odoo-community.org/projects/pos-12-0/pos-12-0-pos_meal_voucher/it/
Co-authored-by: Iván Todorovich <ivan.todorovich@gmail.com>
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: pos-12.0/pos-12.0-pos_meal_voucher
Translate-URL: https://translation.odoo-community.org/projects/pos-12-0/pos-12-0-pos_meal_voucher/
Currently translated at 100.0% (52 of 52 strings)

Translation: pos-12.0/pos-12.0-pos_meal_voucher
Translate-URL: https://translation.odoo-community.org/projects/pos-12-0/pos-12-0-pos_meal_voucher/it/
Currently translated at 100.0% (52 of 52 strings)

Translation: pos-12.0/pos-12.0-pos_meal_voucher
Translate-URL: https://translation.odoo-community.org/projects/pos-12-0/pos-12-0-pos_meal_voucher/it/
Currently translated at 100.0% (52 of 52 strings)

Translation: pos-12.0/pos-12.0-pos_meal_voucher
Translate-URL: https://translation.odoo-community.org/projects/pos-12-0/pos-12-0-pos_meal_voucher/it/
* check whether paper meal voucher has already been scanned.
* update fr translation.

Co-authored-by: hugues de keyzer <odoo@hugues.info>
* move meal voucher totals just after the total.
* add non-eligible total amount.
@P-H-Phuc
P-H-Phuc force-pushed the 18.0-mig-pos_meal_voucher branch from 4c81198 to 3417cda Compare July 2, 2026 08:52
@P-H-Phuc
P-H-Phuc force-pushed the 18.0-mig-pos_meal_voucher branch from 3417cda to 4ff394a Compare July 2, 2026 10:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.