fetch customer_gstin or billing_address_gstin optionally (#14075)

This commit is contained in:
Zarrar 2018-05-22 09:16:42 +05:30 committed by Nabin Hait
parent 742d3e5549
commit 93a186aa11

View File

@ -23,7 +23,7 @@ class Gstr1Report(object):
posting_date, posting_date,
base_grand_total, base_grand_total,
base_rounded_total, base_rounded_total,
customer_gstin, COALESCE(NULLIF(customer_gstin,''), NULLIF(billing_address_gstin, '')) as customer_gstin,
place_of_supply, place_of_supply,
ecommerce_gstin, ecommerce_gstin,
reverse_charge, reverse_charge,