diff options
| author | Martin Trigaux <mat@odoo.com> | 2018-09-28 13:30:34 +0200 |
|---|---|---|
| committer | Martin Trigaux <mat@odoo.com> | 2018-09-28 13:32:32 +0200 |
| commit | 060e312a4f9793142bc2c3842fcc86ab7564b21e (patch) | |
| tree | 6df3aae901b832120110ad5555126f804686d421 /addons | |
| parent | 139aa9367d4ed85790450b93c11a38ce6a3f5ef2 (diff) | |
[FIX] account: do not translate taxes
This is already handled in the l10n_multilang module for countries with several languages
Same as the account names, it should not be translatable in standard
Diffstat (limited to 'addons')
| -rw-r--r-- | addons/account/models/account.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/addons/account/models/account.py b/addons/account/models/account.py index 3818a98d1a1..7ffafe75010 100644 --- a/addons/account/models/account.py +++ b/addons/account/models/account.py @@ -873,7 +873,7 @@ class AccountTax(models.Model): def _default_tax_group(self): return self.env['account.tax.group'].search([], limit=1) - name = fields.Char(string='Tax Name', required=True, translate=True) + name = fields.Char(string='Tax Name', required=True) type_tax_use = fields.Selection([('sale', 'Sales'), ('purchase', 'Purchases'), ('none', 'None'), ('adjustment', 'Adjustment')], string='Tax Scope', required=True, default="sale", help="Determines where the tax is selectable. Note : 'None' means a tax can't be used by itself, however it can still be used in a group. 'adjustment' is used to perform tax adjustment.") amount_type = fields.Selection(default='percent', string="Tax Computation", required=True, oldname='type', @@ -888,7 +888,7 @@ class AccountTax(models.Model): help="Account that will be set on invoice tax lines for invoices. Leave empty to use the expense account.", oldname='account_collected_id') refund_account_id = fields.Many2one('account.account', domain=[('deprecated', '=', False)], string='Tax Account on Credit Notes', ondelete='restrict', help="Account that will be set on invoice tax lines for credit notes. Leave empty to use the expense account.", oldname='account_paid_id') - description = fields.Char(string='Label on Invoices', translate=True) + description = fields.Char(string='Label on Invoices') price_include = fields.Boolean(string='Included in Price', default=False, help="Check this if the price you use on the product and invoices includes this tax.") include_base_amount = fields.Boolean(string='Affect Base of Subsequent Taxes', default=False, |
