mirror of
https://github.com/odoo/runbot.git
synced 2025-03-27 13:25:47 +07:00
[FIX] runbot_merge: show fw commands on forward ports
Since 94cf3e9647
, FW is not limited to
reviewers. And it's been possible to set the fw policy on any forward
port pretty much since it was created (during commands rework /
formalisation).
However the help for the fw subcommands would only be shown on the
source PR, unnecessarily.
This commit is contained in:
parent
fc651bd799
commit
4fe3da2f09
@ -775,7 +775,7 @@ class PullRequests(models.Model):
|
|||||||
(is_author or source_author) and self.reviewed_by and commands.Reject,
|
(is_author or source_author) and self.reviewed_by and commands.Reject,
|
||||||
(is_author or source_author) and self.error and commands.Retry,
|
(is_author or source_author) and self.error and commands.Retry,
|
||||||
|
|
||||||
is_author and not self.source_id and commands.FW,
|
(is_author or source_author) and commands.FW,
|
||||||
is_author and commands.Limit,
|
is_author and commands.Limit,
|
||||||
source_author and self.source_id and commands.Close,
|
source_author and self.source_id and commands.Close,
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user