-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[UPD] ssi_general_audit_worksheet_understanding_entity/
* Menambahkan master Other Report * Menambahkan informasi other report pada KK Main Business Activity Process
- Loading branch information
Showing
10 changed files
with
140 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 19 additions & 0 deletions
19
ssi_general_audit_worksheet_understanding_entity/models/general_audit_other_report.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# Copyright 2022 OpenSynergy Indonesia | ||
# 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 fields, models | ||
|
||
|
||
class GeneralAuditOtherReport(models.Model): | ||
_name = "general_audit_other_report" | ||
_inherit = [ | ||
"mixin.master_data", | ||
] | ||
_description = "General Audit Other Report" | ||
_order = "sequence, id" | ||
|
||
sequence = fields.Integer( | ||
string="Sequence", | ||
default=10, | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
70 changes: 70 additions & 0 deletions
70
...ral_audit_worksheet_understanding_entity/views/general_audit_fraud_other_report_views.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
<?xml version="1.0" ?> | ||
<!-- Copyright 2022 OpenSynergy Indonesia | ||
Copyright 2022 PT. Simetri Sinergi Indonesia | ||
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl-3.0-standalone.html). --> | ||
<odoo> | ||
|
||
<record id="general_audit_other_report_view_search" model="ir.ui.view"> | ||
<field name="name">general_audit_other_report - search</field> | ||
<field name="model">general_audit_other_report</field> | ||
<field | ||
name="inherit_id" | ||
ref="ssi_master_data_mixin.mixin_master_data_view_search" | ||
/> | ||
<field name="mode">primary</field> | ||
<field name="arch" type="xml"> | ||
<data /> | ||
</field> | ||
</record> | ||
|
||
<record id="general_audit_other_report_view_tree" model="ir.ui.view"> | ||
<field name="name">general_audit_other_report - tree</field> | ||
<field name="model">general_audit_other_report</field> | ||
<field | ||
name="inherit_id" | ||
ref="ssi_master_data_mixin.mixin_master_data_view_tree" | ||
/> | ||
<field name="mode">primary</field> | ||
<field name="arch" type="xml"> | ||
<data> | ||
<xpath expr="//field[@name='code']" position="before"> | ||
<field name="sequence" widget="handle" /> | ||
</xpath> | ||
</data> | ||
</field> | ||
</record> | ||
|
||
<record id="general_audit_other_report_view_form" model="ir.ui.view"> | ||
<field name="name">general_audit_other_report - form</field> | ||
<field name="model">general_audit_other_report</field> | ||
<field | ||
name="inherit_id" | ||
ref="ssi_master_data_mixin.mixin_master_data_view_form" | ||
/> | ||
<field name="mode">primary</field> | ||
<field name="arch" type="xml"> | ||
<data> | ||
<xpath expr="//field[@name='code']" position="after"> | ||
<field name="sequence" /> | ||
</xpath> | ||
</data> | ||
</field> | ||
</record> | ||
|
||
<record id="general_audit_other_report_action" model="ir.actions.act_window"> | ||
<field name="name">Other Reports</field> | ||
<field name="type">ir.actions.act_window</field> | ||
<field name="res_model">general_audit_other_report</field> | ||
<field name="view_mode">tree,form</field> | ||
</record> | ||
|
||
<menuitem | ||
id="general_audit_other_report_menu" | ||
name="Other Reports" | ||
parent="ssi_general_audit.menu_configuration_general_audit" | ||
action="general_audit_other_report_action" | ||
sequence="110" | ||
groups="general_audit_other_report_group" | ||
/> | ||
|
||
</odoo> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters