-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
[18.0][ADD] sale_confirm_group: Add module #3953
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
base: 18.0
Are you sure you want to change the base?
Conversation
19edba1 to
30cb0f1
Compare
30cb0f1 to
1f6b48e
Compare
2fb805c to
f1f4454
Compare
f1f4454 to
a83691b
Compare
|
Tests are failing because of a 503 error, possibly due to AWS outage |
|
The name should be |
9e6b60e to
739a66a
Compare
|
CI is red due to |
| # - a dummy function ``action_confirm()`` on ``res.users`` | ||
| # so we can add nested list views w/ other ``action_confirm`` buttons | ||
| cls.loader = FakeModelLoader(cls.env, cls.__module__) | ||
| cls.loader.backup_registry() |
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.
you miss the restore_registry call
| cls.env = cls.env(context=dict(cls.env.context, load_all_views=True)) | ||
|
|
||
| # For button-invisibility testing we add: | ||
| # - a dummy M2M field from ``sale.order`` to itself |
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.
this complexity comes from the complexity on get_view that we discussed and should be removed
reminder |
739a66a to
c5b352b
Compare
|
I've cleaned up the complexity |
|
This PR has the |
This module allows configuring a list of groups per-company who are granted permission to confirm sale orders: