-
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.
2. Menambahkan Tier Validation 3. Menambahkan ir.rule sesuai dengan CB Group 4. Menambahkan relasi ke operating units dari CB Group 5. Memfilter isian dari CB Group sesuai dengan OU tiap users 6. Menambahkan tombol Test Connection pada backend CB 7. Pengisian Description pada CB Asset Batch dibuat flexible 8. Validasi isian date dan date_end pada CB Asset Batch
- Loading branch information
Showing
14 changed files
with
521 additions
and
17 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
63 changes: 63 additions & 0 deletions
63
bssb_core_banking_asset/data/base_workflow_policy_data.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,63 @@ | ||
<?xml version="1.0" encoding="utf-8" ?> | ||
<!-- Copyright 2020 OpenSynergy Indonesia | ||
Copyright 2020 PT. Simetri Sinergi Indonesia | ||
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). --> | ||
<openerp> | ||
<data> | ||
<record id="base_workflow_cb_asset_batch" model="base.workflow_policy"> | ||
<field name="model_id" ref="bssb_core_banking_asset.model_cb_asset_batch" /> | ||
</record> | ||
<record | ||
id="base_workflow_line_cb_asset_batch_confirm" | ||
model="base.workflow_policy_line" | ||
> | ||
<field name="workflow_id" ref="base_workflow_cb_asset_batch" /> | ||
<field | ||
name="field_id" | ||
search="[('model_id.model','=','cb_asset_batch'),('name','=','confirm_ok')]" | ||
/> | ||
<field | ||
name="python_code" | ||
>result = document.cb_group_id.cb_asset_confirm_group_ids.ids</field> | ||
</record> | ||
<record | ||
id="base_workflow_line_cb_asset_batch_send" | ||
model="base.workflow_policy_line" | ||
> | ||
<field name="workflow_id" ref="base_workflow_cb_asset_batch" /> | ||
<field | ||
name="field_id" | ||
search="[('model_id.model','=','cb_asset_batch'),('name','=','send_ok')]" | ||
/> | ||
<field | ||
name="python_code" | ||
>result = document.cb_group_id.cb_asset_send_group_ids.ids</field> | ||
</record> | ||
<record | ||
id="base_workflow_line_cb_asset_batch_cancel" | ||
model="base.workflow_policy_line" | ||
> | ||
<field name="workflow_id" ref="base_workflow_cb_asset_batch" /> | ||
<field | ||
name="field_id" | ||
search="[('model_id.model','=','cb_asset_batch'),('name','=','cancel_ok')]" | ||
/> | ||
<field | ||
name="python_code" | ||
>result = document.cb_group_id.cb_asset_cancel_group_ids.ids</field> | ||
</record> | ||
<record | ||
id="base_workflow_line_cb_asset_batch_restart" | ||
model="base.workflow_policy_line" | ||
> | ||
<field name="workflow_id" ref="base_workflow_cb_asset_batch" /> | ||
<field | ||
name="field_id" | ||
search="[('model_id.model','=','cb_asset_batch'),('name','=','restart_ok')]" | ||
/> | ||
<field | ||
name="python_code" | ||
>result = document.cb_group_id.cb_asset_restart_group_ids.ids</field> | ||
</record> | ||
</data> | ||
</openerp> |
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,38 @@ | ||
<?xml version="1.0" encoding="utf-8" ?> | ||
<!-- Copyright 2024 OpenSynergy Indonesia | ||
Copyright 2024 PT. Simetri Sinergi Indonesia | ||
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). --> | ||
|
||
<openerp> | ||
<data> | ||
<record id="group_cb_asset_batch_user" model="res.groups"> | ||
<field name="name">Core Banking Depreciation - All User</field> | ||
<field name="category_id" ref="base_user_role.ir_module_category_role" /> | ||
</record> | ||
<record id="group_cb_asset_batch_entri" model="res.groups"> | ||
<field name="name">Core Banking Depreciation - Entri</field> | ||
<field name="category_id" ref="base_user_role.ir_module_category_role" /> | ||
<field name="implied_ids" eval="[(6,0,[ | ||
ref('group_cb_asset_batch_user'), | ||
])]" /> | ||
</record> | ||
|
||
<record id="group_cb_asset_batch_validator" model="res.groups"> | ||
<field name="name">Core Banking Depreciation - Validator</field> | ||
<field name="category_id" ref="base_user_role.ir_module_category_role" /> | ||
<field name="implied_ids" eval="[(6,0,[ | ||
ref('group_cb_asset_batch_entri'), | ||
])]" /> | ||
</record> | ||
|
||
<record id="group_cb_asset_batch_administrator" model="res.groups"> | ||
<field name="name">Core Banking Depreciation - Administrator</field> | ||
<field name="category_id" ref="base_user_role.ir_module_category_role" /> | ||
<field name="implied_ids" eval="[(6,0,[ | ||
ref('base.group_system'),ref('group_cb_asset_batch_user') | ||
])]" /> | ||
</record> | ||
|
||
</data> | ||
</openerp> | ||
|
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,24 @@ | ||
<?xml version="1.0" encoding="UTF-8" ?> | ||
<!-- Copyright 2024 OpenSynergy Indonesia | ||
Copyright 2021 PT. Simetri Sinergi Indonesia | ||
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). | ||
pylint: disable=locally-disabled, file-not-used --> | ||
<openerp> | ||
<data> | ||
|
||
<record id="cb_asset_user_role" model="res.users.role"> | ||
<field name="name">Core Banking Depreciation - Entri</field> | ||
<field name="group_id" ref="group_cb_asset_batch_entri" /> | ||
</record> | ||
|
||
<record id="cb_asset_validator_role" model="res.users.role"> | ||
<field name="name">Core Banking Depreciation - Validator</field> | ||
<field name="group_id" ref="group_cb_asset_batch_validator" /> | ||
</record> | ||
|
||
<record id="cb_asset_admnistrator_role" model="res.users.role"> | ||
<field name="name">Core Banking Depreciation - Administrator</field> | ||
<field name="group_id" ref="group_cb_asset_batch_administrator" /> | ||
</record> | ||
</data> | ||
</openerp> |
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,21 @@ | ||
<?xml version="1.0" encoding="utf-8" ?> | ||
<!-- Copyright 2024 OpenSynergy Indonesia | ||
Copyright 2024 PT. Simetri Sinergi Indonesia | ||
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). --> | ||
<openerp> | ||
<data> | ||
<!-- Core Banking --> | ||
<record id="tier_def_cb_asset_batch" model="tier.definition"> | ||
<field name="name">Core Banking Depreciation - Normal</field> | ||
<field name="model_id" search="[('model','=','cb_asset_batch')]" /> | ||
<field name="python_code">True</field> | ||
<field name="validate_sequence" eval="1" /> | ||
</record> | ||
|
||
<record id="tier_def_review_cb_asset_batch" model="tier.definition.review"> | ||
<field name="definition_id" ref="tier_def_cb_asset_batch" /> | ||
<field name="review_type">group</field> | ||
<field name="reviewer_group_ids" eval="[(6,0,[ref('bssb.group_pat_validator')])]" /> | ||
</record> | ||
</data> | ||
</openerp> |
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
Oops, something went wrong.