[accounting] New API migration - WORK IN PROGRESS

- Task: https://www.odoo.com/web/#id=9955&view_type=form&model=project.task&action=333&active_id=131
- Pad: https://pad.odoo.com/p/r.Uy4wEA7I4G4GwPaU
Here 'company_id' field is not there in current model but it comes from inherited model.

In traditional API default value for 'company_id' is given as below:

     _defaults = {
         'company_id': lambda self,cr,uid,c: self.pool.get('res.company')._company_default_get(cr, uid, 'account.analytic.line', context=c),
     }

According to new API i am going to set default value as below:

company_id = fields.Many2one(default=lambda self: self.env['res.company']._company_default_get('account.analytic.line')) 

but currently it give's error that's why i commented the code(Field Inheritance is not supported).