Maintainers
This module is maintained by the OCA.
- + + +OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.
diff --git a/account_brand/tests/test_account_move.py b/account_brand/tests/test_account_move.py index f7ed4c058..7c3835e42 100644 --- a/account_brand/tests/test_account_move.py +++ b/account_brand/tests/test_account_move.py @@ -6,7 +6,7 @@ class TestAccountMove(TransactionCase): def setUp(self): - super(TestAccountMove, self).setUp() + super().setUp() self.product = self.env.ref("product.product_product_4") self.account_receivable = self.env["account.account"].create( { @@ -63,7 +63,7 @@ def setUp(self): def _get_receivable_account(self, move): return self.move.line_ids.filtered( - lambda l: l.account_id.account_type == "asset_receivable" + lambda line: line.account_id.account_type == "asset_receivable" ).account_id def test_on_change_partner_id(self): diff --git a/account_brand/tests/test_brand_mixin.py b/account_brand/tests/test_brand_mixin.py index 9c8443573..b87635ad7 100644 --- a/account_brand/tests/test_brand_mixin.py +++ b/account_brand/tests/test_brand_mixin.py @@ -11,7 +11,7 @@ class TestBrandMixin(TransactionCase): def setUp(self): - super(TestBrandMixin, self).setUp() + super().setUp() self.partner = self.env.user.partner_id self.company = self.env.user.company_id self.other_company = self.env["res.company"].create( diff --git a/account_brand/views/account_move_views.xml b/account_brand/views/account_move_views.xml index cbdf8752a..69fd66ed5 100644 --- a/account_brand/views/account_move_views.xml +++ b/account_brand/views/account_move_views.xml @@ -8,7 +8,8 @@