1- .. image :: https://odoo-community.org/readme-banner-image
2- :target: https://odoo-community.org/get-involved?utm_source=readme
3- :alt: Odoo Community Association
4-
51======================
62Product Secondary Unit
73======================
@@ -17,7 +13,7 @@ Product Secondary Unit
1713.. |badge1 | image :: https://img.shields.io/badge/maturity-Production%2FStable-green.png
1814 :target: https://odoo-community.org/page/development-status
1915 :alt: Production/Stable
20- .. |badge2 | image :: https://img.shields.io/badge/license -AGPL--3-blue.png
16+ .. |badge2 | image :: https://img.shields.io/badge/licence -AGPL--3-blue.png
2117 :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
2218 :alt: License: AGPL-3
2319.. |badge3 | image :: https://img.shields.io/badge/github-OCA%2Fproduct--attribute-lightgray.png?logo=github
@@ -40,6 +36,48 @@ other units with their conversion factor.
4036.. contents ::
4137 :local:
4238
39+ Configuration
40+ =============
41+
42+ To configure this module, go to **Settings ** and locate the **Units of
43+ Measure ** section.
44+
45+ Secondary Unit Price Display
46+ ----------------------------
47+
48+ Configure how unit prices and quantities are shown in reports when
49+ secondary units are used.
50+
51+ - **Sales **: Select the display policy for sales order and customer
52+ invoice reports and portal views.
53+ - **Purchase **: Select the display policy for purchase order and vendor
54+ bill reports and portal views.
55+
56+ Available options:
57+
58+ - **Primary Unit Price Only **: Show only the primary unit price.
59+ - **Prioritize Secondary Unit Price **: Show the secondary unit price
60+ when available, otherwise fall back to the primary unit price.
61+ - **Both Primary and Secondary Unit Prices **: Show both primary and
62+ secondary unit prices.
63+
64+ Hide Secondary Qty Column
65+ -------------------------
66+
67+ Hide the separate **Second Qty ** column in reports.
68+
69+ - When enabled, the **Second Qty ** column is hidden in reports. The
70+ secondary quantity can still be shown in the main **Qty ** column
71+ depending on the selected price display policy above.
72+ - Apply the setting per document type:
73+
74+ - **Sales **
75+ - **Purchase **
76+
77+ These settings are intended to be used by dependency modules (for
78+ example, ``purchase_order_secondary_unit `` and
79+ ``account_move_secondary_unit ``).
80+
4381Usage
4482=====
4583
@@ -70,11 +108,14 @@ Authors
70108Contributors
71109------------
72110
73- - Carlos Dauden <carlos.dauden@tecnativa.com>
74- - Sergio Teruel <sergio.teruel@tecnativa.com>
75- - Kitti Upariphutthiphong <kittiu@ecosoft.co.th>
76- - Pimolnat Suntian <pimolnats@ecosoft.co.th>
77- - Alan Ramos <alan.ramos@jarsa.com.mx>
111+ - Carlos Dauden <carlos.dauden@tecnativa.com>
112+ - Sergio Teruel <sergio.teruel@tecnativa.com>
113+ - Kitti Upariphutthiphong <kittiu@ecosoft.co.th>
114+ - Pimolnat Suntian <pimolnats@ecosoft.co.th>
115+ - Alan Ramos <alan.ramos@jarsa.com.mx>
116+ - `Quartile <https://www.quartile.co >`__:
117+
118+ - Aung Ko Ko Lin
78119
79120Maintainers
80121-----------
0 commit comments