[IMP]test in pms_automated_mails and pms_reservation

This commit is contained in:
braisab
2021-09-12 23:04:06 +02:00
parent 9e7b76da99
commit 8ea8e7976c
11 changed files with 656 additions and 64 deletions

View File

@@ -42,13 +42,13 @@
class="alert alert-warning"
role="alert"
style="margin-bottom:0px;"
attrs="{'invisible': [('possible_existing_customer_ids','=',False)]}"
attrs="{'invisible': [('is_possible_existing_customer_id','=',False)]}"
>
There is a customer with this email or mobile, do you want to add it to the reservation?
<field name="possible_existing_customer_ids" invisible="1" />
<field name="is_possible_existing_customer_id" invisible="1" />
<field
name="add_possible_customer"
attrs="{'invisible': [('possible_existing_customer_ids','=',False)]}"
attrs="{'invisible': [('is_possible_existing_customer_id','=',False)]}"
/>
</div>
<group name="group_top">

View File

@@ -59,13 +59,13 @@
class="alert alert-warning"
role="alert"
style="margin-bottom:0px;"
attrs="{'invisible': [('possible_existing_customer_ids','=',False)]}"
attrs="{'invisible': [('is_possible_existing_customer_id','=',False)]}"
>
There is a customer with this email or mobile, do you want to add it to the reservation?
<field name="possible_existing_customer_ids" invisible="1" />
<field name="is_possible_existing_customer_id" invisible="1" />
<field
name="add_possible_customer"
attrs="{'invisible': [('possible_existing_customer_ids','=',False)]}"
attrs="{'invisible': [('is_possible_existing_customer_id','=',False)]}"
/>
</div>
<sheet>

View File

@@ -140,13 +140,13 @@
class="alert alert-warning"
role="alert"
style="margin-bottom:0px;"
attrs="{'invisible': [('possible_existing_customer_ids','=',[])]}"
attrs="{'invisible': [('is_possible_existing_customer_id','=',[])]}"
>
There is a customer with this email or mobile, do you want to add it to the reservation?
<field name="possible_existing_customer_ids" invisible="1" />
<field name="is_possible_existing_customer_id" invisible="1" />
<field
name="add_possible_customer"
attrs="{'invisible': [('possible_existing_customer_ids','=',False)]}"
attrs="{'invisible': [('is_possible_existing_customer_id','=',False)]}"
/>
</div>
<sheet>