Skip to content

Commit

Permalink
Cambios 14.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Lopsanz committed Jun 10, 2024
1 parent baeae2b commit 3f70786
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions mis_report_por_grupo/models/account_move_line_group.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def init(self):
aml.debit AS debit,
aml.credit AS credit,
aml.company_id AS company_id,
aml.user_type_id AS user_type_id,
acc.user_type_id AS user_type_id,
aml.reconciled AS reconciled,
aml.full_reconcile_id AS full_reconcile_id,
aml.partner_id AS partner_id
Expand All @@ -74,11 +74,11 @@ def init(self):
('group_id', '!=', False),]):
if not accounts.search([
('company_id', '=', acc.company_id.id),
('code', '=', acc.group_id.code_prefix)]):
('code', '=', acc.group_id.code_prefix_start)]):
acc.copy({
'company_id': acc.company_id.id,
'name': acc.group_id.name or '',
'code': acc.group_id.code_prefix,
'code': acc.group_id.code_prefix_start,
'deprecated': True,
'asset_profile_id': False,
})

0 comments on commit 3f70786

Please sign in to comment.