IDEMPIERE-3150 Multiple print of lines with charges in translated receipt/shipment or invoice
This commit is contained in:
parent
d0aa33e822
commit
d543f06a28
|
@ -306,6 +306,7 @@ AS
|
|||
ON il.c_charge_id = c.c_charge_id
|
||||
LEFT JOIN c_charge_trl ct
|
||||
ON il.c_charge_id = ct.c_charge_id
|
||||
AND uomt.ad_language = ct.ad_language
|
||||
LEFT JOIN c_bpartner_product pp
|
||||
ON il.m_product_id = pp.m_product_id
|
||||
AND i.c_bpartner_id = pp.c_bpartner_id
|
||||
|
|
|
@ -233,6 +233,7 @@ AS
|
|||
ON iol.c_charge_id = c.c_charge_id
|
||||
LEFT JOIN c_charge_trl ct
|
||||
ON iol.c_charge_id = ct.c_charge_id
|
||||
AND uomt.ad_language = ct.ad_language
|
||||
UNION
|
||||
SELECT iol.ad_client_id,
|
||||
iol.ad_org_id,
|
||||
|
|
|
@ -264,7 +264,7 @@ CREATE OR REPLACE VIEW c_invoice_linetax_vt AS
|
|||
LEFT JOIN c_charge c
|
||||
ON il.c_charge_id = c.c_charge_id
|
||||
LEFT JOIN c_charge_trl ct
|
||||
ON il.c_charge_id = ct.c_charge_id
|
||||
ON il.c_charge_id = ct.c_charge_id AND uomt.ad_language = ct.ad_language
|
||||
LEFT JOIN c_bpartner_product pp
|
||||
ON il.m_product_id = pp.m_product_id AND i.c_bpartner_id = pp.c_bpartner_id
|
||||
LEFT JOIN m_product_trl pt
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
DROP VIEW m_inout_line_vt;
|
||||
DROP VIEW m_inout_line_vt;
|
||||
|
||||
CREATE OR REPLACE VIEW m_inout_line_vt AS
|
||||
SELECT iol.ad_client_id,
|
||||
|
@ -214,7 +214,7 @@ FROM m_inoutline iol
|
|||
LEFT JOIN c_charge c
|
||||
ON iol.c_charge_id = c.c_charge_id
|
||||
LEFT JOIN c_charge_trl ct
|
||||
ON iol.c_charge_id = ct.c_charge_id
|
||||
ON iol.c_charge_id = ct.c_charge_id AND uomt.ad_language = ct.ad_language
|
||||
UNION SELECT iol.ad_client_id,
|
||||
iol.ad_org_id,
|
||||
iol.isactive,
|
||||
|
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue