URL: <https://savannah.gnu.org/bugs/?63533>
Summary: Model 'gnuhealth.pol' is missing a default access Project: GNU Health Submitter: yangoon Submitted: Thu 15 Dec 2022 10:55:07 AM UTC Category: None Severity: 3 - Normal Item Group: None Status: None Privacy: Public Assigned to: None Open/Closed: Open Release: None Discussion Lock: Any Module: health Component: None _______________________________________________________ Follow-up Comments: ------------------------------------------------------- Date: Thu 15 Dec 2022 10:55:07 AM UTC By: Mathias Behrle <yangoon> Running the Tryton default test suite against some gnuhealth modules fails with ====================================================================== FAIL: test_model_access (trytond.modules.health_vara.tests.test_health_vara.HealthVaraTestCase) Test missing default model access ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/mathiasb/bin/tryton/tox_workbench_6.0/m9s/ci_with_postgres/health_vara/.tox/py310-sqlite/lib/python3.10/site-packages/trytond/tests/test_tryton.py", line 204, in wrapper result = func(*args, **kwargs) File "/home/mathiasb/bin/tryton/tox_workbench_6.0/m9s/ci_with_postgres/health_vara/.tox/py310-sqlite/lib/python3.10/site-packages/trytond/tests/test_tryton.py", line 569, in test_model_access self.assertGreaterEqual(no_groups, with_groups, AssertionError: {'gnuhealth.vaccination', 'ir.model.button.click', 'company.employee', 'currency.currency', 'currency.cron', 'party.category', 'gnuhealth.healthprofessional', 'gnuhealth.insurance.plan', 'gnuhealth.drug.route', 'gnuhealth.hospital.ward', 'gnuhealth.family', 'party.address.subdivision_type', 'ir.ui.view_tree_state', 'gnuhealth.prescription.order', 'gnuhealth.pathology.category', 'ir.action.wizard', 'party.configuration', 'ir.action.act_window.view', 'product.identifier', 'gnuhealth.hospital.building', 'ir.trigger', 'ir.email', 'ir.model.button.rule', 'gnuhealth.specialty', 'ir.ui.view', 'gnuhealth.prescription.line', 'ir.queue', 'ir.ui.menu', 'gnuhealth.insurance', 'product.product', 'ir.action.act_window.domain', 'gnuhealth.medication.dosage', 'gnuhealth.pathology', 'product.uom', 'gnuhealth.drug.form', 'gnuhealth.hospital.unit', 'ir.model.field', 'gnuhealth.operational_sector', 'gnuhealth.appointment', 'res.user', 'ir.rule', 'gnuhealth.procedure', 'ir.action.url', 'gnuhealth.directions', 'ir.translation', 'ir.action.report', 'ir.trigger.log', 'gnuhealth.family_member', 'ir.email.template', 'ir.action.act_window', 'currency.currency.rate', 'company.company', 'ir.rule.group', 'product.category', 'ir.cron', 'ir.lang', 'ir.module', 'gnuhealth.hospital.bed', 'gnuhealth.orthanc.patient', 'ir.module.dependency', 'gnuhealth.orthanc.study', 'gnuhealth.operational_area', 'party.address.format', 'gnuhealth.ethnicity', 'product.template', 'res.group', 'product.uom.category', 'gnuhealth.patient.disease', 'gnuhealth.medicament', 'ir.action', 'ir.model.button', 'ir.sequence.type', 'gnuhealth.medicament.category', 'gnuhealth.patient', 'gnuhealth.patient.medication', 'gnuhealth.sequences', 'ir.action.keyword', 'gnuhealth.patient.evaluation', 'gnuhealth.occupation', 'gnuhealth.hospital.or', 'ir.model.data', 'ir.model.access', 'ir.model', 'product.configuration', 'ir.message', 'ir.ui.icon', 'gnuhealth.dose.unit', 'gnuhealth.orthanc.config'} not greater than or equal to {'gnuhealth.vaccination', 'ir.model.button.click', 'company.employee', 'currency.currency', 'currency.cron', 'party.category', 'gnuhealth.healthprofessional', 'gnuhealth.insurance.plan', 'gnuhealth.drug.route', 'gnuhealth.hospital.ward', 'gnuhealth.family', 'party.address.subdivision_type', 'ir.ui.view_tree_state', 'gnuhealth.prescription.order', 'gnuhealth.pathology.category', 'ir.action.wizard', 'party.configuration', 'ir.action.act_window.view', 'gnuhealth.hospital.building', 'ir.trigger', 'gnuhealth.pol', 'ir.model.button.rule', 'gnuhealth.specialty', 'ir.ui.view', 'gnuhealth.prescription.line', 'ir.queue', 'ir.ui.menu', 'gnuhealth.insurance', 'ir.action.act_window.domain', 'gnuhealth.medication.dosage', 'gnuhealth.pathology', 'product.uom', 'gnuhealth.drug.form', 'gnuhealth.hospital.unit', 'ir.model.field', 'gnuhealth.operational_sector', 'gnuhealth.appointment', 'res.user', 'gnuhealth.procedure', 'ir.rule', 'ir.action.url', 'gnuhealth.directions', 'ir.translation', 'ir.action.report', 'ir.trigger.log', 'gnuhealth.family_member', 'ir.email.template', 'ir.action.act_window', 'company.company', 'ir.rule.group', 'product.category', 'ir.cron', 'ir.lang', 'ir.module', 'gnuhealth.hospital.bed', 'gnuhealth.orthanc.patient', 'ir.module.dependency', 'gnuhealth.orthanc.study', 'gnuhealth.operational_area', 'party.address.format', 'gnuhealth.ethnicity', 'product.template', 'res.group', 'product.uom.category', 'gnuhealth.patient.disease', 'gnuhealth.medicament', 'ir.action', 'ir.model.button', 'ir.sequence.type', 'gnuhealth.medicament.category', 'gnuhealth.patient', 'gnuhealth.patient.medication', 'gnuhealth.sequences', 'ir.action.keyword', 'gnuhealth.patient.evaluation', 'gnuhealth.occupation', 'gnuhealth.hospital.or', 'ir.model.access', 'ir.model', 'product.configuration', 'ir.message', 'ir.ui.icon', 'gnuhealth.dose.unit', 'gnuhealth.orthanc.config'} : Model "['gnuhealth.pol']" are missing a default access 'model', '=', 'gnuhealth.pol' has defined access permissions for admin and doctor, but no default access permissions. _______________________________________________________ Reply to this item at: <https://savannah.gnu.org/bugs/?63533> _______________________________________________ Message sent via Savannah https://savannah.gnu.org/