In the sale order lines, I created a new column as a checkbox. I want when checking the items to appear in the stock.move.line (Delivery) as checked. I am creating a column also inside the stock move lines and the process will go when checking these items in sales order lines they will be automatically checked inside the stock move lines. Any help please?
Cette question a été signalée
1
Répondre
7018
Vues
In stock_move_line we have move_id field (many2one - stock_move) and in stock move you will get sale_line_id field
Can I get a solution to implement? or the way its implemented?
create this field in stock move line
checkbox_field = fields.Boolean(related='move_id.sale_line_id.sale_line_checkbox_field')
Much Appreciated!! It worked
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| Publications associées | Réponses | Vues | Activité | |
|---|---|---|---|---|
|
|
1
févr. 23
|
4224 | ||
|
|
2
déc. 24
|
24341 | ||
|
|
0
sept. 24
|
2679 | ||
|
|
3
août 24
|
4603 | ||
|
|
0
févr. 24
|
3605 |