From 99fe7f20cc51d7041ed20a674965ef9c34e357ad Mon Sep 17 00:00:00 2001 From: Abdul Aziz Amrullah Date: Mon, 4 May 2026 09:33:41 +0700 Subject: [PATCH] update manifest.py --- __manifest__.py | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/__manifest__.py b/__manifest__.py index c9ca0dd..4aa80c1 100644 --- a/__manifest__.py +++ b/__manifest__.py @@ -3,9 +3,18 @@ 'version': '1.0', 'category': 'Point of Sale', 'summary': 'Configure the decimal precision of reward points in POS loyalty rules', - 'author': 'Aziz', + 'author': 'Abdul Aziz Amrullah', 'description': """ -This module allows administrators to configure the number of decimal places for the reward_point_amount field in loyalty programs directly from the Point of Sale settings. +POS Reward Point Digits Module +============================== +This module provides a dedicated setting within the Point of Sale configuration to manage the decimal precision of the 'reward_point_amount' field used in Odoo's loyalty programs. + +By default, Odoo restricts this field to a standard 2 decimal places. With this module installed, administrators can: +- Dynamically alter the allowed digits after the decimal point (e.g., from 2 to 4 digits). +- Ensure constraints and backend data storage for rewards align with the configured precision. +- Prevent truncation of high-precision reward point values. + +A new 'Reward Point' decimal precision record is created, and the POS Settings view is extended to include an easy-to-use integer widget under the 'Pricing' section. """, 'depends': ['point_of_sale', 'pos_loyalty', 'loyalty'], 'data': [