feat: attrs on product
This commit is contained in:
		@@ -5,7 +5,4 @@ from models import Product, Client
 | 
			
		||||
class CompanyNameAttributeGetter(BaseAttributeGetter):
 | 
			
		||||
    def get_value(self, product: Product):
 | 
			
		||||
        client: Client = product.client
 | 
			
		||||
        result = client.company_name
 | 
			
		||||
        if not result:
 | 
			
		||||
            result = ''
 | 
			
		||||
        return result
 | 
			
		||||
        return client.company_name
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user