Move 124 sale modules to oca-sale, create oca-project with 56 project modules from oca-workflow-process

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Ernad Husremovic 2025-08-30 18:04:10 +02:00
parent 9eb7ae5807
commit 6094c218b2
2332 changed files with 125826 additions and 0 deletions

View file

@ -0,0 +1,22 @@
# Copyright 2017 - 2018 Modoolar <info@modoolar.com>
# License LGPLv3.0 or later (https://www.gnu.org/licenses/lgpl-3.0.en.html).
from .test_common import HttpTestCommon
class TestController(HttpTestCommon):
def test_01_project_browse(self):
self.authenticate("admin", "admin")
response = self.url_open("/projects/" + self.project_1.key)
self.assertEqual(response.status_code, 200)
self.assertTrue(
response.url.endswith(self.get_project_url(self.project_1)), response.url
)
def test_02_task_browse(self):
self.authenticate("admin", "admin")
response = self.url_open("/tasks/" + self.task11.key)
self.assertEqual(response.status_code, 200)
self.assertTrue(
response.url.endswith(self.get_task_url(self.task11)), response.url
)