To solve it, just have to add the context parameter in the method definition on_change_partner_id class sale_order. Regards,
To solve it, just have to add the context parameter in the method definition on_change_ partner_ id class sale_order.
Regards,