bug fix dp_reports/dp_reports_template; add street2 to partner-address
							parent
							
								
									3ecb2ec251
								
							
						
					
					
						commit
						1b68641269
					
				|  | @ -47,9 +47,9 @@ | |||
|                         <t t-if="not (env.context.get('proforma', False) or is_pro_forma)"> | ||||
| <!-- | ||||
| --> | ||||
|                             <span t-if="not data.get('tz_report_production', False) and o.state not in ['draft','sent']">Auftragsbestätigung</span> | ||||
|                             <span t-if="not data.get('tz_report_production', False) and o.state in ['draft','sent']">Angebot</span> | ||||
|                             <span t-if="data.get('tz_report_production',False)">Produktionsschein</span> | ||||
|                             <span t-if="not (data or {}).get('tz_report_production', False) and o.state not in ['draft','sent']">Auftragsbestätigung</span> | ||||
|                             <span t-if="not (data or {}).get('tz_report_production', False) and o.state in ['draft','sent']">Angebot</span> | ||||
|                             <span t-if="(data or {}).get('tz_report_production',False)">Produktionsschein</span> | ||||
|                         </t> | ||||
|                         <t t-if="env.context.get('proforma', False) or is_pro_forma"> | ||||
|                             <span>Proformarechnung</span> | ||||
|  | @ -187,6 +187,10 @@ | |||
|             </t> | ||||
|             <span t-esc="o.partner_id.street"/> | ||||
|             <br/> | ||||
|             <t t-if="o.partner_id.street2"> | ||||
|                 <span t-esc="o.partner_id.street2"/> | ||||
|                 <br/> | ||||
|             </t> | ||||
|             <span t-esc="o.partner_id.zip"/> | ||||
|             <span t-esc="o.partner_id.city"/> | ||||
|             <br/> | ||||
|  |  | |||
|  | @ -17,6 +17,10 @@ | |||
|                             </t> | ||||
|                             <span t-esc="o.partner_id.street"/> | ||||
|                             <br/> | ||||
|                             <t t-if="o.partner_id.street2"> | ||||
|                                 <span t-esc="o.partner_id.street2"/> | ||||
|                                 <br/> | ||||
|                             </t> | ||||
|                             <span t-esc="o.partner_id.zip"/> | ||||
|                             <span t-esc="o.partner_id.city"/> | ||||
|                             <br/> | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue