Commit Graph

293 Commits

Author SHA1 Message Date
OCA-git-bot
fccf1aed05 Merge PR #951 into 13.0
Signed-off-by pedrobaeza
2020-03-24 14:57:09 +00:00
OCA Transbot
18816f8865 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_chart_update
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-13-0/account-financial-tools-13-0-account_chart_update/
2020-03-24 10:06:21 +00:00
OCA-git-bot
f747503ffb account_chart_update 13.0.1.0.3 2020-03-24 10:06:05 +00:00
oca-travis
45a36f45cc [UPD] Update account_chart_update.pot 2020-03-24 09:32:15 +00:00
OCA-git-bot
a675f7c672 Merge PR #955 into 13.0
Signed-off-by pedrobaeza
2020-03-24 08:52:01 +00:00
ps-tubtim
1fcbc3345d [13.0][FIX] account_chart_update: Remove @api.multi 2020-03-24 15:48:23 +07:00
OCA Transbot
9753d33536 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_budget
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-13-0/account-financial-tools-13-0-account_move_budget/
2020-03-20 11:47:51 +00:00
Pedro M. Baeza
be8170a75d [FIX+IMP] account_chart_update: Add consistency method
With this, we prevent lock due to infinite loop if children taxes are matched, but
not the parent one and it's marked to be created.
2020-03-20 12:47:40 +01:00
Pedro M. Baeza
bb634be3d0 [FIX+IMP] account_chart_update: Create taxes in batch
With this, we gain some performance, but also prevent an error if there are template
taxes that have children taxes, as Odoo standard method forces that in the same call
all of them are created simultaneously, or it will enter in an infinite loop.
2020-03-20 12:45:55 +01:00
OCA-git-bot
cec815bde8 [ADD] setup.py 2020-03-20 10:45:53 +00:00
OCA-git-bot
616b3cef1b [UPD] README.rst 2020-03-20 10:45:52 +00:00
oca-travis
7f81883735 [UPD] Update account_move_budget.pot 2020-03-20 10:16:59 +00:00
OCA-git-bot
c67724d580 Merge PR #923 into 13.0
Signed-off-by simahawk
2020-03-20 10:00:12 +00:00
hveficent
13af922dec [MIG] account_move_budget: Migration to 13.0 2020-03-20 09:34:07 +01:00
hveficent
bf2c9c33e0 [IMP] account_move_budget: black, isort 2020-03-20 09:31:29 +01:00
Valaeys Stéphane
3476f9508d Translated using Weblate (French)
Currently translated at 100.0% (71 of 71 strings)

Translation: account-financial-tools-12.0/account-financial-tools-12.0-account_move_budget
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-12-0/account-financial-tools-12-0-account_move_budget/fr/
2020-03-20 09:28:21 +01:00
Valaeys Stéphane
03aaf8e952 Added translation using Weblate (French) 2020-03-20 09:28:21 +01:00
OCA-git-bot
9c34895145 [UPD] README.rst 2020-03-20 09:28:21 +01:00
oca-travis
b47b1a78be [UPD] Update account_move_budget.pot 2020-03-20 09:28:21 +01:00
Héctor Villarreal Ortega
cfb5e9cf1d Update account_move_budget/models/account_move_budget.py
Co-Authored-By: Nikul Chaudhary <nikul.chaudhary.serpentcs@gmail.com>
2020-03-20 09:28:21 +01:00
Héctor Villarreal Ortega
595855456c Update account_move_budget/models/account_move_budget.py
Co-Authored-By: Nikul Chaudhary <nikul.chaudhary.serpentcs@gmail.com>
2020-03-20 09:28:21 +01:00
Adrià Gil Sorribes
28b320ae66 [12.0][MIG] account_move_budget 2020-03-20 09:28:21 +01:00
OCA-git-bot
7613d5827e [UPD] README.rst 2020-03-20 09:28:21 +01:00
oca-travis
5062cd1fb5 [UPD] Update account_move_budget.pot 2020-03-20 09:28:21 +01:00
Jordi Ballester Alomar
ca77296933 [11.0][ADD] account_move_budget 2020-03-20 09:28:21 +01:00
Sergio Teruel
0a276e6217 [MIG] account_netting: Migration to v13.0 2020-03-19 13:19:07 +01:00
Sergio Teruel
e528b35b4c [IMP] account_netting: black, isort 2020-03-19 09:13:15 +01:00
Bole
e1240e88c4 Translated using Weblate (Croatian)
Currently translated at 91.7% (22 of 24 strings)

Translation: account-financial-tools-12.0/account-financial-tools-12.0-account_netting
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-12-0/account-financial-tools-12-0-account_netting/hr/
2020-03-19 09:13:03 +01:00
Valaeys Stéphane
f36d3cee9f Translated using Weblate (French)
Currently translated at 100.0% (24 of 24 strings)

Translation: account-financial-tools-12.0/account-financial-tools-12.0-account_netting
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-12-0/account-financial-tools-12-0-account_netting/fr/
2020-03-19 09:13:03 +01:00
Pedro Castro Silva
3592753bdf Translated using Weblate (Portuguese)
Currently translated at 100.0% (24 of 24 strings)

