-
-
Notifications
You must be signed in to change notification settings - Fork 366
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][ADD] delivery_driver_stock_picking_batch #759
[16.0][ADD] delivery_driver_stock_picking_batch #759
Conversation
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.
Good job!
suggestion: Add the same domain as the stock.picking
_inherit = "stock.picking.batch" | ||
|
||
driver_ids = fields.Many2many( | ||
"res.partner", string="Drivers", compute="_compute_driver_ids", store=True |
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.
Add the same domain as the stock.picking
"res.partner", string="Drivers", compute="_compute_driver_ids", store=True | |
"res.partner", string="Drivers", compute="_compute_driver_ids", store=True, domain="[('is_company', '=', False)]", |
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.
Done. Thanks.
e3e3e21
to
313f21e
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.
This PR has the |
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.
@rafaelbn can you review and merge if neccesary? |
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.
Great. thank you! 👍🏼
/ocabot merge patch
This PR looks fantastic, let's merge it! |
@rafaelbn your merge command was aborted due to failed check(s), which you can inspect on this commit of 16.0-ocabot-merge-pr-759-by-rafaelbn-bump-patch. After fixing the problem, you can re-issue a merge command. Please refrain from merging manually as it will most probably make the target branch red. |
Add driver to stock picking batch MT-4427 @moduon Co-authored-by: Rafael Blasco <8736623+rafaelbn@users.noreply.github.com> Co-authored-by: Eduardo de Miguel <1162050+Shide@users.noreply.github.com>
313f21e
to
2efef8d
Compare
@rafaelbn I made rebase, please try again 🙏🏻 |
/ocabot merge patch |
What a great day to merge this nice PR. Let's do it! |
Congratulations, your PR was merged at 6df88a6. Thanks a lot for contributing to OCA. ❤️ |
Add drivers in stock picking batch
PR Series: #752 (must be merged before this one)
@Shide @Gelojr @rafaelbn please review.
MT-4427 @moduon