[FIX+IMP] account_tax_balance:
* Test * README * add extra parent menu. If not, with the web_responsive module is mixed between other menus
This commit is contained in:
@@ -19,7 +19,10 @@ class AccountMove(models.Model):
|
||||
], compute='_compute_move_type', store=True, readonly=True)
|
||||
|
||||
@api.multi
|
||||
@api.depends('line_ids.account_id.internal_type', 'line_ids.balance')
|
||||
@api.depends(
|
||||
'line_ids.account_id.internal_type', 'line_ids.balance',
|
||||
'line_ids.account_id.user_type_id.type'
|
||||
)
|
||||
def _compute_move_type(self):
|
||||
def _balance_get(line_ids, internal_type):
|
||||
return sum(line_ids.filtered(
|
||||
|
||||
Reference in New Issue
Block a user