Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
1 Ответить
6350 Представления

I want to know how I can move a value from a new field from stock.picking to the stock.move ?

Thanks

Аватар
Отменить
Лучший ответ

I would suggest to create a related field using picking_id (reference to stock_picking) inside stock_move by inheriting it.

example:

suppose need to pull origin field from stock_picking to stock_move.

write here


picking_origin = fields.Integer(related='picking_id.origin', string="Origin');

Аватар
Отменить
Автор

so in stock_move I made a field like this ? I will try that later.

Автор

I have made it with overriding 5 methods from the original stock modul. I don't see an other way to manage that

will you please share some more information , i did not get this ,

I have made it with overriding 5 methods from the original stock modul. ?

Related Posts Ответы Просмотры Активность
1
июл. 17
3728
2
мая 25
4879
2
мая 23
2454
0
янв. 23
1507
1
авг. 21
4179