Commit Graph

583 Commits

Author SHA1 Message Date
oca-travis
bbeab0fee3 [UPD] Update account_cash_basis_group_base_line.pot 2020-12-30 15:00:29 +00:00
OCA-git-bot
56986503f6 Merge PR #1079 into 13.0
Signed-off-by moylop260
2020-12-30 14:54:07 +00:00
Humberto Arocha
a0c75a3eff [ADD] account_cash_basis_group_base_line: add module
account: Compacting the creation of Journal Lines for CABA base lines.

Main
-

Creation of Cash Basis (CABA) Journal Entries can lead to the creation
of a huge number of lines that are not quite useful and its creations
can lead to a lengthy process of creation of payment when several
invoices with a huge amount of invoice lines involved or to a lengthy
process of cancelation of payment because of reversion of the CABA, in
case of l10n_mx, many users have opted for using
l10n_mx_edi_avoid_reversal_entry, and then this causes a lengthy process
of deletions of CABA entries.

Justification
-

CABA Entry is divided into two parts when it is created
- Tax Part: The part that deals with the taxes themselves (this PR does
not mess with them).
- Base Part: The part of the base of the taxes (what this PR is all about)

So far the Base Part has been using a Brigde/Order account that does
not
have any financial use other than providing the source for computing
the
base of the amount of taxes due. In the financial statements, the
value
of the account used is always zero. So providing a huge amount of
details on this account has proved, in the wild, of no use.

Scenario
-

- Configure Tax based on payment.
- Configure the tax base account in the Tax.
- Have four invoices, each one with one hundred invoice lines, each line
is a different product or a different account. (4 invoices x 100 lines =
400 lines to be used as a tax base)
- Make three partial payments to each invoice. (3 payments x 4 invoices
= 12 payments)

Before this change
-

- Check the CABA entry created:
Chances are that each CABA Journal Entry will end up having:
-- 1 Entry line per tax collected.
-- 1 Entry line per tax to be collected.
-- 200 Entry lines for the base (100 lines in debit, 100 lines in credit)

That is a **whopping 2424 lines** for CABA entries where 2400 are
only
base lines.

And let us say that I have made a mistake on all the 12 payment (I am that dumb).

Reversal Method will clone your 2424 lines so now there are  2424
additional lines.

And remember I have to fix my payments and that creates again 2424
additional lines.

So **I end up with 2424 x 3 = 7272 lines.** This only for 3 invoices and
4 payment, for payments canceled and their corrections.

After this change
-

- Check the CABA entry created:
-- 1 Entry line per tax collected.
-- 1 Entry line per tax to be collected.
-- 2 Entry lines for the base, one debit, one credit.

Chances are that this could be increased but the algorithm tries only to
group by a set of keys.

So with the same steps, payments reversals and corrections, I could end
up with 12 payment x 4 lines x 3 steps = **144 lines down from 7272
lines.**
2020-12-29 22:35:21 -06:00
Pedro M. Baeza
97195359a7 [FIX] account_asset_management: Proper asset unlink + move unlink
2 related fixes:

- When removing an asset line depreciation move, we have to pass it
  first to draft, or we won't be able to remove it even with the
  context.
- When removing a move, the check for removing the linked asset should
  be only for purchase documents, not for "not sale" documents.
