summaryrefslogtreecommitdiff
path: root/addons/gamification/data
diff options
context:
space:
mode:
authorJoren Van Onder <jov@odoo.com>2015-11-20 12:57:41 +0100
committerJoren Van Onder <jov@odoo.com>2015-11-20 13:33:44 +0100
commit8cd0127af300efd7f33bc45935912d75ca92f8b0 (patch)
tree8bb08ca5fe528266444524cfdbb6cd22c28d8713 /addons/gamification/data
parentebcc2ea4eb45f09d195c34d6cd1cecbb95093a32 (diff)
[IMP] pos_discount: usability improvements regarding discount setup
Before this, setting up the discount on a pos_config was a bit confusing. Although iface_discount was enabled by default on the pos_config, the discount button would not show up in the actual POS. The reason for this is that the discount button only shows up when a discount product has been set, and there is no default for that. So in order to make things a bit clearer the following has been done: - Group discount related options together - Only show discount product and default percentage field when using discount - Rename 'Discount percentage' -> 'Default percentage' - Default iface_discount to False (because a discount_product_id has to be manually set anyway) - Make discount_product_id required when discount is enabled - Only allow discount_product_id candidates that have available_in_pos set, because the POS frontend only loads those products
Diffstat (limited to 'addons/gamification/data')
0 files changed, 0 insertions, 0 deletions