[IMP] sale,purchase: harmonize address layout in qweb reports

Shipping and invoice addresses header are now bold and sticked to the related
address.
This commit is contained in:
sve-openerp 2014-12-05 09:54:44 +01:00 committed by Martin Trigaux
parent a69076851a
commit d347e9c28c
3 changed files with 6 additions and 6 deletions

View File

@ -7,7 +7,7 @@
<div class="oe_structure"/> <div class="oe_structure"/>
<div class="row"> <div class="row">
<div class="col-xs-6"> <div class="col-xs-6">
Shipping address :<br/> <strong>Shipping address:</strong>
<div t-if="o.dest_address_id"> <div t-if="o.dest_address_id">
<div t-field="o.dest_address_id" <div t-field="o.dest_address_id"
t-field-options='{"widget": "contact", "fields": ["address", "name", "phone", "fax"], "no_marker": true}'/> t-field-options='{"widget": "contact", "fields": ["address", "name", "phone", "fax"], "no_marker": true}'/>

View File

@ -8,7 +8,7 @@
<div class="row mt32 mb32"> <div class="row mt32 mb32">
<div class="col-xs-6"> <div class="col-xs-6">
Shipping address :<br/> <strong>Shipping address:</strong>
<div t-if="o.dest_address_id"> <div t-if="o.dest_address_id">
<div t-field="o.dest_address_id" <div t-field="o.dest_address_id"
t-field-options='{"widget": "contact", "fields": ["address", "name", "phone", "fax"], "no_marker": true}'/> t-field-options='{"widget": "contact", "fields": ["address", "name", "phone", "fax"], "no_marker": true}'/>

View File

@ -7,13 +7,13 @@
<div class="oe_structure"/> <div class="oe_structure"/>
<div class="row"> <div class="row">
<div class="col-xs-6"> <div class="col-xs-6">
<p t-if="o.partner_shipping_id == o.partner_invoice_id">Invoice and shipping address:</p> <strong t-if="o.partner_shipping_id == o.partner_invoice_id">Invoice and shipping address:</strong>
<p t-if="o.partner_shipping_id != o.partner_invoice_id">Invoice address: </p> <strong t-if="o.partner_shipping_id != o.partner_invoice_id">Invoice address:</strong>
<div t-field="o.partner_invoice_id" <div t-field="o.partner_invoice_id"
t-field-options='{"widget": "contact", "fields": ["address", "name", "phone", "fax"], "no_marker": true}'/> t-field-options='{"widget": "contact", "fields": ["address", "name", "phone", "fax"], "no_marker": true}'/>
<p t-if="o.partner_id.vat">VAT: <span t-field="o.partner_id.vat"/></p> <p t-if="o.partner_id.vat">VAT: <span t-field="o.partner_id.vat"/></p>
<div t-if="o.partner_shipping_id != o.partner_invoice_id"> <div t-if="o.partner_shipping_id != o.partner_invoice_id" class="mt8">
<p>Shipping address :</p> <strong>Shipping address:</strong>
<div t-field="o.partner_shipping_id" <div t-field="o.partner_shipping_id"
t-field-options='{"widget": "contact", "fields": ["address", "name", "phone", "fax"], "no_marker": true}'/> t-field-options='{"widget": "contact", "fields": ["address", "name", "phone", "fax"], "no_marker": true}'/>
<p t-if="o.partner_id.vat">VAT: <span t-field="o.partner_id.vat"/></p> <p t-if="o.partner_id.vat">VAT: <span t-field="o.partner_id.vat"/></p>