Commit 2055f54a authored by plb's avatar plb Committed by Team adminsys FFDN

Merge branch 'ignore_weird_facture_details' of zorun/himport into master

parents a5fec913 edfbb642
......@@ -483,6 +483,8 @@ class HledgerSellEntry(HledgerBillingEntry):
if self.tva_type == 'none':
for ed in e.details:
p_code = self.get_product_account_code(ed)
if ed.special_code == 104777:
continue
s += " %(compte_produit)s %(amount_ttc)s\n" % {
'compte_produit': settings.get_ledger_account(p_code),
......@@ -491,6 +493,8 @@ class HledgerSellEntry(HledgerBillingEntry):
else:
for ed in e.details:
p_code = self.get_product_account_code(ed)
if ed.special_code == 104777:
continue
s += " %(compte_produit)s %(amount_ht)s\n" % {
'compte_produit': settings.get_ledger_account(p_code),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment