[ADD] account: Display a rainbow man after the configuration steps
Purpose ======= There should be a rainbow man when finishing to configure the accounting via the new config bar
This commit is contained in:
committed by
Yannick Tivisse
parent
4b78e71806
commit
148d23915c
@@ -60,6 +60,14 @@ class OpeningAccountMoveWizard(models.TransientModel):
|
||||
|
||||
def validate(self):
|
||||
self.opening_move_id.post()
|
||||
return {
|
||||
"effect": {
|
||||
'fadeout': 'slow',
|
||||
'img_url': '/web/static/src/img/smile.svg',
|
||||
'message': "Well done! The configuration steps have been done successfully.",
|
||||
'type': "rainbow_man"
|
||||
}
|
||||
}
|
||||
|
||||
@api.onchange('opening_move_line_ids')
|
||||
def opening_move_line_ids_changed(self):
|
||||
|
||||
Reference in New Issue
Block a user