diff --git a/ssi_l10n_id_taxform_faktur_pajak/__manifest__.py b/ssi_l10n_id_taxform_faktur_pajak/__manifest__.py index 26abcf5..c79a11f 100644 --- a/ssi_l10n_id_taxform_faktur_pajak/__manifest__.py +++ b/ssi_l10n_id_taxform_faktur_pajak/__manifest__.py @@ -29,6 +29,7 @@ "security/ir_module_category_data.xml", "security/res_group_data.xml", "security/ir.model.access.csv", + "security/ir_rule_data.xml", "data/ir_sequence_data.xml", "data/sequence_template_data.xml", "data/approval_template_data.xml", diff --git a/ssi_l10n_id_taxform_faktur_pajak/data/account_journal_data.xml b/ssi_l10n_id_taxform_faktur_pajak/data/account_journal_data.xml deleted file mode 100644 index 64ac3b6..0000000 --- a/ssi_l10n_id_taxform_faktur_pajak/data/account_journal_data.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - PPh 21/26 Out - P2126O - general - - - diff --git a/ssi_l10n_id_taxform_faktur_pajak/security/ir_rule_data.xml b/ssi_l10n_id_taxform_faktur_pajak/security/ir_rule_data.xml index 1c53e8d..ba399f2 100644 --- a/ssi_l10n_id_taxform_faktur_pajak/security/ir_rule_data.xml +++ b/ssi_l10n_id_taxform_faktur_pajak/security/ir_rule_data.xml @@ -4,9 +4,9 @@ License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). --> - - Bukti Potong PPh f113301 Out - Internal Users - + + E-NOFA - Internal Users + [ ('user_id','=',user.id), @@ -17,15 +17,23 @@ - + + E-NOFA - Responsible to company data + + + [('company_id','=',user.company_id.id)] + + + + + + + Bukti Potong PPh f113301 Out - Responsible to company data - - + >E-NOFA - Responsible to company and all child companies data + + [('company_id','=',user.company_id.id)] @@ -33,15 +41,47 @@ - + + E-NOFA - All + + + [(1,'=',1)] + + + + + + + + E-NOFA - Internal Users + + + [ + ('user_id','=',user.id), + ] + + + + + + + + E-NOFA - Responsible to company data + + + [('company_id','=',user.company_id.id)] + + + + + + + Bukti Potong PPh f113301 Out - Responsible to company and all child companies data - - + >E-NOFA - Responsible to company and all child companies data + + [('company_id','=',user.company_id.id)] @@ -49,18 +89,14 @@ - - Bukti Potong PPh f113301 Out - All - - + + E-NOFA - All + + [(1,'=',1)] -