Merge PR #174 into 14.0

Signed-off-by luc-demeyer
This commit is contained in:
OCA-git-bot
2022-05-16 12:27:24 +00:00

View File

@@ -1085,12 +1085,10 @@ class IntrastatProductComputationLine(models.Model):
) )
src_dest_country_code = fields.Char( src_dest_country_code = fields.Char(
string="Country Code", string="Country Code",
compute="_compute_src_dest_country_code",
store=True,
required=True, required=True,
readonly=False, readonly=False,
help="2 digit code of country of origin/destination.\n" help="2 digit code of country of origin/destination.\n"
"Specify 'XI' for UK Northern Ireland and 'XU' for rest of the UK.", "Specify 'XI' for UK Northern Ireland.",
) )
product_id = fields.Many2one( product_id = fields.Many2one(
"product.product", related="invoice_line_id.product_id" "product.product", related="invoice_line_id.product_id"