odoo10_addons

Check-in [de8dd9a7a4]

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:corr
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | enterprise
Files: files | file ages | folders
SHA3-256: de8dd9a7a4375f648b2ca894f9dc7768b55ec41f054d41d2d46de5d065ec5a00
User & Date: bit4bit 2019-03-10 00:21:16
Context
2019-03-10
00:39
trial_balance_co: codigos de saldo anterior y consultados se adicionan por conjuntos/set check-in: 360ea2d621 user: bit4bit tags: enterprise
00:21
corr check-in: de8dd9a7a4 user: bit4bit tags: enterprise
2019-03-09
23:53
trial_balance_co: se adiciona cuenta desconocida, ya que pueden haber movimientos sin realiacion a account.account check-in: 56c723e76c user: bit4bit tags: enterprise
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to trial_balance_co/report/balance.py.

61
62
63
64
65
66
67
68
69
70
71
72
73
74
75

                account_result[rid]['debit'] += row.get('debit')
                account_result[rid]['credit'] += row.get('credit')
                account_result[rid]['balance'] += row.get('balance')
                if account_by_code.exists():
                    account_result[rid]['name'] = account_by_code.name
                else:
                    account_result[rid]['name'] = accounts[account_id].name
                account_result[rid]['account_id'] = account_id
                account_result[rid]['code'] = rid
                if len(rid) > 2:
                    rid = rid[:-2]
                elif len(rid) == 2:
                    rid = rid[:-1]
                else:







|







61
62
63
64
65
66
67
68
69
70
71
72
73
74
75

                account_result[rid]['debit'] += row.get('debit')
                account_result[rid]['credit'] += row.get('credit')
                account_result[rid]['balance'] += row.get('balance')
                if account_by_code.exists():
                    account_result[rid]['name'] = account_by_code.name
                else:
                    account_result[rid]['name'] = account.name
                account_result[rid]['account_id'] = account_id
                account_result[rid]['code'] = rid
                if len(rid) > 2:
                    rid = rid[:-2]
                elif len(rid) == 2:
                    rid = rid[:-1]
                else: