Skip to content

Commit

Permalink
[MIG] business_requirement: Migration to 16.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Aromera committed Jul 4, 2023
1 parent 100bc5b commit 3828342
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 5 deletions.
2 changes: 1 addition & 1 deletion business_requirement/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"category": "Business Requirements Management",
"summary": "Manage the Business Requirements (stories, scenarios, gaps\
and test cases) for your customers",
"version": "15.0.1.0.2",
"version": "16.0.1.0.0",
"website": "https://github.com/OCA/business-requirement",
"author": "Elico Corp, Tecnativa, Odoo Community Association (OCA)",
"depends": ["product", "portal"],
Expand Down
6 changes: 2 additions & 4 deletions business_requirement/tests/test_br.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,7 @@ def test_portal_publish_button(self):
self.assertFalse(self.br.portal_published)

def test_report(self):
res = (
self.env["ir.actions.report"]
._get_report_from_name("business_requirement.br_report")
._render_qweb_html(self.br.ids)
res = self.env["ir.actions.report"]._render_qweb_html(
"business_requirement.br_report", self.br.ids
)
self.assertRegex(str(res[0]), self.br.name)
6 changes: 6 additions & 0 deletions setup/business_requirement/setup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import setuptools

setuptools.setup(
setup_requires=['setuptools-odoo'],
odoo_addon=True,
)

0 comments on commit 3828342

Please sign in to comment.