mirror of https://github.com/OCA/social.git
[UPD] copier version 1.20
parent
e2aaea4d85
commit
65e6f69908
|
@ -1,5 +1,5 @@
|
|||
# Do NOT update manually; changes here will be overwritten by Copier
|
||||
_commit: v1.19
|
||||
_commit: v1.20
|
||||
_src_path: gh:oca/oca-addons-repo-template
|
||||
additional_ruff_rules: []
|
||||
ci: GitHub
|
||||
|
|
|
@ -41,7 +41,7 @@ repos:
|
|||
hooks:
|
||||
- id: whool-init
|
||||
- repo: https://github.com/oca/maintainer-tools
|
||||
rev: f71041f22b8cd68cf7c77b73a14ca8d8cd190a60
|
||||
rev: 9a170331575a265c092ee6b24b845ec508e8ef75
|
||||
hooks:
|
||||
# update the NOT INSTALLABLE ADDONS section above
|
||||
- id: oca-update-pre-commit-excluded-addons
|
||||
|
@ -110,7 +110,7 @@ repos:
|
|||
args: [--fix, --exit-non-zero-on-fix]
|
||||
- id: ruff-format
|
||||
- repo: https://github.com/OCA/pylint-odoo
|
||||
rev: v8.0.19
|
||||
rev: v9.0.4
|
||||
hooks:
|
||||
- id: pylint_odoo
|
||||
name: pylint with optional checks
|
||||
|
|
|
@ -6,6 +6,7 @@ fix = true
|
|||
extend-select = [
|
||||
"B",
|
||||
"C90",
|
||||
"E501", # line too long (default 88)
|
||||
"I", # isort
|
||||
"UP", # pyupgrade
|
||||
]
|
||||
|
|
|
@ -8,7 +8,8 @@
|
|||
"development_status": "Beta",
|
||||
"category": "Social Network",
|
||||
"website": "https://github.com/OCA/social",
|
||||
"author": "SDi, David Juaneda, Sodexis, ACSONE SA/NV, Odoo Community Association (OCA)",
|
||||
"author": "SDi, David Juaneda, Sodexis, ACSONE SA/NV,"
|
||||
" Odoo Community Association (OCA)",
|
||||
"license": "AGPL-3",
|
||||
"installable": True,
|
||||
"depends": ["calendar", "spreadsheet_dashboard"],
|
||||
|
|
|
@ -159,7 +159,10 @@ class TestIrMailServer(TransactionCase, MockSmtplibCase):
|
|||
self.assertEqual(
|
||||
used_mail_server,
|
||||
expected_mail_server,
|
||||
f"It using {used_mail_server.name} but we expect to use {expected_mail_server.name}",
|
||||
(
|
||||
f"It using {used_mail_server.name}"
|
||||
f" but we expect to use {expected_mail_server.name}"
|
||||
),
|
||||
)
|
||||
|
||||
def test_02_from_outgoing_server_domaintwo(self):
|
||||
|
@ -179,7 +182,10 @@ class TestIrMailServer(TransactionCase, MockSmtplibCase):
|
|||
self.assertEqual(
|
||||
used_mail_server,
|
||||
expected_mail_server,
|
||||
f"It using {used_mail_server.name} but we expect to use {expected_mail_server.name}",
|
||||
(
|
||||
f"It using {used_mail_server.name}"
|
||||
f" but we expect to use {expected_mail_server.name}"
|
||||
),
|
||||
)
|
||||
|
||||
def test_03_from_outgoing_server_another(self):
|
||||
|
@ -201,7 +207,10 @@ class TestIrMailServer(TransactionCase, MockSmtplibCase):
|
|||
self.assertEqual(
|
||||
used_mail_server,
|
||||
expected_mail_server,
|
||||
f"It using {used_mail_server.name} but we expect to use {expected_mail_server.name}",
|
||||
(
|
||||
f"It using {used_mail_server.name}"
|
||||
f" but we expect to use {expected_mail_server.name}"
|
||||
),
|
||||
)
|
||||
|
||||
def test_04_from_outgoing_server_none_use_config(self):
|
||||
|
@ -277,7 +286,10 @@ class TestIrMailServer(TransactionCase, MockSmtplibCase):
|
|||
self.assertEqual(
|
||||
used_mail_server,
|
||||
expected_mail_server,
|
||||
f"It using {used_mail_server.name} but we expect to use {expected_mail_server.name}",
|
||||
(
|
||||
f"It using {used_mail_server.name}"
|
||||
f" but we expect to use {expected_mail_server.name}"
|
||||
),
|
||||
)
|
||||
|
||||
def test_07_from_outgoing_server_multidomain_1(self):
|
||||
|
@ -297,7 +309,10 @@ class TestIrMailServer(TransactionCase, MockSmtplibCase):
|
|||
self.assertEqual(
|
||||
used_mail_server,
|
||||
expected_mail_server,
|
||||
f"It using {used_mail_server.name} but we expect to use {expected_mail_server.name}",
|
||||
(
|
||||
f"It using {used_mail_server.name}"
|
||||
f" but we expect to use {expected_mail_server.name}"
|
||||
),
|
||||
)
|
||||
|
||||
def test_08_from_outgoing_server_multidomain_3(self):
|
||||
|
@ -317,7 +332,10 @@ class TestIrMailServer(TransactionCase, MockSmtplibCase):
|
|||
self.assertEqual(
|
||||
used_mail_server,
|
||||
expected_mail_server,
|
||||
f"It using {used_mail_server.name} but we expect to use {expected_mail_server.name}",
|
||||
(
|
||||
f"It using {used_mail_server.name}"
|
||||
f" but we expect to use {expected_mail_server.name}"
|
||||
),
|
||||
)
|
||||
|
||||
def test_09_not_valid_domain_whitelist(self):
|
||||
|
|
|
@ -7,6 +7,7 @@ class ResPartner(models.Model):
|
|||
forwarding_partner_id = fields.Many2one(
|
||||
"res.partner",
|
||||
string="Forwarding Partner",
|
||||
help="Messages will be forwarded only for partners that are followers but no "
|
||||
"partners being notify because they belong to channel that is following the thread",
|
||||
help="Messages will be forwarded only for partners that are followers but no"
|
||||
" partners being notify because they belong to channel that is following"
|
||||
" the thread",
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue