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

Hello!

This is a basic question, I am a PHP and MySQL programmer and this is new to me! I will appreciate any answer!

So, I've added a custom field (and view) called x_currency_id (many2one) to product.product. It works OK!! I can set a custom currency for each product.

Now, in the BOM model.... I want to show each product currency from the field I previusly added, but I can't get the relation to work...

I'm trying to add the field like this:

name-> x_product_currency
type-> one2many
Object Relationship -> res.currency
Field Relationship -> product_id.x_product_id

I have tried different setups, but none of them worked so far!

I appreciate any hint!! Thanks!

Аватар
Отменить
Related Posts Ответы Просмотры Активность
1
мар. 23
2467
0
дек. 22
3109
0
июн. 21
3015
0
июн. 20
5528
1
нояб. 19
2808