Skip to content

Commit

Permalink
Fixa o valor de cubagem para zero
Browse files Browse the repository at this point in the history
  • Loading branch information
Serrones committed Oct 29, 2019
1 parent d25b27a commit 1665c4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion correios/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -436,7 +436,7 @@ def _get_shipping_label_element(self, shipping_label: ShippingLabel):
xml_utils.SubElement(item, "numero_etiqueta", text=str(shipping_label.tracking_code))
xml_utils.SubElement(item, "codigo_objeto_cliente")
xml_utils.SubElement(item, "codigo_servico_postagem", text=str(shipping_label.service))
xml_utils.SubElement(item, "cubagem", text=str(shipping_label.posting_weight).replace(".", ","))
xml_utils.SubElement(item, "cubagem", text=str(Decimal('0.00')).replace(".", ","))
xml_utils.SubElement(item, "peso", text=str(shipping_label.package.weight))
xml_utils.SubElement(item, "rt1")
xml_utils.SubElement(item, "rt2")
Expand Down

0 comments on commit 1665c4b

Please sign in to comment.