product_category_tax: code cleanup
This commit is contained in:
@@ -64,7 +64,7 @@ class ProductTemplate(models.Model):
|
|||||||
"The sale taxes configured on the product '%s' "
|
"The sale taxes configured on the product '%s' "
|
||||||
"are not the same as the sale taxes configured "
|
"are not the same as the sale taxes configured "
|
||||||
"on it's related internal category '%s'.")
|
"on it's related internal category '%s'.")
|
||||||
% (self.name, self.categ_id.name_get()[0][1]))
|
% (self.name, self.categ_id.display_name))
|
||||||
if (
|
if (
|
||||||
self.categ_id.purchase_tax_ids.ids !=
|
self.categ_id.purchase_tax_ids.ids !=
|
||||||
self.supplier_taxes_id.ids):
|
self.supplier_taxes_id.ids):
|
||||||
@@ -72,7 +72,7 @@ class ProductTemplate(models.Model):
|
|||||||
"The purchase taxes configured on the product '%s' "
|
"The purchase taxes configured on the product '%s' "
|
||||||
"are not the same as the purchase taxes configured "
|
"are not the same as the purchase taxes configured "
|
||||||
"on it's related internal category '%s'.")
|
"on it's related internal category '%s'.")
|
||||||
% (self.name, self.categ_id.name_get()[0][1]))
|
% (self.name, self.categ_id.display_name))
|
||||||
|
|
||||||
|
|
||||||
class ProductProduct(models.Model):
|
class ProductProduct(models.Model):
|
||||||
|
|||||||
Reference in New Issue
Block a user