diff options
| author | Martin Trigaux <mat@odoo.com> | 2020-01-06 15:05:37 +0000 |
|---|---|---|
| committer | Martin Trigaux <mat@odoo.com> | 2020-01-13 09:50:04 +0000 |
| commit | a1ea321f82cc1eda524e1aebeeb2635b32fa0aa6 (patch) | |
| tree | ebf3b4623fb4e2ebd3cfa64b8284ee636e21888e /addons/pos_sale | |
| parent | 5baa00e8b1835eb42c69c0e1885d7da8c37e6f4b (diff) | |
[FIX] *: unify field labels
Avoid double definition of the same field with different string or
help parameters. These parameters are translatable. If one has a
different value depending of the installed module, it is not possible
to properly translate it.
This problem is similar as the menu renaming debate at
odoo/enterprise@cfd4da43ee974
closes odoo/odoo#42777
Related: odoo/enterprise#7623
Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
Diffstat (limited to 'addons/pos_sale')
| -rw-r--r-- | addons/pos_sale/models/pos_order.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/pos_sale/models/pos_order.py b/addons/pos_sale/models/pos_order.py index d3dfe97b8cf..85feef93630 100644 --- a/addons/pos_sale/models/pos_order.py +++ b/addons/pos_sale/models/pos_order.py @@ -7,7 +7,7 @@ from odoo import api, fields, models class PosOrder(models.Model): _inherit = 'pos.order' - currency_rate = fields.Float("Currency Rate", compute='_compute_currency_rate', store=True, digits=(12, 6), readonly=True, help='The rate of the currency to the currency of rate applicable at the date of the order') + currency_rate = fields.Float(compute='_compute_currency_rate', store=True, digits=(12, 6), readonly=True) crm_team_id = fields.Many2one('crm.team', string="Sales Team") @api.model |
