Hello,
I have added a field called retail_price in sale.order, stock.move and stock.move.line under stock.picking which are (move_line_ids_without_package, move_ids_without_package). Now how can we attach this field along with return order, like this when we return an order from stock.picking(Transfers), then our custom field value should also be attached with return order. Which method we have to override..
Anyone share an idea please.
Thank You.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Comptabilité
- Inventaire
- PoS
- Project
- MRP
Cette question a été signalée
Hello,
You need to inherit "_prepare_move_default_values" this method which prepare vals for return line.
Inherit method, add your custom field value and then call super() method.
Hi,
Thank you for your reply.
When we return an order from Delivery Order(stock.picking), then data will be sent to stock.move by default, how can we pass data to stock.move.line also. Is there any separate method for that?
Vous appréciez la discussion ? Ne vous contentez pas de lire, rejoignez-nous !
Créez un compte dès aujourd'hui pour profiter de fonctionnalités exclusives et échanger avec notre formidable communauté !
S'inscrire