Split 49 modules/suites into independent git repos; untrack from monorepo
Each top-level module/suite folder is now its own private repo on GitHub (gsinghpal/<name>) and gitea (admin/<name>), with a fresh single initial commit. The monorepo no longer tracks them (added to .gitignore + git rm --cached); working-tree files are retained on disk and managed in their own repos. The monorepo keeps shared root files (CLAUDE.md, docs/, scripts/, tools/, AGENTS.md, WIP/obsolete dirs) and full history. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -1,25 +0,0 @@
|
||||
# Copyright © 2025 Nexa Systems Inc (https://nexasystems.ca)
|
||||
# @author: Nexa Systems Inc (support@nexasystems.ca)
|
||||
|
||||
# License OPL-1 (https://www.odoo.com/documentation/16.0/legal/licenses.html).
|
||||
|
||||
from odoo.tests import tagged
|
||||
|
||||
from odoo.addons.base.tests.common import BaseUsersCommon
|
||||
from .common import TestProductLabel
|
||||
@tagged('post_install', '-at_install')
|
||||
class TestAccessRights(BaseUsersCommon, TestProductLabel):
|
||||
|
||||
def test_access_internal_user(self):
|
||||
""" Test internal user's access rights """
|
||||
PrintWizard = self.env['print.product.label'].with_user(self.user_internal)
|
||||
wizard_as_internal_user = PrintWizard.browse(self.print_wizard.id)
|
||||
|
||||
# Internal user can use label templates
|
||||
wizard_as_internal_user.read()
|
||||
|
||||
# Internal user can change label templates
|
||||
wizard_as_internal_user.write({'template_id': self.label_template_50x25.id})
|
||||
|
||||
# Internal user can preview label templates
|
||||
wizard_as_internal_user.action_print()
|
||||
Reference in New Issue
Block a user