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] mail_attach_existing_attachment_account #1547

Open
wants to merge 19 commits into
base: 17.0
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
4fd2758
[12.0][ADD]mail_attach_existing_attachment_account
tbaden Apr 24, 2019
e070402
[IMP] mail_attach_existing_attachment_account: black, isort, prettier
victoralmau Nov 11, 2021
14fbff0
[MIG] mail_attach_existing_attachment_account: Migration to 13.0
Rad0van Aug 28, 2020
f832d02
[IMP] mail_attach_existing_attachment_account: black, isort, prettier
victoralmau Nov 11, 2021
0374ebb
[MIG] mail_attach_existing_attachment_account: Migration to 14.0
Nov 10, 2021
48d30d4
[UPD] Update mail_attach_existing_attachment_account.pot
oca-travis Nov 11, 2021
586ebbc
[UPD] README.rst
OCA-git-bot Nov 11, 2021
227e391
[FIX] mail_attach_existing_attachment_account: Resilient tests on mul…
pedrobaeza Mar 16, 2022
12c9dc8
[MIG] mail_attach_existing_attachment_account from 14.0
sbidoul Nov 22, 2024
158e39e
[IMP] mail_attach_existing_attachment_account: pre-commit stuff
sbidoul Nov 22, 2024
a0bb431
[DOC] mail_attach_existing_attachment_account: improve description
sbidoul Nov 22, 2024
910bf7f
[IMP] mail_attach_existing_attachment_account: align with base module
sbidoul Nov 23, 2024
9f5e5bf
[UPD] Update mail_attach_existing_attachment_account.pot
Dec 17, 2024
a73ee82
[BOT] post-merge updates
OCA-git-bot Dec 17, 2024
753a37f
Added translation using Weblate (Italian)
mymage Dec 18, 2024
3bcc9e1
Translated using Weblate (Italian)
mymage Dec 18, 2024
db5f1a2
Translated using Weblate (Italian)
mymage Dec 19, 2024
8afe237
[IMP] mail_attach_existing_attachment_account: pre-commit auto fixes
damdam-s Jan 16, 2025
1ff4372
[MIG] mail_attach_existing_attachment_account: Migration to 17.0
damdam-s Jan 16, 2025
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
Prev Previous commit
Next Next commit
[FIX] mail_attach_existing_attachment_account: Resilient tests on mul…
…ti-company

Doing a bulk search on accounts without company filter can lead to
selecting an account of other company, and thus, making the test to
fail.

We restrict the account search to the current company.
pedrobaeza authored and damdam-s committed Jan 16, 2025
commit 227e391637e69e2db7defa3ef79a8fc9362c9556
2 changes: 1 addition & 1 deletion mail_attach_existing_attachment_account/__manifest__.py
Original file line number Diff line number Diff line change
@@ -7,7 +7,7 @@
"author": "Thore Baden, Odoo Community Association (OCA)",
"website": "https://github.com/OCA/social",
"category": "Social Network",
"version": "14.0.1.0.0",
"version": "14.0.1.0.1",
"license": "AGPL-3",
"depends": ["account", "mail_attach_existing_attachment"],
"data": ["wizard/account_invoice_send_view.xml"],
Original file line number Diff line number Diff line change
@@ -14,7 +14,10 @@ def setUpClass(cls):
)
account_type = cls.env.ref("account.data_account_type_other_income")
cls.income_account = cls.env["account.account"].search(
[("user_type_id", "=", account_type.id)],
[
("user_type_id", "=", account_type.id),
("company_id", "=", cls.env.company.id),
],
limit=1,
)
invoice_form = Form(