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
- Księgowość
- Zapasy
- PoS
- Project
- MRP
To pytanie dostało ostrzeżenie
1
Odpowiedz
4838
Widoki
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
Podoba Ci się ta dyskusja? Dołącz do niej!
Stwórz konto dzisiaj, aby cieszyć się ekskluzywnymi funkcjami i wchodzić w interakcje z naszą wspaniałą społecznością!
Zarejestruj sięPowiązane posty | Odpowiedzi | Widoki | Czynność | |
---|---|---|---|---|
|
1
lut 23
|
2954 | ||
How to add a sequence a field?
Rozwiązane
|
|
2
gru 24
|
21831 | |
|
0
wrz 24
|
1363 | ||
|
3
sie 24
|
2689 | ||
|
0
lut 24
|
1790 |