diff options
| author | rap-odoo <rap@odoo.com> | 2016-03-21 18:06:43 +0530 |
|---|---|---|
| committer | Yannick Tivisse <yti@odoo.com> | 2016-06-08 14:02:23 +0200 |
| commit | a5e7a4c8ae04416469b1f004df50c7277991a5ab (patch) | |
| tree | 0807e0bbdfbf40aaeca5d2a99f941c1e59b5f85e /addons/lunch/models | |
| parent | 74936dbb6409e2301cfdc1d49d13d2dbeed8b411 (diff) | |
[IMP] Account,...: Change 'string' attribute on some fields to avoid repeated names
In odoo at many places the filter items are having repeated strings eventhough the
fiter works differently , so find all the places where this happens and give
proper string to each filter..
Diffstat (limited to 'addons/lunch/models')
| -rw-r--r-- | addons/lunch/models/lunch.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/lunch/models/lunch.py b/addons/lunch/models/lunch.py index cb6e886a75c..ee5437fbdd2 100644 --- a/addons/lunch/models/lunch.py +++ b/addons/lunch/models/lunch.py @@ -130,7 +130,7 @@ class LunchOrderLine(models.Model): _name = 'lunch.order.line' _description = 'lunch order line' - name = fields.Char(related='product_id.name', readonly=True) + name = fields.Char(related='product_id.name', string="Product Name", readonly=True) order_id = fields.Many2one('lunch.order', 'Order', ondelete='cascade', required=True) product_id = fields.Many2one('lunch.product', 'Product', required=True) category_id = fields.Many2one('lunch.product.category', string='Product Category', |
