Rodney Enciso Arias 8 лет назад
Сommit
137a654174
8 измененных файлов с 243 добавлено и 0 удалено
  1. 54 0
      README.rst
  2. 3 0
      __init__.py
  3. BIN
      __init__.pyc
  4. 21 0
      __openerp__.py
  5. 48 0
      i18n/it.po
  6. 42 0
      i18n/sl.po
  7. 42 0
      i18n/tr_TR.po
  8. 33 0
      views/sale_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": "Sale Order Unified Menu",
+    "description": "Add a menu to show draft and confirmed orders",
+    "version": "8.0.1.0.0",
+    "category": "Sale",
+    "website": "https://www.apuliasoftware.it",
+    "author": "Francesco Apruzzese",
+    "license": "AGPL-3",
+    "application": False,
+    "installable": True,
+    "depends": [
+        "sale",
+    ],
+    "data": [
+        "views/sale_view.xml",
+    ],
+}

+ 48 - 0
i18n/it.po

@@ -0,0 +1,48 @@
+# Translation of Odoo Server.
+# This file contains the translation of the following modules:
+#	* sale_order_unified_menu
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: Odoo Server 8.0\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2016-06-07 13:03+0000\n"
+"PO-Revision-Date: 2016-06-07 13:03+0000\n"
+"Last-Translator: <>\n"
+"Language-Team: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: \n"
+"Plural-Forms: \n"
+
+#. module: sale_order_unified_menu
+#: model:ir.actions.act_window,help:sale_order_unified_menu.action_unified_order
+msgid "<p class=\"oe_view_nocontent_create\">\n"
+"                Click to create a quotation, the first step of a new sale.\n"
+"              </p><p>\n"
+"                Odoo will help you handle efficiently the complete sale flow:\n"
+"                from the quotation to the sales order, the\n"
+"                delivery, the invoicing and the payment collection.\n"
+"              </p><p>\n"
+"                The social feature helps you organize discussions on each sales\n"
+"                order, and allow your customers to keep track of the evolution\n"
+"                of the sales order.\n"
+"              </p>\n"
+"            "
+msgstr "<p class=\"oe_view_nocontent_create\">\n"
+"                Fai click per creare un nuovo preventivo: il primo passo di una nuova vendita.\n"
+"              </p><p>\n"
+"                Odoo ti aiuterà a gestire efficentemente l'intero ciclo di vendita:\n"
+"                preventivazione, ordine, spedizione, fatturazione e pagamento.\n"
+"              </p><p>\n"
+"                Le caratteristiche social di odoo organizzano gli ordini di vendita\n"
+"                in modo che il cliente possa tenere traccia dell'eveoluzione dell'ordine.\n"
+"              </p>\n"
+"            "
+
+#. module: sale_order_unified_menu
+#: model:ir.actions.act_window,name:sale_order_unified_menu.action_unified_order
+#: model:ir.ui.menu,name:sale_order_unified_menu.menu_unified_order
+msgid "All Orders"
+msgstr "Tutti gli Ordini"
+

+ 42 - 0
i18n/sl.po

@@ -0,0 +1,42 @@
+# Translation of Odoo Server.
+# This file contains the translation of the following modules:
+# * sale_order_unified_menu
+# 
+# Translators:
+# Matjaž Mozetič <m.mozetic@matmoz.si>, 2016
+msgid ""
+msgstr ""
+"Project-Id-Version: sale-workflow (8.0)\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2016-06-09 02:44+0000\n"
+"PO-Revision-Date: 2016-06-09 06:53+0000\n"
+"Last-Translator: Matjaž Mozetič <m.mozetic@matmoz.si>\n"
+"Language-Team: Slovenian (http://www.transifex.com/oca/OCA-sale-workflow-8-0/language/sl/)\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: \n"
+"Language: sl\n"
+"Plural-Forms: nplurals=4; plural=(n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n%100==4 ? 2 : 3);\n"
+
+#. module: sale_order_unified_menu
+#: model:ir.actions.act_window,help:sale_order_unified_menu.action_unified_order
+msgid ""
+"<p class=\"oe_view_nocontent_create\">\n"
+"                Click to create a quotation, the first step of a new sale.\n"
+"              </p><p>\n"
+"                Odoo will help you handle efficiently the complete sale flow:\n"
+"                from the quotation to the sales order, the\n"
+"                delivery, the invoicing and the payment collection.\n"
+"              </p><p>\n"
+"                The social feature helps you organize discussions on each sales\n"
+"                order, and allow your customers to keep track of the evolution\n"
+"                of the sales order.\n"
+"              </p>\n"
+"            "
+msgstr "<p class=\"oe_view_nocontent_create\">\n                Ustvari predračun - prvi korak pri prodaji.\n              </p><p>\n                Odoo omogoča učinkovito upravljanje celotnega prodajnega toka:\n                od predračuna do prodajnega naloga, dostave,\n                obračuna in izterjave plačil.\n              </p><p>\n                Socialna komponenta omogoča organizacijo razprav za vsak prodajni\n                nalog in kupcem omogoči sledenje in napredovanje\n                prodajnega naloga.\n              </p>\n            "
+
+#. module: sale_order_unified_menu
+#: model:ir.actions.act_window,name:sale_order_unified_menu.action_unified_order
+#: model:ir.ui.menu,name:sale_order_unified_menu.menu_unified_order
+msgid "All Orders"
+msgstr "Vsi nalogi"

