跳至内容
菜单
此问题已终结
3990 查看

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

形象
丢弃
相关帖文 回复 查看 活动
1
1月 25
2393
2
9月 22
10063
2
4月 22
5006
0
7月 21
7719
1
3月 21
5394