Merge pull request #72 from factorlibre/12.0-fix-intrastat_product

[12.0][FIX] intrastat_product: translations in action field
This commit is contained in:
Pedro M. Baeza
2019-06-05 13:44:08 +02:00
committed by GitHub

View File

@@ -135,9 +135,9 @@ class IntrastatProductDeclaration(models.Model):
@api.model
def _get_action(self):
return [
('replace', 'Replace'),
('append', 'Append'),
('nihil', 'Nihil')]
('replace', _('Replace')),
('append', _('Append')),
('nihil', _('Nihil'))]
@api.depends('company_id')
def _compute_company_country_code(self):