Skip to content
Snippets Groups Projects

V1 imrpvements to CompanyEasyCreation wizard (CRM Lead execution):raising_hand:

Merged Benjamí Ramos requested to merge feature/create_company_from_crm into dev
9 unresolved threads
Compare and Show latest version
1 file
+ 11
2
Compare changes
  • Side-by-side
  • Inline
@@ -207,9 +207,18 @@ class AccountMulticompanyEasyCreationWiz(models.TransientModel):
)
def action_accept(self):
action = super().action_accept()
super().action_accept()
self.with_delay()._after_action_accept_hook()
return action
return {
"type": "ir.actions.client",
"tag": "display_notification",
"params": {
"type": "success",
"title": _("Company creation successful"),
"message": _("The new community has been correctly created"),
"sticky": False,
},
}
def _after_action_accept_hook(self):
if self.property_cooperator_account:
Loading