CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
Please complete this code.. [Closed]
The Question has been closed for reason: not a real questionby
'bpl_company_id': fields.function(_get_company_data, fnct_inv=_set_company_data, type='one2many', relation='hr.department', string="Company"), bpl_estate_id bpl_division_id
i need to add below sql query and retrieve companies (no parent id) then need to get estate under that selected company then division under selected estate
company - > Estate -> Division
my incomplete function
cr.execute(""" select * from hr_department where parent_id is null """) return cr. fetch method..
please advice me to complete this code.try with various samples.but unable to get the result
About This Community
Odoo Training Center
|Asked: 3/22/13, 4:37 AM|
|Seen: 772 times|
|Last updated: 3/16/15, 8:10 AM|