Commit Graph

250 Commits

Author SHA1 Message Date
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
OCA Transbot
39ec8f1a86 OCA Transbot updated translations from Transifex 2020-03-10 12:40:47 +01:00
Antonio Esposito
6102f4ae83 [10.0][MIGRATION] Migrated module 'account_fiscal_year' to V10 (#407)
[MIG] Migrated module 'account_fiscal_year' to V10
2020-03-10 12:40:47 +01:00
OCA Transbot
9b77c5b715 OCA Transbot updated translations from Transifex 2020-03-10 12:40:47 +01:00
Damien Crier
a0ed33a0e6 [FIX*IMP] account_fiscal_year
* Add contributors to README
* try to find a FY start date according to the start date from choosen period
* Unable to unlink a date_range with type fiscal_year
* `fiscal_year` flag readonly
* add menu to date_range under accounting section
* remove method on  object because it's the same as in  file
* unable to delete  with flag 'fiscal_year' but can delete
* clean __openerp__.py
* account_fiscal_year version number
2020-03-10 12:40:47 +01:00
Laurent Mignon
f4a08902fd [FIX] Tests 2020-03-10 12:40:47 +01:00
Damien Crier
85a266e7bc [ADD] add module "account_fiscal_year" 2020-03-10 12:40:47 +01:00
OCA-git-bot
c3f3b55962 Merge PR #934 into 13.0
Signed-off-by pedrobaeza
2020-03-10 11:38:09 +00:00
hveficent
1ce3424df4 [FIX] account_move_line_purchase_info: Overwrite _compute_invoice to ensure invoice count consistency 2020-03-05 13:47:16 +01:00
mreficent
0ca7714729 [MIG] account_move_line_tax_editable: Migration to 13.0 2020-02-13 16:48:54 +01:00
mreficent
caf2fd238e [IMP] account_move_line_tax_editable: black, isort 2020-02-13 16:48:52 +01:00
Pedro Castro Silva
2b409e3f59 Added translation using Weblate (Portuguese) 2020-02-13 16:47:27 +01:00
oca-travis
514fcb3d85 [UPD] Update account_move_line_tax_editable.pot
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_move_line_tax_editable
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-12-0/account-financial-tools-12-0-account_move_line_tax_editable/
2020-02-13 16:47:27 +01:00
ernesto
289fb02e43 [MIG] account_move_line_tax_editable: Migration to 12.0 2020-02-13 16:47:27 +01:00
Rudolf Schnapka
614c1ae296 Translated using Weblate (German)
Currently translated at 100,0% (2 of 2 strings)

Translation: account-financial-tools-11.0/account-financial-tools-11.0-account_move_line_tax_editable
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-11-0/account-financial-tools-11-0-account_move_line_tax_editable/de/
2020-02-13 16:47:27 +01:00
OCA Transbot
139d47d316 OCA Transbot updated translations from Transifex
[UPD] Update account_move_line_tax_editable.pot
2020-02-13 16:47:27 +01:00
Fekete Mihai
e5691228e1 Migrate account_move_line_tax_ediatble to 11.0
Update __manifest__.py
2020-02-13 16:47:27 +01:00
OCA Transbot
fca3a71b46 OCA Transbot updated translations from Transifex
OCA Transbot updated translations from Transifex

OCA Transbot updated translations from Transifex
2020-02-13 16:47:27 +01:00