feat: attrs on product
This commit is contained in:
@@ -6,7 +6,4 @@ class InnAttributeGetter(BaseAttributeGetter):
|
||||
def get_value(self, product: Product):
|
||||
client: Client = product.client
|
||||
client_details: ClientDetails = client.details
|
||||
result = client_details.inn
|
||||
if not result:
|
||||
result = ''
|
||||
return result
|
||||
return client_details.inn
|
||||
|
||||
Reference in New Issue
Block a user