(self, **kwargs)
return website and website.company_id or res
Override: if a website is set on the product or given, fallback to
        the company of the website. Otherwise use the one from parent method.
Override: if a website is set on the product or given, fallback to
        the company of the website. Otherwise use the one from parent method.
Override : if a website is set on the product or given fallback to the company of the website . Otherwise use the one from parent method .
def _get_current_company_fallback(self, **kwargs):
        """Override: if a website is set on the product or given, fallback to
        the company of the website. Otherwise use the one from parent method."""
        res = super(ProductTemplate, self)._get_current_company_fallback(**kwargs)
        website = self.website_id or kwargs.get('website')
        return website and website.company_id or res
def _get_current_company_fallback ( self , * * kwargs ) : res = super ( ProductTemplate , self ) . _get_current_company_fallback ( * * kwargs ) website = self . website_id or kwargs . get ( 'website' ) return website and website . company_id or res