How to create and edit record in odoo13 hr.employee module from flutter? I had found create and write functions in odoo api but I dont know how it works and what are the arguments in it. can someone help me
Odoo is the world's easiest all-in-one management software.
 It includes hundreds of business apps:
- CRM
- e-Commerce
- Kirjanpito
- Varastointi
- PoS
- Project
- MRP
Tämä kysymys on merkitty
            
                1
                
                    Vastaa
                
            
        
        
            
                5296
                
                    Näkymät
                
            
        
    Hi Ann,
You can try some steps below:
1. Create a model for `hr.employee`: https://pub.dev/packages/json_serializable
2. Call data from Odoo, example for `res.partner`
    OdooResponse result = await client.searchRead('res.partner', [['supplier', '=', true]], ['id', 'name']);
    var dt = result.getResult()['records'];
    final json = dt.map<ResPartner>((json) => ResPartner.fromJson(json)).toList();
Nautitko keskustelusta? Älä vain lue, vaan osallistu!
Luo tili jo tänään nauttiaksesi yksinoikeusominaisuuksista ja osallistuaksesi mahtavaan yhteisöömme!
Rekisteröidy