Open
Conversation
OCA Transbot updated translations from Transifex [UPD] Update pos_empty_home.pot
[FIX] Remove scrollbar when showing the empty page
[UPD] Update pos_empty_home.pot
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: pos-12.0/pos-12.0-pos_empty_home Translate-URL: https://translation.odoo-community.org/projects/pos-12-0/pos-12-0-pos_empty_home/
Currently translated at 100.0% (1 of 1 strings) Translation: pos-12.0/pos-12.0-pos_empty_home Translate-URL: https://translation.odoo-community.org/projects/pos-12-0/pos-12-0-pos_empty_home/ca/
Currently translated at 100.0% (1 of 1 strings) Translation: pos-12.0/pos-12.0-pos_empty_home Translate-URL: https://translation.odoo-community.org/projects/pos-12-0/pos-12-0-pos_empty_home/es/
[UPD] Update pos_empty_home.pot [UPD] README.rst
[UPD] Update pos_empty_home.pot [UPD] README.rst
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: pos-13.0/pos-13.0-pos_empty_home Translate-URL: https://translation.odoo-community.org/projects/pos-13-0/pos-13-0-pos_empty_home/
[UPD] Update pos_empty_home.pot [UPD] README.rst
Currently translated at 100.0% (4 of 4 strings) Translation: pos-14.0/pos-14.0-pos_empty_home Translate-URL: https://translation.odoo-community.org/projects/pos-14-0/pos-14-0-pos_empty_home/ca/
Translated using Weblate (Italian) Currently translated at 100.0% (7 of 7 strings) Translation: pos-14.0/pos-14.0-pos_empty_home Translate-URL: https://translation.odoo-community.org/projects/pos-14-0/pos-14-0-pos_empty_home/it/ [UPD] README.rst
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: pos-14.0/pos-14.0-pos_empty_home Translate-URL: https://translation.odoo-community.org/projects/pos-14-0/pos-14-0-pos_empty_home/ [FIX] *: Linter fixes
Currently translated at 100.0% (7 of 7 strings) Translation: pos-14.0/pos-14.0-pos_empty_home Translate-URL: https://translation.odoo-community.org/projects/pos-14-0/pos-14-0-pos_empty_home/es/
Currently translated at 100.0% (7 of 7 strings) Translation: pos-14.0/pos-14.0-pos_empty_home Translate-URL: https://translation.odoo-community.org/projects/pos-14-0/pos-14-0-pos_empty_home/fr/
thienvh332
reviewed
Jul 10, 2025
|
|
||
| get isShowEmptyHome() { | ||
| return this.pos.config.iface_empty_home && | ||
| this.pos.session._has_available_products && |
There was a problem hiding this comment.
Where did you get this.pos.session._has_available_products from?
For cases that require some context to understand properly, we should note that in the PR description to make it easier for reviewers (at Trobz and OCA) to follow.
Owner
Author
There was a problem hiding this comment.
Thank you, I noted.
this.pos.session._has_available_products checks if there are any available products in this POS.
02d86cc to
c3f9680
Compare
thienvh332
approved these changes
Jul 11, 2025
c3f9680 to
127ac76
Compare
127ac76 to
15b237d
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Migration
pos_empty_homefrom version 14.0 to version 18.0.This module extends
Odoo Point Of Salefeatures, displaying an empty page if:iface_empty_homeis True inpos.configThis module is interesting to avoid to display useless products, when user did not yet realized a search.
It can limits errors to avoid users to select undesired product.
In version 14.0:
In version 18.0: