[FIX+IMP] account_asset_management: 2 things:

* Fix compute methods dependencies and small optimizations
* Rename demo file to test and move it into the right folder
This commit is contained in:
Akim Juillerat
2018-09-28 12:24:01 +02:00
committed by Rodrigo
parent 7c76c17231
commit 163eb03e63
5 changed files with 24 additions and 23 deletions

View File

@@ -109,8 +109,7 @@ class AccountAssetProfile(models.Model):
@api.model
def _default_company_id(self):
return self.env[
'res.company']._company_default_get('account.asset')
return self.env['res.company']._company_default_get('account.asset')
@api.model
def _selection_method(self):