diff options
| author | Fabien Pinckaers <fp@openerp.com> | 2015-07-09 16:10:09 -0700 |
|---|---|---|
| committer | Fabien Pinckaers <fp@openerp.com> | 2015-07-09 16:10:09 -0700 |
| commit | 1fe10b541708d7bcecac3cd57c70a50eb3e2ec0c (patch) | |
| tree | 8ba5fd89c08f659d179845aa84cae1074b7e5f4f /addons/lunch/models | |
| parent | 7e0647a09f21496e29eefe0dba59b44438c60207 (diff) | |
[IMP] Supplier --> Vendor. American English
Diffstat (limited to 'addons/lunch/models')
| -rw-r--r-- | addons/lunch/models/lunch.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/addons/lunch/models/lunch.py b/addons/lunch/models/lunch.py index e60019a4ff7..3aa1590ab0b 100644 --- a/addons/lunch/models/lunch.py +++ b/addons/lunch/models/lunch.py @@ -138,7 +138,7 @@ class LunchOrderLine(models.Model): category_id = fields.Many2one('lunch.product.category', string='Product Category', related='product_id.category_id', readonly=True, store=True) date = fields.Date(string='Date', related='order_id.date', readonly=True, store=True) - supplier = fields.Many2one('res.partner', string='Supplier', related='product_id.supplier', + supplier = fields.Many2one('res.partner', string='Vendor', related='product_id.supplier', readonly=True, store=True) user_id = fields.Many2one('res.users', string='User', related='order_id.user_id', readonly=True, store=True) @@ -156,7 +156,7 @@ class LunchOrderLine(models.Model): @api.one def order(self): """ - The order_line is ordered to the supplier but isn't received yet + The order_line is ordered to the vendor but isn't received yet """ self.state = 'ordered' @@ -187,7 +187,7 @@ class LunchOrderLine(models.Model): class LunchProduct(models.Model): - """ Products available to order. A product is linked to a specific supplier. """ + """ Products available to order. A product is linked to a specific vendor. """ _name = 'lunch.product' _description = 'lunch product' @@ -195,7 +195,7 @@ class LunchProduct(models.Model): category_id = fields.Many2one('lunch.product.category', 'Category', required=True) description = fields.Text('Description') price = fields.Float('Price', digits_compute=dp.get_precision('Account')) - supplier = fields.Many2one('res.partner', 'Supplier') + supplier = fields.Many2one('res.partner', 'Vendor') class LunchProductCategory(models.Model): |
