Skip to content
Snippets Groups Projects
Commit 6c34e178 authored by Benjamin - Le Filament's avatar Benjamin - Le Filament
Browse files

[update] display email SDD button for users

parent 373d3817
No related branches found
No related tags found
No related merge requests found
...@@ -20,16 +20,16 @@ ...@@ -20,16 +20,16 @@
type="object" type="object"
string="Envoyer un email aux coopératives" string="Envoyer un email aux coopératives"
class="btn-info" class="btn-info"
groups="base.group_system" groups="account.group_account_manager"
attrs="{'invisible': ['|', ('state', 'not in', ('generated', 'uploaded')), ('email_sent', '=', True)]}" attrs="{'invisible': ['|', '|', ('state', 'not in', ('generated', 'uploaded')), ('email_sent', '=', True), ('company_id', '!=', %(base.main_company)d)]}"
confirm="Valider l'envoi des emails ?" confirm="Valider l'envoi des emails ?"
/> />
<button <button
name="action_send_email" name="action_send_email"
type="object" type="object"
string="Renvoyer un email aux coopératives" string="Renvoyer un email aux coopératives"
groups="base.group_system" groups="account.group_account_manager"
attrs="{'invisible': ['|', ('state', 'not in', ('generated', 'uploaded')), ('email_sent', '!=', True)]}" attrs="{'invisible': ['|', '|', ('state', 'not in', ('generated', 'uploaded')), ('email_sent', '!=', True), ('company_id', '!=', %(base.main_company)d)]}"
confirm="Valider l'envoi des emails ?" confirm="Valider l'envoi des emails ?"
/> />
</xpath> </xpath>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment