-
-
Notifications
You must be signed in to change notification settings - Fork 648
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
[16.0] [MIG] stock_push_delay #1562
base: 16.0
Are you sure you want to change the base?
[16.0] [MIG] stock_push_delay #1562
Conversation
CLA approved. |
/ocabot migration stock_push_delay |
/ocabot rebase |
* test added
Currently translated at 100.0% (2 of 2 strings) Translation: stock-logistics-workflow-15.0/stock-logistics-workflow-15.0-stock_push_delay Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-workflow-15-0/stock-logistics-workflow-15-0-stock_push_delay/it/
Congratulations, PR rebased to 16.0. |
da834d7
to
c676831
Compare
class TestPacking(TransactionCase): | ||
@classmethod | ||
def setUpClass(cls): | ||
super(TestPacking, cls).setUpClass() |
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.
super(TestPacking, cls).setUpClass() | |
super().setUpClass() |
def _push_apply(self): | ||
"""Manual triggering""" | ||
if self.env.context.get("manual_push", False): | ||
new_move = super(StockMove, self)._push_apply() |
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.
new_move = super(StockMove, self)._push_apply() | |
new_move = super()._push_apply() |
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.
I'm wondering if this behavior shouldn't be activated through option as this changes standard behavior.
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.
The option will install the module? or maybe company specific? For me it is ok.
_inherit = "stock.picking" | ||
|
||
def _action_done(self): | ||
res = super(StockPicking, self)._action_done() |
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.
res = super(StockPicking, self)._action_done() | |
res = super()._action_done() |
CLA pending for approval...