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 @@
type="object"
string="Envoyer un email aux coopératives"
class="btn-info"
groups="base.group_system"
attrs="{'invisible': ['|', ('state', 'not in', ('generated', 'uploaded')), ('email_sent', '=', True)]}"
groups="account.group_account_manager"
attrs="{'invisible': ['|', '|', ('state', 'not in', ('generated', 'uploaded')), ('email_sent', '=', True), ('company_id', '!=', %(base.main_company)d)]}"
confirm="Valider l'envoi des emails ?"
/>
<button
name="action_send_email"
type="object"
string="Renvoyer un email aux coopératives"
groups="base.group_system"
attrs="{'invisible': ['|', ('state', 'not in', ('generated', 'uploaded')), ('email_sent', '!=', True)]}"
groups="account.group_account_manager"
attrs="{'invisible': ['|', '|', ('state', 'not in', ('generated', 'uploaded')), ('email_sent', '!=', True), ('company_id', '!=', %(base.main_company)d)]}"
confirm="Valider l'envoi des emails ?"
/>
</xpath>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment