mirror of
https://github.com/OCA/account-financial-tools.git
synced 2025-02-02 12:47:26 +02:00
[FIX][account_asset_management] Add items on affects fields list
This commit is contained in:
committed by
OCA-git-bot
parent
6caca3edf2
commit
fd62e1e464
@@ -32,7 +32,8 @@ FIELDS_AFFECTS_ASSET_MOVE = set(['period_id', 'journal_id', 'date'])
|
||||
# List of move line's fields that can't be modified if move is linked
|
||||
# with a depreciation line
|
||||
FIELDS_AFFECTS_ASSET_MOVE_LINE = \
|
||||
set(['credit', 'debit', 'account_id', 'journal_id', 'date'])
|
||||
set(['credit', 'debit', 'account_id', 'journal_id', 'date',
|
||||
'asset_category_id', 'asset_id', 'tax_code_id', 'tax_amount'])
|
||||
|
||||
|
||||
class account_move(orm.Model):
|
||||
|
||||
Reference in New Issue
Block a user