콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
1 회신
5260 화면
베스트 답변

Update: my comment below this answer was intended for another post please disregard it. This answer should work just fine!
Example: Create a relationship between product.product to a new model named virtual_categories.

Hope this helps!

from openerp import fields

from openerp import models

class virtual_categories( models.Model ):         _name = "virtual.categories"         name = fields.Char( string = 'Virtual Category Name' )         virtual_category_id = fields.Many2one( 'product.product', string = 'Virtual Category' )

아바타
취소

That is a solution but then causes the need to run a new call to the xmlrpc for every record which is not efficient. I was hoping I could use the search with in as it says it supports I thought.