Skip to content

Conversation

@remytms
Copy link
Contributor

@remytms remytms commented Aug 20, 2025

The Odoo e-commerce allows to show a reference price next to the main price of the product (when properly enabled see Configuration). This Reference Price is only displayed on the product page, not on the list preview of all products.

This module displays a reference price (a price per unit of measure) on the product list preview of the web shop.

website_sale_uom_price_list_preview

@rafaelbn
Copy link
Member

rafaelbn commented Aug 21, 2025

Hello @remytms , this is a Odoo core function, the module is not needed in my opinion 😅💙

Copy link

@Shide Shide left a comment

Choose a reason for hiding this comment

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

Some suggestions, but works fine. Good contrib!

image image

Comment on lines 4 to 5
Option "Product Reference Price" should be activated to show price per
UoM in the list preview.
Copy link

@Shide Shide Aug 21, 2025

Choose a reason for hiding this comment

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

suggestion: Run pre-commit and try to increase module documentation and why it's needed.

  • Add code suggestion on the CONFIGURE.rst in readme folder
  • Explain why this module is needed con CONTEXT.rst
  • Add explanation to the PR description.
Suggested change
Option "Product Reference Price" should be activated to show price per
UoM in the list preview.
Go to Website > Configuration > Settings and activate *Product Reference Price* under *Shop - Products* group.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thanks for this review !

@Shide
Copy link

Shide commented Aug 21, 2025

Hello @remytms , this is a Odoo core function, the module is not needed in my opinion 😅💙

I think this module is legit because Odoo doesn't cover this situation and it's very interesting to show the price per another UoM in the list view. Not only on the form view.

@remytms remytms force-pushed the 16.0-add-website_sale_show_uom branch 2 times, most recently from 04efcbd to 97b0351 Compare August 21, 2025 15:18
@remytms remytms force-pushed the 16.0-add-website_sale_show_uom branch from 97b0351 to c6f986f Compare August 21, 2025 15:33
@remytms
Copy link
Contributor Author

remytms commented Aug 21, 2025

@Shide I improved the readme as suggested. I also added some screenshot. Thanks for your review.

@remytms
Copy link
Contributor Author

remytms commented Aug 21, 2025

@rafaelbn This module focus on showing the reference price on the product list preview. Odoo standard show it only on the page of a product. I'm sorry if my first message wasn't clear.

@Shide
Copy link

Shide commented Aug 22, 2025

@Shide I improved the readme as suggested. I also added some screenshot. Thanks for your review.

Now it's complete ❤️

Copy link
Member

@chienandalu chienandalu left a comment

Choose a reason for hiding this comment

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

Thanks :)

@remytms
Copy link
Contributor Author

remytms commented Aug 23, 2025

@chienandalu @Shide Thanks for theses quick review ! :)

@OCA-git-bot
Copy link
Contributor

This PR has the approved label and has been created more than 5 days ago. It should therefore be ready to merge by a maintainer (or a PSC member if the concerned addon has no declared maintainer). 🤖

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants