Skip to content

[ADD] pos_second_uom: allow selling products in secondary unit of mea…#1317

Draft
habar-odoo wants to merge 1 commit into
odoo:19.0from
odoo-dev:19.0-pos-second-uom-habar
Draft

[ADD] pos_second_uom: allow selling products in secondary unit of mea…#1317
habar-odoo wants to merge 1 commit into
odoo:19.0from
odoo-dev:19.0-pos-second-uom-habar

Conversation

@habar-odoo
Copy link
Copy Markdown

@habar-odoo habar-odoo commented Jun 3, 2026

This PR introduces a specific customization for the Point of Sale (POS) application to allow cashiers to sell products using a secondary Unit of Measure (UoM).

As per the client's request for a quick and cost-effective turnaround, this feature is tailored specifically to their needs without implementing a complex, fully generic multi-UoM module.

Specification

  • Product Form Configuration:
    • Added a new many2one field pos_second_uom_id for the secondary unit of measure.
    • Restricted the selection to UoMs within the same category as the product's primary UoM, where the ratio equals 1.
  • POS Interface Enhancements:
    • Introduced a new custom action button to trigger a quantity input popup for the secondary UoM.
    • Inputting a quantity and clicking "Confirm" calculates the main UoM quantity based on the UoM conversion ratio.
    • Updates the POS order line with the converted quantity while maintaining the original primary UoM on the line.

…sure

- Add a secondary UoM field on the product form, filtered by the same category.
- Introduce a new button in the POS interface to input quantity in the secondary
  UoM via a popup.
- Automatically convert and update the order line quantity based on the UoM
  ratio upon confirmation.

This provides a quick customization for specific client requirements without
implementing a fully generic framework.
@robodoo
Copy link
Copy Markdown

robodoo commented Jun 3, 2026

Pull request status dashboard

@habar-odoo habar-odoo requested a review from mash-odoo June 3, 2026 05:18
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.

2 participants