[IMP] *: correct tyspo and erors

Also clarify messages

Part-of: odoo/odoo#101659
This commit is contained in:
Martin Trigaux
2022-09-30 09:31:52 +02:00
parent 39efb6116a
commit e1af8cd69c
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -212,7 +212,7 @@ class Meeting(models.Model):
MONTH_BY_SELECTION, string='Option', compute='_compute_recurrence', readonly=False)
day = fields.Integer('Date of month', compute='_compute_recurrence', readonly=False)
weekday = fields.Selection(WEEKDAY_SELECTION, compute='_compute_recurrence', readonly=False)
byday = fields.Selection(BYDAY_SELECTION, compute='_compute_recurrence', readonly=False)
byday = fields.Selection(BYDAY_SELECTION, string="By day", compute='_compute_recurrence', readonly=False)
until = fields.Date(compute='_compute_recurrence', readonly=False)
# UI Fields.
display_description = fields.Boolean(compute='_compute_display_description')
@@ -41,7 +41,7 @@
<label for="hr_presence_control_email" class="o_light_label"/>
</div>
<div class="d-flex ml32" attrs="{'invisible': ['|', ('module_hr_presence', '=', False), ('hr_presence_control_email', '=', False)]}">
<span class="flex-shrink-0 ml8 me-2">Minimum number of emails to sent </span>
<span class="flex-shrink-0 ml8 me-2">Minimum number of emails to send</span>
<field name="hr_presence_control_email_amount" class="ms-2 oe_inline"/>
</div>
<div class="d-flex" attrs="{'invisible': [('module_hr_presence', '=', False)]}">
+1 -1
View File
@@ -31,7 +31,7 @@
</group>
<group attrs="{'invisible': [('user_has_debug', '=', False), ('program_type', 'not in', ('loyalty', 'buy_x_get_y'))]}">
<separator string="Point(s)" colspan="2"/>
<span colspan="2" attrs="{'invisible': [('program_type', '!=', 'coupons')]}">Grant the amount of coupon popints defined as the coupon value</span>
<span colspan="2" attrs="{'invisible': [('program_type', '!=', 'coupons')]}">Grant the amount of coupon points defined as the coupon value</span>
<label for="reward_point_amount" string="Grant" attrs="{'invisible': [('program_type', 'not in', ('promotion', 'promo_code', 'next_order_coupons', 'loyalty', 'buy_x_get_y'))]}"/>
<div class="d-flex flex-row" attrs="{'invisible': [('program_type', 'not in', ('promotion', 'promo_code', 'next_order_coupons', 'loyalty', 'buy_x_get_y'))]}">
<field name="reward_point_amount" class="oe_inline me-1"/>