Skip to content

Commit

Permalink
Merge PR #21 into 14.0
Browse files Browse the repository at this point in the history
Signed-off-by andhit-r
  • Loading branch information
ssi-bot committed Nov 5, 2024
2 parents 677a177 + 00a8b2c commit 670ba66
Show file tree
Hide file tree
Showing 38 changed files with 1,778 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ssi_partner/menu.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,12 @@
sequence="4"
web_icon="contacts,static/description/icon.png"
/>

<menuitem
id="res_partner_menu_config"
name="Configuration"
parent="contacts.menu_contacts"
sequence="2"
sequence="99"
/>
<menuitem
id="menu_localisation"
Expand Down
26 changes: 26 additions & 0 deletions ssi_partner/security/ir_module_category_data.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,32 @@
<field name="name">Partner</field>
</record>

<record id="partner_workflow_module_category" model="ir.module.category">
<field name="name">Partner - Workflow</field>
<field name="parent_id" ref="partner_module_category" />
</record>

<record id="partner_data_ownership_module_category" model="ir.module.category">
<field name="name">Partner - Data Ownership</field>
<field name="parent_id" ref="partner_module_category" />
</record>


<record id="partner_configurator_module_category" model="ir.module.category">
<field name="name">Partner - Configurator</field>
<field name="parent_id" ref="partner_module_category" />
</record>

<record id="partner_wizard_module_category" model="ir.module.category">
<field name="name">Partner - Wizard</field>
<field name="parent_id" ref="partner_module_category" />
</record>

<record id="partner_report_module_category" model="ir.module.category">
<field name="name">Partner - Report</field>
<field name="parent_id" ref="partner_module_category" />
</record>

<record id="partner_configurator_module_category" model="ir.module.category">
<field name="name">Partner - Configurator</field>
<field name="parent_id" ref="partner_module_category" />
Expand Down
46 changes: 46 additions & 0 deletions ssi_partner_evaluation/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3

==================
Partner Evaluation
==================


Installation
============

To install this module, you need to:

1. Clone the branch 14.0 of the repository https://github.com/open-synergy/ssi-partner
2. Add the path to this repository in your configuration (addons-path)
3. Update the module list (Must be on developer mode)
4. Go to menu *Apps -> Apps -> Main Apps*
5. Search For *Partner Evaluation*
6. Install the module

Bug Tracker
===========

Bugs are tracked on `GitHub Issues
<https://github.com/open-synergy/ssi-partner/issues>`_. In case of trouble, please
check there if your issue has already been reported. If you spotted it first,
help us smash it by providing detailed and welcomed feedback.


Credits
=======

Contributors
------------

* Andhitia Rama <andhitia.r@gmail.com>

Maintainer
----------

.. image:: https://simetri-sinergi.id/logo.png
:alt: PT. Simetri Sinergi Indonesia
:target: https://simetri-sinergi.id.com

This module is maintained by the PT. Simetri Sinergi Indonesia.
7 changes: 7 additions & 0 deletions ssi_partner_evaluation/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Copyright 2024 OpenSynergy Indonesia
# Copyright 2024 PT. Simetri Sinergi Indonesia
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).

from . import (
models,
)
46 changes: 46 additions & 0 deletions ssi_partner_evaluation/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
# Copyright 2024 OpenSynergy Indonesia
# Copyright 2024 PT. Simetri Sinergi Indonesia
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).

{
"name": "Partner Evaluation",
"version": "14.0.1.0.0",
"website": "https://simetri-sinergi.id",
"author": "PT. Simetri Sinergi Indonesia, OpenSynergy Indonesia",
"license": "AGPL-3",
"installable": True,
"depends": [
"ssi_partner",
"ssi_master_data_mixin",
"ssi_transaction_confirm_mixin",
"ssi_transaction_done_mixin",
"ssi_transaction_cancel_mixin",
"ssi_transaction_open_mixin",
"ssi_transaction_date_duration_mixin",
"ssi_m2o_configurator_mixin",
"ssi_localdict_mixin",
"ssi_transaction_partner_mixin",
],
"data": [
"security/ir_module_category_data.xml",
"security/res_groups_data.xml",
"security/res_groups/partner_evaluation.xml",
"security/ir.model.access.csv",
"security/ir_model_access/partner_evaluation.xml",
"security/ir_rule/partner_evaluation.xml",
"data/ir_sequence/partner_evaluation.xml",
"data/sequence_template/partner_evaluation.xml",
"data/policy_template/partner_evaluation.xml",
"data/approval_template/partner_evaluation.xml",
"menu.xml",
"views/partner_evaluation_type_views.xml",
"views/partner_evaluation_result_views.xml",
"views/partner_evaluation_value_item_views.xml",
"views/partner_evaluation_value_set_views.xml",
"views/partner_evaluation_question_type_views.xml",
"views/partner_evaluation_views.xml",
"views/res_partner_views.xml",
],
"demo": [],
"images": [],
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
<?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). -->
<odoo>
<data noupdate="1">
<record id="partner_evaluation_approval_template" model="approval.template">
<field name="name">Standard</field>
<field name="model_id" ref="model_partner_evaluation" />
<field name="sequence" eval="100" />
<field name="computation_method">use_python</field>
<field name="python_code">result = True</field>
<field name="validate_sequence" eval="1" />
</record>
<record
id="partner_evaluation_approval_template_detail"
model="approval.template_detail"
>
<field name="template_id" ref="partner_evaluation_approval_template" />
<field name="approver_selection_method">use_group</field>
<field
name="approver_group_ids"
eval="[(6,0,[ref('partner_evaluation_validator_group')])]"
/>
</record>
</data>
</odoo>
18 changes: 18 additions & 0 deletions ssi_partner_evaluation/data/ir_sequence/partner_evaluation.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<?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). -->
<odoo>
<data noupdate="1">
<record id="partner_evaluation_sequence" model="ir.sequence">
<field name="name">Partner Evaluation</field>
<field name="code">partner_evaluation</field>
<field name="prefix">EV/%(range_year)s/</field>
<field eval="1" name="number_next" />
<field eval="1" name="number_increment" />
<field name="padding" eval="6" />
<field name="use_date_range" eval="1" />
<field eval="False" name="company_id" />
</record>
</data>
</odoo>
Loading

0 comments on commit 670ba66

Please sign in to comment.