Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
3980 Widoki

Hi everybody,

I add a field type one2many in my class product.product

        'product_BAT': fields.one2many('product.bat', 'product_temp_id', 'product BAT'),

I would like to print this field in the python file sale.py. For each product in sale.order.line, I would like to print the field product_BAT (I have the product_ID).

Print my field in the python file product.py works (with a tree) but how is possible in different python file (like in sale.py?)

Thank you a lot for your help. I am a little deseperate.

Selverine

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
1
sty 25
2377
2
wrz 22
10054
2
kwi 22
4995
0
lip 21
7710
1
mar 21
5374