[IMP] report_intrastat: adaptation due to the new Sale module
Major changes: - No use of UoS anymore Reason: complete rewrite of the Sale module. Responsible: fp, dbo, nim
This commit is contained in:
@@ -91,7 +91,7 @@ class report_intrastat(osv.osv):
|
||||
left join (product_template pt
|
||||
left join product_product pp on (pp.product_tmpl_id = pt.id))
|
||||
on (inv_line.product_id = pp.id)
|
||||
left join product_uom uom on uom.id=inv_line.uos_id
|
||||
left join product_uom uom on uom.id=inv_line.uom_id
|
||||
left join product_uom puom on puom.id = pt.uom_id
|
||||
left join report_intrastat_code intrastat on pt.intrastat_id = intrastat.id
|
||||
left join (res_partner inv_address
|
||||
|
||||
@@ -63,7 +63,7 @@
|
||||
<td class="text-right"><span t-esc="l.product_id.intrastat_id.name"/></td>
|
||||
<td class="text-right"><span t-esc="l.product_id.weight"/></td>
|
||||
<td class="text-right"><span t-field="l.quantity"/></td>
|
||||
<td groups="product.group_uom"><span t-field="l.uos_id"/></td>
|
||||
<td groups="product.group_uom"><span t-field="l.uom_id"/></td>
|
||||
<td class="text-right"><span t-field="l.price_unit"/></td>
|
||||
<td t-if="display_discount" groups="sale.group_discount_per_so_line"><span t-field="l.discount"/></td>
|
||||
<td class="text-right">
|
||||
|
||||
Reference in New Issue
Block a user