-
Notifications
You must be signed in to change notification settings - Fork 245
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[IMP] fieldservice_portal: order visibility by stage #1319
Conversation
Hi @renda-dev, @aleuffre, |
f8134a4
to
505154f
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code review, LGTM.
A minor comment which helps readability.
portal_visible = fields.Boolean( | ||
string="Visible in Portal", | ||
default=True, | ||
help="Enable to display field service orders of this stage in the portal", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Typo: Enable to display field service orders based on it's stage in the portal
505154f
to
ef7832c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code review, LGTM. Thank you
/ocabot merge minor |
On my way to merge this fine PR! |
@aleuffre The merge process could not be finalized, because command
|
@brian10048 could you try regenerating the README locally? Thanks |
ef7832c
to
820ae83
Compare
/ocabot merge minor |
Hey, thanks for contributing! Proceeding to merge this for you. |
Congratulations, your PR was merged at 5d9f615. Thanks a lot for contributing to OCA. ❤️ |
Adds a field on
fsm_stage
that allows to enable or disable visibility of fsm orders in the portalAdds a method
_prepare_fsm_orders_domain()
that returns a domain for searching fsm orders able to be shown on the portal. This could be overridden for other needs