[IMP] Invoiced contact page information

This commit is contained in:
Dario Lodeiros
2019-04-08 21:27:10 +02:00
parent d519814167
commit fbaecc2f9f
4 changed files with 11 additions and 44 deletions

View File

@@ -135,13 +135,13 @@
/>
</page>
<page name="invoicing" string="Invoicing">
<div class="alert alert-info" role="alert" style="margin-bottom:0px;">
these are the billing information associated with the booking client or the company (if a company is assigned). If you want to bill an independent contact, you can select it in the billing assistant
</div>
<group>
<field name="partner_diff_invoicing" string="Bill to another Address"/>
</group>
<group>
<field name="partner_parent_id" />
<field name="partner_invoice_id"
string="Contact Invoiced"
attrs="{'invisible':[('partner_diff_invoicing','=',False)]}"/>
string="Contact Invoiced"/>
</group>
<group>
<group>
@@ -152,10 +152,6 @@
attrs="{'readonly': [('partner_invoice_id', '!=', False),
('partner_invoice_email','!=', False)]}" />
</group>
<group>
<field name="partner_invoice_parent_id" />
<field name="partner_invoice_type" />
</group>
<group>
<label for="partner_invoice_street" string="Address"/>
<div class="o_address_format">

View File

@@ -318,22 +318,15 @@
attrs="{'invisible': ['|',('reservation_type','in',('out')),
('parent_reservation','!=',False)]}">
<group>
<field name="partner_diff_invoicing" string="Bill to another Address"/>
</group>
<group>
<field name="partner_invoice_id"
string="Contact Invoiced"
attrs="{'invisible':[('partner_diff_invoicing','=',False)]}"/>
<field name="partner_parent_id" />
<field name="partner_invoice_id"
string="Contact Invoiced"/>
</group>
<group>
<group>
<field name="partner_invoice_vat" />
<field name="partner_invoice_email" />
</group>
<group>
<field name="partner_invoice_parent_id" />
<field name="partner_invoice_type" />
</group>
<group>
<label for="partner_invoice_street" string="Address"/>
<div class="o_address_format">