mirror of
https://github.com/odoo/runbot.git
synced 2025-03-15 23:45:44 +07:00
[IMP] runbot_merge: add misconfiguration warning to partner view
Following #531 reviews from reviewers without an email set are rejected. For delegates this isn't very helpful, however for specifically configured reviewers we can warn the configurer that they need to set an email for things to work out.
This commit is contained in:
parent
0e087e7433
commit
1cf33f9635
@ -25,6 +25,11 @@
|
||||
attrs="{'invisible': ['|', ('email', '!=', False), ('github_login', '=', False)]}"
|
||||
/>
|
||||
</header>
|
||||
<div class="alert alert-warning" role="alert"
|
||||
attrs="{'invisible': ['|', ('email', '!=', False), ('review_rights', '=', [])]}">
|
||||
Reviewers must have an email address set! Without an email
|
||||
configured, reviews will be ignored.
|
||||
</div>
|
||||
</xpath>
|
||||
<xpath expr="//notebook" position="inside">
|
||||
<page string="Mergebot" groups="runbot_merge.group_admin">
|
||||
|
Loading…
Reference in New Issue
Block a user