Rodney Enciso Arias 7 éve
commit
fc45868106
4 módosított fájl, 98 hozzáadás és 0 törlés
  1. 54 0
      README.rst
  2. 3 0
      __init__.py
  3. 21 0
      __openerp__.py
  4. 20 0
      views/job_position_view.xml

+ 54 - 0
README.rst

@@ -0,0 +1,54 @@
+.. 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
+
+=======================
+Sale Order Unified Menu
+=======================
+
+Add a menu to show draft and confirmed orders all together
+
+Usage
+=====
+
+To use this module, you need to:
+
+.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas
+   :alt: Try me on Runbot
+   :target: https://runbot.odoo-community.org/runbot/167/8.0
+
+Bug Tracker
+===========
+
+Bugs are tracked on `GitHub Issues
+<https://github.com/OCA/sale-workflow/issues>`_. In case of trouble, please
+check there if your issue has already been reported. If you spotted it first,
+help us smashing it by providing a detailed and welcomed feedback.
+
+Credits
+=======
+
+Images
+------
+
+* Odoo Community Association: `Icon <https://github.com/OCA/maintainer-tools/blob/master/template/module/static/description/icon.svg>`_.
+
+Contributors
+------------
+
+* Francesco Apruzzese <f.apruzzese@apuliasoftware.it>
+
+Maintainer
+----------
+
+.. image:: https://odoo-community.org/logo.png
+   :alt: Odoo Community Association
+   :target: https://odoo-community.org
+
+This module is maintained by the OCA.
+
+OCA, or the Odoo Community Association, is a nonprofit organization whose
+mission is to support the collaborative development of Odoo features and
+promote its widespread use.
+
+To contribute to this module, please visit https://odoo-community.org.

+ 3 - 0
__init__.py

@@ -0,0 +1,3 @@
+# -*- coding: utf-8 -*-
+# © 2016 - Francesco Apruzzese <f.apruzzese@apuliasoftware.it>
+# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).

+ 21 - 0
__openerp__.py

@@ -0,0 +1,21 @@
+# -*- coding: utf-8 -*-
+# © 2016 - Francesco Apruzzese <f.apruzzese@apuliasoftware.it>
+# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
+
+{
+    "name": "Hr Job Position Menu",
+    "description": "Add a menu to show job positions",
+    "version": "8.0.1.0.0",
+    "category": "HR",
+    "website": "https://www.eiru.com.py",
+    "author": "Eiru Software",
+    "license": "AGPL-3",
+    "application": False,
+    "installable": True,
+    "depends": [
+        "purchase",
+    ],
+    "data": [
+        "views/job_position_view.xml",
+    ],
+}

+ 20 - 0
views/job_position_view.xml

@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="utf-8"?>
+<openerp>
+    <data>
+
+        <record id="action_job_position" model="ir.actions.act_window">
+            <field name="name">Cargos</field>
+            <field name="type">ir.actions.act_window</field>
+            <field name="res_model">hr.job</field>
+            <field name="view_type">form</field>
+            <field name="view_id" ref="hr.view_hr_job_tree"/>
+            <field name="view_mode">tree,form</field>
+            <!-- <field name="search_view_id" ref="purchase.view_purchase_order_filter"/> -->
+        </record>
+
+        <menuitem id="menu_job_position"
+                action="action_job_position" parent="hr.menu_hr_configuration"
+                sequence="7"/>
+
+    </data>
+</openerp>