update manifest.py

This commit is contained in:
Abdul Aziz Amrullah 2026-05-04 09:33:41 +07:00
parent 3169735c31
commit 99fe7f20cc

View File

@ -3,9 +3,18 @@
'version': '1.0', 'version': '1.0',
'category': 'Point of Sale', 'category': 'Point of Sale',
'summary': 'Configure the decimal precision of reward points in POS loyalty rules', 'summary': 'Configure the decimal precision of reward points in POS loyalty rules',
'author': 'Aziz', 'author': 'Abdul Aziz Amrullah',
'description': """ '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'], 'depends': ['point_of_sale', 'pos_loyalty', 'loyalty'],
'data': [ 'data': [