-
-
Notifications
You must be signed in to change notification settings - Fork 844
[ADD] purchase_return_picking_type #2682
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: 16.0
Are you sure you want to change the base?
Conversation
0477bbd
to
c047fa0
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 LG. I just a have a couple of questions:
- How will the picking_type_id defined in the return order is used?
- I really don't mind it but perhaps it can be called purchase_return_picking_type?
Hi @AaronHForgeFlow ! Taking this into account, and with the module from #2683, we can manage the different prices offered by the same vendor depending on the destination on the purchase return orders. |
Must be called picking_type_id because logic from _prepare_sellers from https://github.com/OCA/product-attribute/blob/16.0/product_supplierinfo_stock_picking_type/models/product_product.py#L9 |
ok! The second question was about the name of the module, but it does not matter |
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.
Could you add some tests?
I would have named this module with something more understandable from a technical/functional point of view. Like purchase_return_picking_type
Didn't see @AaronHForgeFlow comment but we are synced about the name 😅 |
@rousseldenis I named the field that way for a specific reason, if it's renamed we will have conflicts when the product_supplierinfo_stock_picking_type module is installed. That's why I created this module. |
It's not about field name but module one. |
ah, you were talking about module name.. |
c047fa0
to
e5de77f
Compare
@AaronHForgeFlow @rousseldenis |
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.
🆗
Missing a little test |
@rousseldenis maybe tests are more interesting adding them here #2683, wdyt? |
@rousseldenis or you want me to test de defaults to the picking type on purchase return order creation? |
466eed4
to
ac81417
Compare
ac81417
to
5096fae
Compare
This module allows to define an Operation Type in Purchase Return Orders.