diff --git a/addons/l10n_at_hr_payroll/__manifest__.py b/addons/l10n_at_hr_payroll/__manifest__.py index bae0865..6564f2c 100644 --- a/addons/l10n_at_hr_payroll/__manifest__.py +++ b/addons/l10n_at_hr_payroll/__manifest__.py @@ -1,7 +1,7 @@ # Part of the odoo-at-payroll project. License: LGPL-3. { 'name': 'Österreich - Personalverrechnung Kern (AT Payroll Core)', - 'version': '19.0.5.0.0', + 'version': '19.0.5.1.0', 'author': 'ixsol', 'website': 'https://gem360.at', 'category': 'Human Resources/Payroll', @@ -68,12 +68,14 @@ Kein VRV-Bezug: die Gemeinde-Buchhaltung (Anlage 3b, Ansatz/MVAG) läuft 'depends': ['hr_payroll'], 'data': [ 'security/ir.model.access.csv', + 'security/security_rules.xml', 'data/rule_parameters_2026.xml', 'data/rule_parameters_lst_2026.xml', 'data/rule_parameters_sv_2026.xml', 'data/rule_parameters_2027.xml', 'data/tasy_mapping.xml', 'views/tasy_views.xml', + 'views/company_views.xml', 'views/meldewesen_views.xml', 'views/fristen_views.xml', 'report/belege_reports.xml', diff --git a/addons/l10n_at_hr_payroll/security/security_rules.xml b/addons/l10n_at_hr_payroll/security/security_rules.xml new file mode 100644 index 0000000..b5c01f7 --- /dev/null +++ b/addons/l10n_at_hr_payroll/security/security_rules.xml @@ -0,0 +1,43 @@ + + + + + + --> User sieht nur die Daten der Companies, auf die sie/er Zugriff + + + + + + L16: eigene Company + + [('company_id', 'in', company_ids)] + + + + L16-Zeile: eigene Company + + [('l16_id.company_id', 'in', company_ids)] + + + + + + Kind: eigene Company + + [('employee_id.company_id', 'in', company_ids)] + + + + + + Frist: eigene Company + + [('company_id', 'in', company_ids)] + + + \ No newline at end of file diff --git a/addons/l10n_at_hr_payroll/views/company_views.xml b/addons/l10n_at_hr_payroll/views/company_views.xml new file mode 100644 index 0000000..fa8a433 --- /dev/null +++ b/addons/l10n_at_hr_payroll/views/company_views.xml @@ -0,0 +1,38 @@ + + + + + + + + + + res.company.form.l10n.at + res.company + + + + + + + + + + + + + + + + + + + + +