Skip to content

Commit

Permalink
[IMP] l10n_br_fiscal: add cte partners fields
Browse files Browse the repository at this point in the history
  • Loading branch information
marcelsavegnago committed Nov 14, 2024
1 parent b86e0a1 commit df937a4
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions l10n_br_fiscal/models/document_mixin_fields.py
Original file line number Diff line number Diff line change
Expand Up @@ -471,3 +471,41 @@ def _operation_domain(self):
key_random_code = fields.Char(string="Document Key Random Code")
key_check_digit = fields.Char(string="Document Key Check Digit")
total_weight = fields.Float(string="Total Weight")

## CTE

# commitment_date = fields.Datetime("Delivery Date")
# expected_date = fields.Datetime("Expected Date")

# Remetente
partner_sendering_id = fields.Many2one(
"res.partner",
string="Sender Address",
help="Responsible for sending the goods, usually the issuer of the NFe.",
)

# Expedidor
partner_shippering_id = fields.Many2one(
"res.partner",
string="Shipper Address",
help="The one responsible for delivering the cargo to the carrier when \
the shipment is not carried out by the sender.",
)

# # Destinatário
# partner_shipping_id = fields.Many2one(
# "res.partner",
# string="Recipient",
# help="The one who receives the goods at the end of the transport \
# route, can be an individual or a company.",
# )

# Recebedor
partner_receivering_id = fields.Many2one(
"res.partner",
string="Receiver Address",
help="Actor who receives the goods. He is considered an intermediary \
between the issuer and the final recipient.",
)

partner_insurance_id = fields.Many2one("res.partner", string="Insurance Partner")

0 comments on commit df937a4

Please sign in to comment.