Translation: account-financial-tools-12.0/account-financial-tools-12.0-account_netting
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-12-0/account-financial-tools-12-0-account_netting/pt/
2020-03-19 09:13:03 +01:00
OCA-git-bot
c87ce971eb [UPD] README.rst 2020-03-19 09:13:03 +01:00
Josep M
4974408e9b Translated using Weblate (Spanish)
Currently translated at 100.0% (24 of 24 strings)

Translation: account-financial-tools-12.0/account-financial-tools-12.0-account_netting
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-12-0/account-financial-tools-12-0-account_netting/es/
2020-03-19 09:13:03 +01:00
Eduardo Aparicio
7f10ea18b7 Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (24 of 24 strings)

Translation: account-financial-tools-12.0/account-financial-tools-12.0-account_netting
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-12-0/account-financial-tools-12-0-account_netting/pt_BR/
2020-03-19 09:13:03 +01:00
OCA Transbot
cfdd75cb41 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: account-financial-tools-12.0/account-financial-tools-12.0-account_netting
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-12-0/account-financial-tools-12-0-account_netting/
2020-03-19 09:13:03 +01:00
oca-travis
708b608444 [UPD] Update account_netting.pot 2020-03-19 09:13:03 +01:00
OCA-git-bot
c4ff541537 [UPD] README.rst 2020-03-19 09:13:03 +01:00
Kitti U
3d289e92d2 Fix net amount, using amount_residual instead of debit-credit 2020-03-19 09:13:03 +01:00
Alexis de Lattre
c1e5179b88 [MIG] account_netting from v11 to v12 2020-03-19 09:13:03 +01:00
Rudolf Schnapka
5974cb5920 Translated using Weblate (German)
Currently translated at 100,0% (25 of 25 strings)

Translation: account-financial-tools-11.0/account-financial-tools-11.0-account_netting
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-11-0/account-financial-tools-11-0-account_netting/de/
2020-03-19 09:13:03 +01:00
Jimmy Ramos
7648088f29 Translated using Weblate (Spanish)
Currently translated at 100.0% (25 of 25 strings)

Translation: account-financial-tools-11.0/account-financial-tools-11.0-account_netting
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-11-0/account-financial-tools-11-0-account_netting/es/
2020-03-19 09:13:03 +01:00
oca-travis
fcd13d1c7f Update account_netting.pot 2020-03-19 09:13:03 +01:00
Fekete Mihai
385d60dca8 Remove variable partner_id since i changed the validation of partners number. 2020-03-19 09:13:03 +01:00
Fekete Mihai
473e2556d6 Increase tests. 2020-03-19 09:13:03 +01:00
Fekete Mihai
256b3d7c8a Migrate account_netting to 11.0. 2020-03-19 09:13:03 +01:00
cubells
2e6edac5e1 account_netting: Migration to 10.0
OCA Transbot updated translations from Transifex

OCA Transbot updated translations from Transifex
2020-03-19 09:13:03 +01:00
OCA Transbot
b341ec7e5c OCA Transbot updated translations from Transifex 2020-03-19 09:13:03 +01:00
Pedro M. Baeza
5f24f5d781 account_netting: AR/AP netting
AR/AP netting
=============

This module allows to compensate the balance of a receivable account with the
balance of a payable account for the same partner, creating a journal item
that reflects this operation.

**WARNING**: This operation can be forbidden in your country by the accounting
regulations, so you should check current laws before using it. For example, in
Spain, this is not allowed at first instance, unless you document well the
operation from both parties.

Usage
=====

From any account journal entries view:

* Accounting/Journal Entries/Journal Items
* Accounting/Periodic Processing/Reconciliation/Manual Reconciliation

select all the lines that corresponds to both AR/AP operations from the same
partner. Click on "More > Compensate". If the items don't correspond to the
same partner or they aren't AR/AP accounts, you will get an error.

On contrary, a dialog box will be presented with the result of the operation
and a selection of the journal to register the operation. When you click on the
"Compensate" button, a journal entry is created with the corresponding
counterparts of the AR/AP operations.
2020-03-19 09:13:03 +01:00
Pedro M. Baeza
7db1160d13 [IMP] account_asset_management: Simplify code for opening related entries
We don't need the search having the one2many field and no need also for list
comprehension having mapped operator.
2020-03-18 19:51:55 +01:00
Pedro M. Baeza
f695ee7ffc [FIX] account_asset_management: Avoid error
Steps to reproduce the problem:

* Go to assets view
* Group by profile
* Unfold a group and click on an asset
* Click on "Journal Entries" smart-button
* Go back to the asset list
* Click again on the same asset (or another).
* Click on "Journal Entries" smart-button

Current behavior:

Error saying "KeyError: 'profile_id'"

Expected behavior:

No error

The cause for this is that Odoo stores in the context the key `group_by` with the
value `profile_id` in the specified chain of steps. That context entry is used for
grouping records in the list, and system tries to group the journal entries also
by that field, which doesn't exists in the other model, and thus the error.

We avoided it copying the context to be passes and leaving out that entry.
2020-03-18 19:50:47 +01:00
OCA-git-bot
bc7c3fa5c1 pre-commit update 2020-03-14 11:47:13 +01:00