[FIX] product: error during migration
[FIX] product: error during migration

Barcode, default_code (Internal Reference), standard_price,
volume, weight fields are not saved when we create a new product.

This is due to the fact that these fields need the product_variant_ids
field to be set, in order to compute their values.

Due to migration in rev https://github.com/odoo-dev/odoo/commit/1aa5bc0fdfa402ac7cccbc3a7203ec5050f6339b

ygol/odoo,dfang/odoo,hip-odoo/odoo,dfang/odoo,dfang/odoo,hip-odoo/odoo,hip-odoo/odoo,dfang/odoo,ygol/odoo,ygol/odoo,ygol/odoo,dfang/odoo,dfang/odoo,hip-odoo/odoo,ygol/odoo,ygol/odoo,ygol/odoo,hip-odoo/odoo,hip-odoo/odoo