[FIX] point_of_sale: loyalty feature no name
Current behaviour: In point of sale settings, in the Pricing section, the loyalty feature has no name, only a description. Steps to reproduce: 1. Head to the settings 2. Navigate to Point of Sale 3. Scroll to the Pricing section 4. One of the feature has no name 5. Only a description: "Manage promotion that will ..." Cause of the issue: In the field component, the nolabel attribute was set on 1, which made sense in 16.0 before the standardization of the settings. opw-3284475 closes odoo/odoo#120046 X-original-commit: 0331151231b5b86ca852c713a0401b98ce982606 Signed-off-by: Nicolas Lempereur (nle) <nle@odoo.com> Signed-off-by: Demany Antoine (ande) <ande@odoo.com>
This commit is contained in:
@@ -191,7 +191,7 @@
|
||||
</div>
|
||||
</setting>
|
||||
<setting id="pos-loyalty" title="Boost your sales with multiple kinds of programs: Coupons, Promotions, Gift Card, Loyalty. Specific conditions can be set (products, customers, minimum purchase amount, period). Rewards can be discounts (% or amount) or free products." string="Promotions, Coupons, Gift Card & Loyalty Program" help="Manage promotion that will grant customers discounts or gifts">
|
||||
<field name="module_loyalty" nolabel="1"/>
|
||||
<field name="module_loyalty"/>
|
||||
</setting>
|
||||
</block>
|
||||
|
||||
@@ -230,7 +230,7 @@
|
||||
|
||||
<block title="Payment" id="pos_payment_section">
|
||||
<setting id="payment_methods_new" string="Payment Methods" help="Payment methods available">
|
||||
<field name="pos_payment_method_ids" colspan="4" nolabel="1" widget="many2many_tags" attrs="{'readonly': [('pos_has_active_session','=', True)], 'required': [('pos_company_has_template', '=', True)]}" options="{'no_create': True}" />
|
||||
<field name="pos_payment_method_ids" colspan="4" widget="many2many_tags" attrs="{'readonly': [('pos_has_active_session','=', True)], 'required': [('pos_company_has_template', '=', True)]}" options="{'no_create': True}" />
|
||||
<div>
|
||||
<button name="%(action_payment_methods_tree)d" icon="fa-arrow-right" type="action" string="Payment Methods" class="btn-link"/>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user