Context ------- On some database, record rule may be configured in such a way that user are able to read Purchase/Sale order with a company_id != user.company_ids Issue ----- This commit https://github.com/odoo/odoo/commit/4dd150950274b1d7c3b24b7665443318f94323f6# introduce a new field tax_country_id that require to be able to read the fiscal.position as well. The reading of a sale.order or purchase.order should not require the right to read the fiscal.position for the computation of a technical field only use during the modification. Solution -------- Compute tax_country_id as sudo closes odoo/odoo#80049 X-original-commit: b329c3b18197ac6db5ffdf3cb4945a14997a1f0b Signed-off-by: Olivier Dony <odo@odoo.com> Signed-off-by: Thibault Francois <tfr@odoo.com>