From 85fecc225bebc263c13ff79e6261c3bb12b23d02 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Tue, 17 Mar 2009 13:13:03 +0100 Subject: [PATCH] Add missing _description --- product.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/product.py b/product.py index 4bd5e9dfa9..cc23a9532d 100644 --- a/product.py +++ b/product.py @@ -30,6 +30,7 @@ class CategoryCustomerTax(ModelSQL): 'Category - Customer Tax' _name = 'product.category-customer-account.tax' _table = 'product_category_customer_taxes_rel' + _description = __doc__ product = fields.Many2One('product.category', 'Category', ondelete='CASCADE', select=1, required=True) tax = fields.Many2One('account.tax', 'Tax', ondelete='RESTRICT', @@ -42,6 +43,7 @@ class CategorySupplierTax(ModelSQL): 'Category - Supplier Tax' _name = 'product.category-supplier-account.tax' _table = 'product_category_supplier_taxes_rel' + _description = __doc__ product = fields.Many2One('product.category', 'Category', ondelete='CASCADE', select=1, required=True) tax = fields.Many2One('account.tax', 'Tax', ondelete='RESTRICT', @@ -135,6 +137,7 @@ class TemplateCustomerTax(ModelSQL): 'Product Template - Customer Tax' _name = 'product.template-customer-account.tax' _table = 'product_customer_taxes_rel' + _description = __doc__ product = fields.Many2One('product.template', 'Product Template', ondelete='CASCADE', select=1, required=True) tax = fields.Many2One('account.tax', 'Tax', ondelete='RESTRICT', @@ -147,6 +150,7 @@ class TemplateSupplierTax(ModelSQL): 'Product Template - Supplier Tax' _name = 'product.template-supplier-account.tax' _table = 'product_supplier_taxes_rel' + _description = __doc__ product = fields.Many2One('product.template', 'Product Template', ondelete='CASCADE', select=1, required=True) tax = fields.Many2One('account.tax', 'Tax', ondelete='RESTRICT',