Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

O total da nota deve incluir o valor do frete! #1108

Open
wants to merge 1 commit into
base: 14.0
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions l10n_br_eletronic_document/models/nfe.py
Original file line number Diff line number Diff line change
Expand Up @@ -541,8 +541,8 @@ def _prepare_eletronic_invoice_values(self):
'vPIS': "%.02f" % self.pis_valor,
'vCOFINS': "%.02f" % self.cofins_valor,
'vOutro': "%.02f" % self.valor_despesas,
'vNF': "%.02f" % sum(self.document_line_ids.mapped(
"valor_liquido")),
'vNF': "%.02f" % (sum(self.document_line_ids.mapped(
"valor_liquido")) + self.valor_frete),
'vFCPUFDest': "%.02f" % self.valor_icms_fcp_uf_dest,
'vICMSUFDest': "%.02f" % self.valor_icms_uf_dest,
'vICMSUFRemet': "%.02f" % self.valor_icms_uf_remet,
Expand Down