mirror of
https://github.com/OCA/pms.git
synced 2025-01-29 00:17:45 +02:00
[IMP]test in pms_automated_mails and pms_reservation
This commit is contained in:
@@ -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">
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user