Skip to content

Commit

Permalink
[UPD] ssi_general_audit_worksheet_planning_memorandum
Browse files Browse the repository at this point in the history
* Menambahkan informasi other report pada KK Audit Plan Memorandum
  • Loading branch information
andhit-r committed Oct 3, 2024
1 parent 12cc783 commit d0461d2
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"license": "AGPL-3",
"installable": True,
"depends": [
"ssi_general_audit",
"ssi_general_audit_worksheet_understanding_entity",
],
"data": [
"security/ir_module_category_data.xml",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Copyright 2022 PT. Simetri Sinergi Indonesia
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl-3.0-standalone.html).

from odoo import models
from odoo import fields, models


class GeneralAuditWSfbbe0f8(models.Model):
Expand All @@ -14,3 +14,10 @@ class GeneralAuditWSfbbe0f8(models.Model):
_type_xml_id = (
"ssi_general_audit_worksheet_planning_memorandum." "worksheet_type_fbbe0f8"
)

financial_accounting_standard_id = fields.Many2one(
related="general_audit_id.financial_accounting_standard_id",
)
other_report_ids = fields.Many2many(
related="general_audit_id.other_report_ids",
)
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,25 @@
/>
<field name="arch" type="xml">
<data>
<xpath expr="//page[1]" position="before">
<page name="characteristics" string="Assignment Characteristics">
<group name="characteristics_1" colspan="4" col="2">
<field name="financial_accounting_standard_id" />
<field
name="other_report_ids"
widget="many2many_checkboxes"
/>
</group>
</page>
<page name="report_purpose" string="Report Purpose">
<group name="report_purpose_1" colspan="4" col="2">
</group>
</page>
<page name="important_factor" string="Important Factor">
<group name="important_factor_1" colspan="4" col="2">
</group>
</page>
</xpath>
</data>
</field>
</record>
Expand Down

0 comments on commit d0461d2

Please sign in to comment.