Commit Graph

611 Commits

Author SHA1 Message Date
Jordi Ballester
6de925fe52 [ADD] account_asset_management_menu: change menu for Assets
Make the menu entries accessible regardless if you use Odoo CE or EE.
Adds dependency with the module account_menu for the menu entries
to become accessible.
2021-02-19 11:01:11 +01:00
OCA Transbot
6d1f672564 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_asset_management
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-13-0/account-financial-tools-13-0-account_asset_management/
2021-02-09 22:32:15 +00:00
OCA-git-bot
7acde9c545 account_asset_management 13.0.2.0.0 2021-02-09 22:31:54 +00:00
OCA-git-bot
757abcfd77 [UPD] README.rst 2021-02-09 22:31:54 +00:00
oca-travis
a2ced5a118 [UPD] Update account_asset_management.pot 2021-02-09 22:15:31 +00:00
OCA-git-bot
97a47720dc Merge PR #1123 into 13.0
Signed-off-by pedrobaeza
2021-02-09 22:09:08 +00:00
Stefan Rijnhart
ab6476c866 [IMP] Actually generate report in test
Plus other tests to make it to the codecov target
2021-02-09 17:11:27 +01:00
Luc De Meyer
e3dee68101 [IMP] account_asset_management: Add reporting 2021-02-09 17:11:27 +01:00
OCA-git-bot
85c5031678 account_lock_to_date 13.0.1.0.1 2021-01-21 12:22:11 +00:00
oca-travis
35ad3fd03e [UPD] Update account_lock_to_date.pot 2021-01-21 12:05:11 +00:00
OCA-git-bot
69fdd58463 Merge PR #1100 into 13.0
Signed-off-by dreispt
2021-01-21 11:47:39 +00:00
OCA-git-bot
5efca3c708 [ADD] setup.py 2021-01-21 11:36:25 +00:00
OCA-git-bot
25df17e345 [UPD] README.rst 2021-01-21 11:36:25 +00:00
oca-travis
2ead683a4f [UPD] Update product_category_tax.pot 2021-01-21 11:09:38 +00:00
OCA-git-bot
67801cd5cb Merge PR #1091 into 13.0
Signed-off-by dreispt
2021-01-21 10:52:53 +00:00
OCA-git-bot
9299a34684 account_check_deposit 13.0.1.1.0 2021-01-21 10:05:49 +00:00
OCA-git-bot
c2ee03a986 Merge PR #1109 into 13.0
Signed-off-by dreispt
2021-01-21 09:51:04 +00:00
Thomas Binsfeld (ACSONE)
b0f486bf0e Translated using Weblate (French)
Currently translated at 77.2% (17 of 22 strings)

Translation: account-financial-tools-13.0/account-financial-tools-13.0-account_menu
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-13-0/account-financial-tools-13-0-account_menu/fr/
2021-01-20 10:44:51 +00:00
Thomas Binsfeld (ACSONE)
7262da8bdf Added translation using Weblate (French) 2021-01-20 08:30:51 +00:00
Luc De Meyer
afb5bdd183 [13.0]fix account_check_deposit multi-company record rule 2021-01-06 18:15:05 +01:00
OCA-git-bot
7072e40330 [ADD] setup.py 2020-12-30 15:15:45 +00:00
OCA-git-bot
12eee33e94 [UPD] README.rst 2020-12-30 15:15:44 +00:00
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
Ronald Portier
070c970fbd [FIX] account_lock_to_date. Exception from wizard.
Also use ValidationError instead of UserError in wizard to set lock to dates.
2020-12-02 16:25:13 +01:00
Ronald Portier
72c5d0a92c [FIX] account_lock_to_date. Also adapt tests to ValidationError 2020-12-02 08:43:12 +01:00
Ronald Portier
e322c01410 [FIX] account_lock_to_date. Correct message.
If setting the Advisor Lock To Date too early, the message instructed
the user to do the exact opposite of what he/she should do to correct
the problem.
2020-12-01 22:48:34 +01:00
Ronald Portier
a53c43e25f [FIX] account_lock_to_date. No crash on error.
Use ValidationError instead of UserError to prevent unfriendly message;
Prevent crash when a lock to date not yet set in company.
2020-12-01 18:06:39 +01: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
AaronHForgeFlow
822697085c [IMP] product_category_tax
* add a boleean to exclude specific products to be updated
2020-11-18 18:05:58 +01:00
AaronHForgeFlow
11e7b0b993 [ADD]product_category_tax 2020-11-17 13:07:04 +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