Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Kế toán
- Tồn kho
- PoS
- Project
- MRP
Câu hỏi này đã bị gắn cờ
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.
Bạn có hứng thú với cuộc thảo luận không? Đừng chỉ đọc, hãy tham gia nhé!
Tạo tài khoản ngay hôm nay để tận hưởng các tính năng độc đáo và tham gia cộng đồng tuyệt vời của chúng tôi!
Đăng ký