mirror of
https://github.com/OCA/intrastat-extrastat.git
synced 2025-02-16 17:13:41 +02:00
@@ -119,7 +119,9 @@ class AccountMoveLine(models.Model):
|
||||
intrastat_line = self.move_id.intrastat_line_ids.filtered(
|
||||
lambda r: r.invoice_line_id == rec
|
||||
)
|
||||
rec.hs_code_id = intrastat_line.hs_code_id or rec.get_hs_code_recursively()
|
||||
rec.hs_code_id = (
|
||||
intrastat_line.hs_code_id or rec.product_id.get_hs_code_recursively()
|
||||
)
|
||||
|
||||
|
||||
class AccountMoveIntrastatLine(models.Model):
|
||||
|
||||
Reference in New Issue
Block a user