2
0

Translate wizard choices.

Extra wizard selection ar not translated.
This commit is contained in:
Martronic SA 2020-02-17 08:48:35 +01:00 committed by Andrea Stirpe
parent fee8cc6250
commit 3196a8e0b5

View File

@ -10,14 +10,14 @@ class AccountSpreadInvoiceLineLinkWizard(models.TransientModel):
def _selection_spread_action_type(self):
base_selection = [
('template', 'Create from spread template'),
('new', 'Create new spread board')
('template', _('Create from spread template')),
('new', _('Create new spread board'))
]
if not self.env.context.get('allow_spread_planning'):
return base_selection
link_selection = [
('link', 'Link to existing spread board'),
('link', _('Link to existing spread board')),
]
return link_selection + base_selection