Skip to content

Commit

Permalink
Merge PR #4540 into 14.0
Browse files Browse the repository at this point in the history
Signed-off-by sergiocorato
  • Loading branch information
OCA-git-bot committed Jan 18, 2025
2 parents c836e77 + 70fa861 commit b46fd62
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,6 @@ class IntrastatStatementPurchaseSection4(models.Model):
quarterly = fields.Integer(string="Ref. Quarter")
year_id = fields.Integer(string="Ref. Year")
protocol = fields.Integer(string="Protocol Number")
progressive_to_modify_id = fields.Many2one(
comodel_name="account.intrastat.statement.purchase.section1",
string="Progressive to Adjust ID",
)
progressive_to_modify = fields.Integer(string="Progressive to Adjust")
invoice_number = fields.Char(string="Invoice Number")
invoice_date = fields.Date(string="Invoice Date")
Expand Down Expand Up @@ -110,7 +106,7 @@ def _prepare_export_line(self):
# Protocollo della dichiarazione da rettificare
rcd += format_9(self.protocol, 6)
# Progressivo della sezione 3 da rettificare
rcd += format_9(self.progressive_to_modify_id.sequence, 5)
rcd += format_9(self.progressive_to_modify, 5)
# Codice dello Stato membro dell’acquirente
country_id = self.country_partner_id or self.partner_id.country_id
rcd += format_x(country_id.code, 2)
Expand Down

0 comments on commit b46fd62

Please sign in to comment.