summaryrefslogtreecommitdiff
path: root/addons/lunch/models
diff options
context:
space:
mode:
authordip-odoo <dip@odoo.com>2017-10-23 17:48:27 +0530
committerYannick Tivisse <yti@odoo.com>2017-12-01 14:52:28 +0100
commita582f00dfa2cfde70c726dfd31acde7c6f32681c (patch)
tree587b26ff5e67bc92f6bbf026cd3fbcd3cc76412b /addons/lunch/models
parent00b6b26b44dbc7f0332f85976e074652038c59ef (diff)
[IMP] product,stock,lunch: Uniformize 'Product Category' accross views and menus
PURPOSE ======= Ensure terms consistency across Odoo Specification ============= All the menus and fields labels which are related to product.category should be named "Product Category" (if field label) and "Product Categories" (if menu entry)
Diffstat (limited to 'addons/lunch/models')
-rw-r--r--addons/lunch/models/lunch.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/addons/lunch/models/lunch.py b/addons/lunch/models/lunch.py
index f539e6d8881..0108165c2b0 100644
--- a/addons/lunch/models/lunch.py
+++ b/addons/lunch/models/lunch.py
@@ -231,7 +231,7 @@ class LunchProduct(models.Model):
_description = 'lunch product'
name = fields.Char('Product', required=True)
- category_id = fields.Many2one('lunch.product.category', 'Category', required=True)
+ category_id = fields.Many2one('lunch.product.category', 'Product Category', required=True)
description = fields.Text('Description')
price = fields.Float('Price', digits=dp.get_precision('Account'))
supplier = fields.Many2one('res.partner', 'Vendor')
@@ -243,7 +243,7 @@ class LunchProductCategory(models.Model):
_name = 'lunch.product.category'
_description = 'lunch product category'
- name = fields.Char('Category', required=True)
+ name = fields.Char('Product Category', required=True)
class LunchCashMove(models.Model):