mirror of
https://github.com/OCA/account-financial-tools.git
synced 2025-02-02 12:47:26 +02:00
[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:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user