Commit Graph

267 Commits

Author SHA1 Message Date
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
OCA-git-bot
5feb3bbdef [ADD] setup.py 2020-03-10 18:40:00 +00:00
OCA-git-bot
4619c3b1ad [UPD] README.rst 2020-03-10 18:39:59 +00:00
oca-travis
a31f0a0f1a [UPD] Update account_fiscal_year.pot 2020-03-10 18:24:44 +00:00
OCA-git-bot
7afddaa5d1 Merge PR #900 into 13.0
Signed-off-by AaronHForgeFlow
2020-03-10 18:18:07 +00:00
OCA Transbot
3232521ec5 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_line_purchase_info
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-13-0/account-financial-tools-13-0-account_move_line_purchase_info/
2020-03-10 17:45:35 +00:00
OCA-git-bot
86ae5865c5 [UPD] README.rst 2020-03-10 17:45:20 +00:00
oca-travis
9187d7f9ae [UPD] Update account_move_line_purchase_info.pot 2020-03-10 16:47:00 +00:00
OCA-git-bot
473ade4c35 Merge PR #943 into 13.0
Signed-off-by AaronHForgeFlow
2020-03-10 15:32:44 +00:00
OCA Transbot
7ba9efd7f1 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/
2020-03-10 14:49:23 +00:00
OCA-git-bot
454bd56146 [ADD] setup.py 2020-03-10 14:49:11 +00:00
OCA-git-bot
bebe7f56f8 [UPD] README.rst 2020-03-10 14:49:10 +00:00
oca-travis
7dba09b90a [UPD] Update account_move_line_tax_editable.pot 2020-03-10 13:09:30 +00:00
Andrea
2989d4df41 [13.0][MIG] account_fiscal_year 2020-03-10 12:42:05 +01:00
Yung-Wa
46a9ee01cb Added translation using Weblate (Dutch) 2020-03-10 12:40:48 +01:00
OCA-git-bot
3c104a0c94 [UPD] README.rst 2020-03-10 12:40:48 +01:00
OCA Transbot
2278ec6b3d 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_fiscal_year
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-12-0/account-financial-tools-12-0-account_fiscal_year/
2020-03-10 12:40:48 +01:00
oca-travis
391afa228a [UPD] Update account_fiscal_year.pot 2020-03-10 12:40:48 +01:00
mreficent
9b4da889a1 [ADD] fiscalyear date.range.type data
This date.range.type in v11 have benn used in some cases. Then, when you migrate, you need to have this data or else delete its xmlid.

We think it's better to keep it, because you may want to still use it.
2020-03-10 12:40:48 +01:00
Lorenzo Battistini
39aa73fd9e ADD refactored account_fiscal_year 2020-03-10 12:40:48 +01:00
OCA-git-bot
36ec15c793 [ADD] icon.png 2020-03-10 12:40:48 +01:00
oca-travis
8cd0e6d430 [UPD] Update account_fiscal_year.pot
Update translation files

Updated by Update PO files to match POT (msgmerge) hook in Weblate.
2020-03-10 12:40:48 +01:00
Hans Henrik Gabelgaard
ba839b9c40 Added translation using Weblate (Danish) 2020-03-10 12:40:47 +01:00
OCA Transbot
d49f7aa729 OCA Transbot updated translations from Transifex 2020-03-10 12:40:47 +01:00
Osoul
c28b9cf8ff Added translation using Weblate (Arabic) 2020-03-10 12:40:47 +01:00
OCA Transbot
2a4251290b OCA Transbot updated translations from Transifex
[UPD] Update account_fiscal_year.pot
2020-03-10 12:40:47 +01:00
Thierry Ducrest
727c2a9d5d [MIG] account_fiscal_year: Migration to 11. 2020-03-10 12:40:47 +01:00