Skip to content

[FIX] pos_display_*: refactor to show extra info only in Product screen #1384

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

Open
wants to merge 1 commit into
base: 18.0
Choose a base branch
from

Conversation

trisdoan
Copy link
Contributor

@trisdoan trisdoan commented May 16, 2025

This change

  • Before this commit, extra info were shown on Receipt,... which is prohibited in some countries
  • Beside, template customization was not versatile (replace standard with a wrapper div), comparing to new approach:
    • Take advantage of t-set-slot='details' from standard to add extra info
    • Ensure the extra info is displayed on Product screen, not Receipt/Ticket/Customer display
    • Side-effect: don't need to add usePos service

Result

Before

before_pos

After

after_pos

Receipt

Odoo-POS

Before this commit, extra info were shown on Receipt,... which is
prohibited in some countries
@OCA-git-bot
Copy link
Contributor

Hi @henrybackman,
some modules you are maintaining are being modified, check this out!

@sebduch73
Copy link

Hello.
I have test the modules and it's ok.
@ivantodorovich can you validate the PR to OCA ? thx a lot

Copy link
Contributor

@ivantodorovich ivantodorovich left a comment

Choose a reason for hiding this comment

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

Looks good ! Thanks!

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.

4 participants