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?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Contabilidad
- Inventario
- PoS
- Project
- MRP
Se marcó esta pregunta
1
Responder
4692
Vistas
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
¿Le interesa esta conversación? ¡Participe en ella!
Cree una cuenta para poder utilizar funciones exclusivas e interactuar con la comunidad.
InscribirsePublicaciones relacionadas | Respuestas | Vistas | Actividad | |
---|---|---|---|---|
|
1
feb 23
|
2811 | ||
How to add a sequence a field?
Resuelto
|
|
2
dic 24
|
21687 | |
|
0
sept 24
|
1268 | ||
|
3
ago 24
|
2536 | ||
|
0
feb 24
|
1709 |