2020-12-22 09:08:51 +01:00
OCA-git-bot
8d6faa98ca [ADD] setup.py 2020-12-08 08:11:17 +00:00
OCA-git-bot
8dcae2abfe [UPD] README.rst 2020-12-08 08:11:16 +00:00
oca-travis
0695b39d0a [UPD] Update account_fiscal_position_allowed_journal.pot 2020-12-08 07:54:57 +00:00
OCA-git-bot
2fbccb18a5 Merge PR #937 into 13.0
Signed-off-by gurneyalex
2020-12-08 07:48:12 +00:00
OCA Transbot
80c763b523 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: account-financial-tools-13.0/account-financial-tools-13.0-account_move_template
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-13-0/account-financial-tools-13-0-account_move_template/
2020-11-26 06:40:37 +00:00
OCA-git-bot
4b254c290b account_move_template 13.0.1.1.0 2020-11-26 06:40:16 +00:00
OCA-git-bot
fd2bfed11e [UPD] README.rst 2020-11-26 06:40:15 +00:00
oca-travis
6917980811 [UPD] Update account_move_template.pot 2020-11-26 06:23:49 +00:00
OCA-git-bot
f2fa19dff3 Merge PR #1094 into 13.0
Signed-off-by kittiu
2020-11-26 06:16:46 +00:00
OCA-git-bot
bf394015f6 [ADD] setup.py 2020-11-25 17:26:46 +00:00
OCA-git-bot
b8bcf61d60 [UPD] README.rst 2020-11-25 17:26:46 +00:00
oca-travis
9bb2df5e09 [UPD] Update account_move_force_removal.pot 2020-11-25 17:09:48 +00:00
OCA-git-bot
4b1ee0caa9 Merge PR #1095 into 13.0
Signed-off-by pedrobaeza
2020-11-25 17:03:02 +00:00
Kitti U
9cd4ff46d7 [13.0][IMP] account_move_template, add options to overwirte output lines 2020-11-25 16:41:22 +07:00
OCA Transbot
7a83e7052c Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: account-financial-tools-13.0/account-financial-tools-13.0-account_journal_lock_date
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-13-0/account-financial-tools-13-0-account_journal_lock_date/
2020-11-22 18:17:09 +00:00
Víctor Martínez
b86ebd4cb0 [ADD] account_move_force_removal: Allow force removal account moves 2020-11-20 15:44:40 +01:00
Stéphane Bidoul
aeb95b109a Upgrade pylint-odoo for 13.0 [ci skip]
This is apprently necessary for the
development status checks to work correctly.
2020-11-05 17:47:22 +01:00
OCA-git-bot
7300fedab9 account_move_line_tax_editable 13.0.1.1.0 2020-11-03 12:15:01 +00:00
OCA-git-bot
f658437e4d Merge PR #1080 into 13.0
Signed-off-by AaronHForgeFlow
2020-11-03 12:03:57 +00:00
Héctor Villarreal Ortega
e618729842 [FIX] account_move_line_tax_editable:
* [FIX] Do not hide Originator Tax
* [IMP] Add optional hide option to Originator Tax
* [FIX] Drop tax_ids field from Journal Item page, as it is already displayed.
2020-11-03 12:50:30 +01:00
Stéphane Bidoul
f5e106ac77 update dotfiles [ci skip] 2020-11-01 22:48:50 +01:00
Stéphane Bidoul
f801414e24 Use prettier/pre-commit for compatibility with pre-commit 2.8 2020-11-01 14:32:59 +01:00
oca-git-bot
1195ef083d [IMP] pre-commit: pin node version [ci skip] 2020-10-27 00:54:03 +01:00
OCA Transbot
9686c7cb40 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: account-financial-tools-13.0/account-financial-tools-13.0-account_journal_lock_date
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-13-0/account-financial-tools-13-0-account_journal_lock_date/
2020-10-22 10:31:11 +00:00
OCA-git-bot
068371e8e5 account_chart_update 13.0.1.0.5 2020-10-22 10:30:55 +00:00
OCA-git-bot
3679f17998 Merge PR #1053 into 13.0
Signed-off-by pedrobaeza
2020-10-22 10:17:48 +00:00
OCA-git-bot
2af2b30f8f [ADD] setup.py 2020-10-13 08:43:47 +00:00
OCA-git-bot
f0dbf8ca11 [UPD] README.rst 2020-10-13 08:43:46 +00:00
oca-travis
6f86ee264a [UPD] Update account_journal_lock_date.pot 2020-10-13 08:17:34 +00:00
OCA-git-bot
b2b2120881 Merge PR #1065 into 13.0
Signed-off-by pedrobaeza
2020-10-13 07:49:23 +00:00
Ernesto Tejeda
16a058832f [MIG] account_journal_lock_date: Migration to 13.0 2020-10-08 11:13:26 -04:00
Ernesto Tejeda
f6f95a5a9b [IMP] account_journal_lock_date: black, isort, prettier 2020-10-07 20:01:15 -04:00
oca-travis
87f693b8a4 [UPD] Update account_journal_lock_date.pot 2020-10-07 20:01:15 -04:00
Ernesto Tejeda
8b1fbdd9f1 [IMP] account_journal_lock_date: two dates per journal
- Change in journal the existing 'Lock date' by two dates, the same as in company.
- Add a wizard to allows a massive update of those dates for several journals at the same time.
2020-10-07 20:01:15 -04:00
sbejaoui
e62778c366 [MIG] - account_journal_lock_date migration to 12.0 2020-10-07 20:01:15 -04:00
oca-travis
aff5233e66 [UPD] Update account_journal_lock_date.pot 2020-10-07 20:01:15 -04:00
OCA Transbot
3351a0dc77 OCA Transbot updated translations from Transifex 2020-10-07 20:01:15 -04:00
Stéphane Bidoul (ACSONE)
459ffa9535 [FIX] account_journal_lock_date test on travis
The test failed on travis (not on a local install) because the
admin users if part of the Adviser group. Make sure we have the right
group and add a test for that feature too.
2020-10-07 18:20:30 -04:00
Stéphane Bidoul (ACSONE)
bdb0518738 [ADD] account_journal_lock_date 2020-10-07 18:20:30 -04:00
OCA-git-bot
fd7e40f89b [UPD] README.rst 2020-10-01 12:31:27 +00:00
OCA-git-bot
7526c8bed5 Merge PR #1061 into 13.0
Signed-off-by AaronHForgeFlow
2020-10-01 10:42:12 +00:00
mreficent
64724c16d4 [UPD] Eficent -> ForgeFlow 2020-09-30 10:27:56 +02:00
OCA-git-bot
c9e807fe9f account_asset_management 13.0.1.3.1 2020-09-24 17:10:10 +00:00
OCA-git-bot
b34a191b3a Merge PR #1060 into 13.0
Signed-off-by pedrobaeza
2020-09-24 16:30:48 +00:00
Florent de Labarre
8a9a646614 [FIX] account_asset_management : empty message is posted if there are no asset 2020-09-24 14:18:04 +02:00
Luc De Meyer
df4fd2a83a [13.0][FIX]account_chart_update inactive taxes false positives 2020-09-07 09:52:31 +02:00