Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[17.0][MIG] account_netting: Migration to 17.0 #1883

Merged
merged 39 commits into from
Jul 31, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
39 commits
Select commit Hold shift + click to select a range
9fdfcf1
account_netting: AR/AP netting
pedrobaeza Aug 7, 2015
f80073f
account_netting: Migration to 10.0
cubells Oct 13, 2017
22474cc
Migrate account_netting to 11.0.
Jan 25, 2018
d8a6a6e
Increase tests.
Jan 25, 2018
b9497b9
Remove variable partner_id since i changed the validation of partners…
Jan 25, 2018
c6d951d
Translated using Weblate (Spanish)
jimmybanegas Sep 25, 2018
2f39679
Translated using Weblate (German)
rschnapka Oct 10, 2018
0844f58
[MIG] account_netting from v11 to v12
alexis-via Mar 19, 2019
708538a
Fix net amount, using amount_residual instead of debit-credit
kittiu May 29, 2019
1a64ffb
Translated using Weblate (Portuguese (Brazil))
eduaparicio Jul 8, 2019
a427e2a
Translated using Weblate (Spanish)
josepmy Jul 23, 2019
0dc9eed
Translated using Weblate (Portuguese)
pedrocs-exo Aug 14, 2019
b1c1ce6
Translated using Weblate (French)
svalaeys Oct 2, 2019
8d184d7
Translated using Weblate (Croatian)
badbole Nov 12, 2019
3578467
[IMP] account_netting: black, isort
sergio-teruel Mar 19, 2020
a9f684e
[MIG] account_netting: Migration to v13.0
sergio-teruel Mar 19, 2020
186fcff
[13.0][MIG] account_document_reversal
kittiu Mar 27, 2020
6cbb481
[13.0][FIX] Remove wrong account_document_reversal to fix the broken …
kittiu Apr 9, 2020
c97daff
[MIG] account_netting to v14
alexis-via Nov 26, 2020
86e81b0
Translated using Weblate (Italian)
francesco-ooops Apr 12, 2022
8e5fdcb
Translated using Weblate (Croatian)
badbole Aug 23, 2022
ce75fd4
[MIG] account_netting: Migration to 15.0
victoralmau Oct 11, 2022
d4abfe5
[UPD] Update account_netting.pot
Oct 26, 2022
c190f94
[UPD] README.rst
OCA-git-bot Oct 26, 2022
49d963f
Translated using Weblate (Spanish (Argentina))
ibuioli Oct 30, 2022
a2fb826
[MIG] account_netting to v16
alexis-via Feb 22, 2023
e92bd32
[UPD] Update account_netting.pot
Nov 3, 2023
7b84699
[BOT] post-merge updates
OCA-git-bot Nov 3, 2023
08abe75
account_netting: fix and improve strings
alexis-via Nov 3, 2023
5a0431e
[UPD] Update account_netting.pot
Nov 5, 2023
72a35cc
Update translation files
weblate Nov 5, 2023
33c9e37
Translated using Weblate (Spanish (Argentina))
ibuioli Nov 6, 2023
0cdc357
Translated using Weblate (Spanish)
Ivorra78 Nov 6, 2023
d46a439
Translated using Weblate (Italian)
mymage Nov 9, 2023
38283b8
Translated using Weblate (Swedish)
jakobkrabbe Feb 27, 2024
432574a
Translated using Weblate (French)
Mar 2, 2024
5ca8ef1
Translated using Weblate (Italian)
mymage Mar 12, 2024
59d59f5
[IMP] account_netting: pre-commit auto fixes
May 15, 2024
c3c4a39
[MIG] account_netting: Migration to 17.0
May 16, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions account_netting/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ Contributors
- Pedro M. Baeza
- Vicent Cubells
- Víctor Martínez
- Marwan Behillil

Maintainers
-----------
Expand Down
2 changes: 1 addition & 1 deletion account_netting/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

{
"name": "Account netting",
"version": "16.0.1.0.0",
"version": "17.0.1.0.0",
"summary": "Compensate AR/AP accounts from the same partner",
"category": "Accounting & Finance",
"author": "Tecnativa, Odoo Community Association (OCA)",
Expand Down
1 change: 1 addition & 0 deletions account_netting/readme/CONTRIBUTORS.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@
- Pedro M. Baeza
- Vicent Cubells
- Víctor Martínez
- Marwan Behillil
1 change: 1 addition & 0 deletions account_netting/security/ir.model.access.csv
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink
access_account_move_make_netting,Full access on account.move.make.netting to accountant grp,model_account_move_make_netting,account.group_account_user,1,1,1,1
access_account_move_make_netting_manager,Full access on account.move.make.netting to accountant manager grp,model_account_move_make_netting,account.group_account_manager,1,1,1,1
1 change: 1 addition & 0 deletions account_netting/static/description/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -427,6 +427,7 @@ <h2><a class="toc-backref" href="#toc-entry-5">Contributors</a></h2>
<li>Pedro M. Baeza</li>
<li>Vicent Cubells</li>
<li>Víctor Martínez</li>
<li>Marwan Behillil</li>
</ul>
</li>
</ul>
Expand Down
2 changes: 1 addition & 1 deletion account_netting/wizards/account_move_make_netting.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
"liability_payable",
"asset_receivable",
):
raise UserError(

Check warning on line 49 in account_netting/wizards/account_move_make_netting.py

View check run for this annotation

Codecov / codecov/patch

account_netting/wizards/account_move_make_netting.py#L49

Added line #L49 was not covered by tests
_(
"Line '%(line)s' has account '%(account)s' which is not "
"a payable nor a receivable account."
Expand All @@ -61,7 +61,7 @@
_("Line '%s' is already reconciled.") % line.display_name
)
if not line.partner_id:
raise UserError(

Check warning on line 64 in account_netting/wizards/account_move_make_netting.py

View check run for this annotation

Codecov / codecov/patch

account_netting/wizards/account_move_make_netting.py#L64

Added line #L64 was not covered by tests
_("Line '%s' doesn't have a partner.") % line.display_name
)
partners |= line.partner_id
Expand Down Expand Up @@ -162,7 +162,7 @@
# Make reconciliation
for move_line in move.line_ids:
to_reconcile = move_line + self.move_line_ids.filtered(
lambda x: x.account_id == move_line.account_id
lambda x, move_line=move_line: x.account_id == move_line.account_id
)
to_reconcile.reconcile()
# Open created move
Expand Down
5 changes: 1 addition & 4 deletions account_netting/wizards/account_move_make_netting_view.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,7 @@
<field name="company_currency_id" invisible="1" />
<field name="partner_id" />
<field name="balance" />
<field
name="balance_type"
attrs="{'invisible': [('balance', '=', 0)]}"
/>
<field name="balance_type" invisible="balance == 0" />
<field name="journal_id" />
</group>
<footer>
Expand Down
Loading