Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
zorun
himport
Commits
2055f54a
Commit
2055f54a
authored
Jan 28, 2019
by
plb
Committed by
Team adminsys FFDN
Jan 28, 2019
Browse files
Merge branch 'ignore_weird_facture_details' of zorun/himport into master
parents
a5fec913
edfbb642
Changes
1
Hide whitespace changes
Inline
Side-by-side
himport/dolibarrAlchemyHledger.py
View file @
2055f54a
...
...
@@ -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
),
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment