Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

14 balance a 3 #340

Merged
merged 7 commits into from
Jun 11, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions mis_report_por_grupo/models/account_move_line_group.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
###############################################################################
# For copyright and license notices, see __manifest__.py file in root directory
###############################################################################

from odoo import fields, models, tools


Expand Down Expand Up @@ -48,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 @@ -75,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,
})
Loading