<commit_before><html>
<head>
	<style type="text/css">
		${css}
	</style>
</head>
<body class = "data">
	%for so in objects :
	<% setLang(po.partner_id.lang) %>
	<div id="wrapper">
		<div class = "document_data">
			%if not po.state =='draft' :
			<span class="title">${_("Order Ref")} ${po.name or ''|entity}</span><br/>
			%endif
			%if not po.state =='draft' :
			<span class="title">${_("Order Ref")} ${po.name or ''|entity}</span><br/>
			%endif
			%if po.state != 'draft' :
			<span class="title">${_("Partnert Order Ref")} ${po.partner_ref or ''|entity}</span><br/>   
			%endif
			%if po.date_order:
			<span class="title">${_("Date Ordered:")} ${formatLang(po.date_order, date=True)|entity}</span> <br/>
			%endif
			<span class="title">${po.user_id.name or ''|entity}</span>
			<br/>
			<span class="title">${_("Validated By.")}: ${po.validator and po.validator.name or ''|entity}</span><br/> 
		</div>
		<!-- Header partner data -->
		<table class="partner-table">
			<tbody>
				<tr>
					<td colspan="3">
						${(po.partner_id and po.partner_id.title and po.partner_id.title.name) or ''} ${po.partner_id and po.partner_id.name or ''}
					</td>
				</tr>
				<tr>
					<td><!-- Header partner data -->
						<p style="text-align:left;">
							${_("ID Num.")}: ${po.partner_id.ref or '-'|entity}<br/>
							${_("Phone")}:${po.partner_address_id and po.partner_address_id.phone or '-'|entity}<br/>
							${_("Fax")}:${po.partner_address_id and po.partner_address_id.fax or '-'|entity}<br/>
							${_("Email")}: ${po.partner_id.email or '-'|entity}<br/>
							${_("TVA")}: ${(po.partner_id and po.partner_id.vat) or '-'|entity}
							<br/><br/>
						</p>
					</td>
					<td><!-- Shipping partner address -->
						%for addr in po.dest_address_id and po.dest_address_id or []:
						<p style="text-align:left;">
						<b>${_("Shipping address")}</b><br/>
						${(addr.partner_id and addr.partner_id.title and addr.partner_id.title.name) or '' } ${(addr.partner_id and addr.partner_id.name) or ''}<br/>
						${addr.street or ''}<br/>
						${(addr.street2 or '')}<br/>
						${addr.zip or ''} ${addr.city or '' )}<br/>
						${addr.state_id and addr.state_id.name or ' '}<br/>
						${addr.country_id and addr.country_id.name or ''}<br/>
						
						</p>
						%endfor
					</td>
					<td><!-- partner address -->
						<p style="text-align:left;">
						<b>${_("Partner address")}</b><br/>
						${(po.partner_id and po.partner_id.title and po.partner_id.title.name) or ''} ${(po.partner_id and po.partner_id.name) or '' }<br/>
						${(po.partner_address_id and po.partner_address_id.street ) or ''}<br/>
						${(po.partner_address_id and po.partner_address_id.street2) or ''}<br/>
						${(po.partner_address_id and po.partner_address_id.zip) or ''} ${(po.partner_address_id and po.partner_address_id.city) or ''}<br/>
						${(po.partner_address_id and po.partner_address_id.state_id and po.partner_address_id.state_id.name) or '' }<br/>
						${(po.partner_address_id and po.partner_address_id.country_id and po.partner_address_id.country_id.name) or '' }
						</p><commit_msg>[FIX] ) used where is no allowed<commit_after><html>
<head>
	<style type="text/css">
		${css}
	</style>
</head>
<body class = "data">
	%for so in objects :
	<% setLang(po.partner_id.lang) %>
	<div id="wrapper">
		<div class = "document_data">
			%if not po.state =='draft' :
			<span class="title">${_("Order Ref")} ${po.name or ''|entity}</span><br/>
			%endif
			%if not po.state =='draft' :
			<span class="title">${_("Order Ref")} ${po.name or ''|entity}</span><br/>
			%endif
			%if po.state != 'draft' :
			<span class="title">${_("Partnert Order Ref")} ${po.partner_ref or ''|entity}</span><br/>   
			%endif
			%if po.date_order:
			<span class="title">${_("Date Ordered:")} ${formatLang(po.date_order, date=True)|entity}</span> <br/>
			%endif
			<span class="title">${po.user_id.name or ''|entity}</span>
			<br/>
			<span class="title">${_("Validated By.")}: ${po.validator and po.validator.name or ''|entity}</span><br/> 
		</div>
		<!-- Header partner data -->
		<table class="partner-table">
			<tbody>
				<tr>
					<td colspan="3">
						${(po.partner_id and po.partner_id.title and po.partner_id.title.name) or ''} ${po.partner_id and po.partner_id.name or ''}
					</td>
				</tr>
				<tr>
					<td><!-- Header partner data -->
						<p style="text-align:left;">
							${_("ID Num.")}: ${po.partner_id.ref or '-'|entity}<br/>
							${_("Phone")}:${po.partner_address_id and po.partner_address_id.phone or '-'|entity}<br/>
							${_("Fax")}:${po.partner_address_id and po.partner_address_id.fax or '-'|entity}<br/>
							${_("Email")}: ${po.partner_id.email or '-'|entity}<br/>
							${_("TVA")}: ${(po.partner_id and po.partner_id.vat) or '-'|entity}
							<br/><br/>
						</p>
					</td>
					<td><!-- Shipping partner address -->
						%for addr in po.dest_address_id and po.dest_address_id or []:
						<p style="text-align:left;">
						<b>${_("Shipping address")}</b><br/>
						${(addr.partner_id and addr.partner_id.title and addr.partner_id.title.name) or '' } ${(addr.partner_id and addr.partner_id.name) or ''}<br/>
						${addr.street or ''}<br/>
						${(addr.street2 or '')}<br/>
						${addr.zip or ''} ${addr.city or ''}<br/>
						${addr.state_id and addr.state_id.name or ' '}<br/>
						${addr.country_id and addr.country_id.name or ''}<br/>
						
						</p>
						%endfor
					</td>
					<td><!-- partner address -->
						<p style="text-align:left;">
						<b>${_("Partner address")}</b><br/>
						${(po.partner_id and po.partner_id.title and po.partner_id.title.name) or ''} ${(po.partner_id and po.partner_id.name) or '' }<br/>
						${(po.partner_address_id and po.partner_address_id.street ) or ''}<br/>
						${(po.partner_address_id and po.partner_address_id.street2) or ''}<br/>
						${(po.partner_address_id and po.partner_address_id.zip) or ''} ${(po.partner_address_id and po.partner_address_id.city) or ''}<br/>
						${(po.partner_address_id and po.partner_address_id.state_id and po.partner_address_id.state_id.name) or '' }<br/>
						${(po.partner_address_id and po.partner_address_id.country_id and po.partner_address_id.country_id.name) or '' }
						</p>
{'fraction_non_alphanumeric': 0.2188654989554877, 'fraction_numerical': 0.0009641651936365097, 'mean_word_length': 3.2806052269601103, 'pattern_counts': {'":': 0, '<': 149, '<?xml version=': 0, '>': 149, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '660886', 'n_tokens_mistral': 2883, 'n_tokens_neox': 2382, 'n_words': 470}