[ADD] purchase_return_picking_type#2682
Conversation
0477bbd to
c047fa0
Compare
AaronHForgeFlow
left a comment
There was a problem hiding this comment.
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 |
rousseldenis
left a comment
There was a problem hiding this comment.
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 |
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? |
ac81417 to
5096fae
Compare
5096fae to
ac1f95a
Compare
This module allows to define an Operation Type in Purchase Return Orders.