(self)
Loads some partner data when the selected partner changes.
Loads some partner data when the selected partner changes.
Loads some partner data when the selected partner changes .
def _onchange_partner_id(self):
        """Loads some partner data when the selected partner changes."""
        if self.partner_id:
            vals = self.report_id._get_partner_347_identification(
                self.partner_id,
            )
            vals.pop("community_vat", None)
            del vals["partner_country_code"]
            self.update(vals)
def _onchange_partner_id ( self ) : if self . partner_id : vals = self . report_id . _get_partner_347_identification ( self . partner_id , ) vals . pop ( "community_vat" , None ) del vals [ "partner_country_code" ] self . update ( vals )