Hi!, in the model res.partner I have two contacts with the same account number, one is a Company and another is its Sucursal but in the table res.partner.bank the field acc_number is UNIQUE. The context of the link between res.partner and res.partner.bank is the following:
context="{'search_default_partner_id': active_id, 'default_partner_id': active_id}"
I need that it search first for active_id and if record no found, do it for parent_id, something like that.
Iam working with Odoo 11.0
I would appreciate any suggestions or comments
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ờ
2880
Lượt xem
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ý
Hope this will helps you: https://learnopenerp.tumblr.com/