+ 42 - 0
i18n/tr_TR.po

@@ -0,0 +1,42 @@
+# Translation of Odoo Server.
+# This file contains the translation of the following modules:
+# * sale_order_unified_menu
+# 
+# Translators:
+# Ozge Altinisik <ozge@altinkaya.com.tr>, 2017
+msgid ""
+msgstr ""
+"Project-Id-Version: sale-workflow (8.0)\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2017-01-04 10:48+0000\n"
+"PO-Revision-Date: 2017-01-06 06:46+0000\n"
+"Last-Translator: Ozge Altinisik <ozge@altinkaya.com.tr>\n"
+"Language-Team: Turkish (Turkey) (http://www.transifex.com/oca/OCA-sale-workflow-8-0/language/tr_TR/)\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: \n"
+"Language: tr_TR\n"
+"Plural-Forms: nplurals=1; plural=0;\n"
+
+#. module: sale_order_unified_menu
+#: model:ir.actions.act_window,help:sale_order_unified_menu.action_unified_order
+msgid ""
+"<p class=\"oe_view_nocontent_create\">\n"
+"                Click to create a quotation, the first step of a new sale.\n"
+"              </p><p>\n"
+"                Odoo will help you handle efficiently the complete sale flow:\n"
+"                from the quotation to the sales order, the\n"
+"                delivery, the invoicing and the payment collection.\n"
+"              </p><p>\n"
+"                The social feature helps you organize discussions on each sales\n"
+"                order, and allow your customers to keep track of the evolution\n"
+"                of the sales order.\n"
+"              </p>\n"
+"            "
+msgstr ""
+
+#. module: sale_order_unified_menu
+#: model:ir.actions.act_window,name:sale_order_unified_menu.action_unified_order
+#: model:ir.ui.menu,name:sale_order_unified_menu.menu_unified_order
+msgid "All Orders"
+msgstr "Bütün siparişler"

+ 33 - 0
views/sale_view.xml

@@ -0,0 +1,33 @@
+<?xml version="1.0" encoding="utf-8"?>
+<openerp>
+    <data>
+
+        <record id="action_unified_order" model="ir.actions.act_window">
+            <field name="name">Pedidos de Venta</field>
+            <field name="type">ir.actions.act_window</field>
+            <field name="res_model">sale.order</field>
+            <field name="view_type">form</field>
+            <field name="view_id" ref="sale.view_quotation_tree"/>
+            <field name="view_mode">tree,form,calendar,graph</field>
+            <field name="search_view_id" ref="sale.view_sales_order_filter"/>
+            <field name="help" type="html">
+              <p class="oe_view_nocontent_create">
+                Click to create a quotation, the first step of a new sale.
+              </p><p>
+                Odoo will help you handle efficiently the complete sale flow:
+                from the quotation to the sales order, the
+                delivery, the invoicing and the payment collection.
+              </p><p>
+                The social feature helps you organize discussions on each sales
+                order, and allow your customers to keep track of the evolution
+                of the sales order.
+              </p>
+            </field>
+        </record>
+
+        <menuitem id="menu_unified_order"
+                action="action_unified_order" parent="base.menu_sales"
+                sequence="7"/>
+
+    </data>
+</openerp>