mirror of
https://github.com/OCA/server-backend.git
synced 2025-02-18 09:52:42 +02:00
[IMP] server_action_navigate
Co-authored-by: Holger Brunn <mail@hunki-enterprises.com> [IMP] tests
This commit is contained in:
committed by
Quentin Tawry
parent
bf8af4757c
commit
de4e9ffd40
@@ -58,7 +58,7 @@ class IrActionsServer(models.Model):
|
||||
def run_action_navigate_multi(self, action, eval_context=None):
|
||||
IrModel = self.env['ir.model']
|
||||
lines = action.navigate_line_ids
|
||||
if len(lines) == 0:
|
||||
if not lines:
|
||||
raise UserError(_(
|
||||
"The Action Server %s is not correctly set\n"
|
||||
" : No fields defined"))
|
||||
|
||||
Reference in New Issue
Block a user