diff options
| author | Naresh Choksy <nch@tinyerp.com> | 2008-11-04 11:16:45 +0530 |
|---|---|---|
| committer | Naresh Choksy <nch@tinyerp.com> | 2008-11-04 11:16:45 +0530 |
| commit | 2a4096b752f3634fe255ecd78e842e11d1801a67 (patch) | |
| tree | 9ed47e680afe293497461adf430f146c60e97da2 /addons/board_document | |
| parent | 54651e2f34af1412df5ab5d3e371bdc4d0600b23 (diff) | |
| parent | da8aa7411aef2f2b962b2b67b73563dce4c45bee (diff) | |
merges
bzr revid: nch@tinyerp.com-20081104054645-pqtvoho3hiyjb2yf
Diffstat (limited to 'addons/board_document')
| -rw-r--r-- | addons/board_document/__terp__.py | 20 | ||||
| -rw-r--r-- | addons/board_document/board_document_demo.xml | 29 | ||||
| -rw-r--r-- | addons/board_document/board_document_view.xml | 192 | ||||
| -rw-r--r-- | addons/board_document/i18n/board_document.pot | 74 | ||||
| -rw-r--r-- | addons/board_document/i18n/fr_FR.po | 74 |
5 files changed, 280 insertions, 109 deletions
diff --git a/addons/board_document/__terp__.py b/addons/board_document/__terp__.py index 665d24c2f10..ec64f716d1d 100644 --- a/addons/board_document/__terp__.py +++ b/addons/board_document/__terp__.py @@ -1,4 +1,24 @@ # -*- encoding: utf-8 -*- +############################################################################## +# +# OpenERP, Open Source Management Solution +# Copyright (C) 2004-2008 Tiny SPRL (<http://tiny.be>). All Rights Reserved +# $Id$ +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. +# +############################################################################## { "name":"Dashboard for Document Management", "version":"1.0", diff --git a/addons/board_document/board_document_demo.xml b/addons/board_document/board_document_demo.xml index 07d6ed92f38..6f8f8ffa39e 100644 --- a/addons/board_document/board_document_demo.xml +++ b/addons/board_document/board_document_demo.xml @@ -1,20 +1,17 @@ <?xml version="1.0"?> <openerp> - <data noupdate="1"> + <data noupdate="1"> - <!-- - Administrator shortcut - Demo user startup menu - --> - <record model="ir.ui.view_sc" id="sc_document_dash"> - <field name="name">Documents dashboard</field> - <field name="user_id" ref="base.user_root"/> - <field name="resource">ir.ui.menu</field> - <field name="sequence">1</field> - <field name="res_id" ref="menu_board_document_manager"/> - </record> - <record model="res.users" id="base.user_demo"> - <field name="action_id" ref="open_board_document_manager"/> - </record> - </data> + <!-- + Administrator shortcut + Demo user startup menu + --> + <record model="ir.ui.view_sc" id="sc_document_dash"> + <field name="name">Documents dashboard</field> + <field name="user_id" ref="base.user_root"/> + <field name="resource">ir.ui.menu</field> + <field name="sequence">1</field> + <field name="res_id" ref="menu_board_document_manager"/> + </record> + </data> </openerp> diff --git a/addons/board_document/board_document_view.xml b/addons/board_document/board_document_view.xml index 794b79590f4..d5d701680e1 100644 --- a/addons/board_document/board_document_view.xml +++ b/addons/board_document/board_document_view.xml @@ -1,106 +1,112 @@ <?xml version="1.0"?> <openerp> - <data> - <record model="board.note.type" id="note_document_type"> - <field name="name">Document</field> - </record> + <data> + <record model="board.note.type" id="note_document_type"> + <field name="name">Document</field> + </record> - <record model="ir.ui.view" id="board_document_manager_form"> - <field name="name">board.document.manager.form</field> - <field name="model">board.board</field> - <field name="type">form</field> - <field name="arch" type="xml"> - <form string="Document board"> - <hpaned position="100"> - <child1> - <action - string="New Files" - name="%(report_document.action_view_all_document_tree)d" - view_mode="tree"/> - - <action - string="File Size by Month" - name="%(report_document.action_view_size_month)d" - view_mode="graph,tree"/> - </child1> - <child2> - <action - string="Files by Resource Type" - name="%(report_document.action_view_document_by_resourcetype_graph)d" - view_mode="graph,tree"/> - - <action - string="Files by Partner" - name="%(report_document.action_view_files_by_partner)d" - view_mode="graph,tree"/> - </child2> - </hpaned> - </form> - </field> - </record> + <record model="ir.ui.view" id="board_document_manager_form"> + <field name="name">board.document.manager.form</field> + <field name="model">board.board</field> + <field name="type">form</field> + <field name="arch" type="xml"> + <form string="Document board"> + <hpaned position="100"> + <child1> + <action + string="New Files" + name="%(report_document.action_view_all_document_tree)d" + view_mode="tree"/> + + <action + string="File Size by Month" + name="%(report_document.action_view_size_month)d" + view_mode="graph,tree"/> + </child1> + <child2> + <action + string="Files by Resource Type" + name="%(report_document.action_view_document_by_resourcetype_graph)d" + view_mode="graph,tree"/> + + <action + string="Files by Partner" + name="%(report_document.action_view_files_by_partner)d" + view_mode="graph,tree"/> + </child2> + </hpaned> + </form> + </field> + </record> - <record model="ir.actions.act_window" id="open_board_document_manager"> - <field name="name">Document Dashboard</field> - <field name="res_model">board.board</field> - <field name="view_type">form</field> - <field name="view_mode">form</field> + <record model="ir.actions.act_window" id="open_board_document_manager"> + <field name="name">Document Dashboard</field> + <field name="res_model">board.board</field> + <field name="view_type">form</field> + <field name="view_mode">form</field> - <field name="view_id" ref="board_document_manager_form"/> - </record> + <field name="view_id" ref="board_document_manager_form"/> + </record> - <menuitem - name="Dashboards/Document/Document Manager" - action="open_board_document_manager" - sequence="1" - id="menu_board_document_manager" - icon="terp-graph"/> + <menuitem + name="Document" + id="menu_board_document" + parent="board.dashboard_menu" + groups="document.group_document_manager"/> - <record model="ir.ui.view" id="board_document_manager_form1"> - <field name="name">board.document.manager.form1</field> - <field name="model">board.board</field> - <field name="type">form</field> - <field name="arch" type="xml"> - <form string="Document board"> - <hpaned position="100"> - <child1> - <action - string="Wall of Shame" - name="%(report_document.action_view_wall)d" - view_mode="tree"/> - - </child1> - <child2> - <action - string="Files by Users" - name="%(report_document.action_view_user_graph)d" - view_mode="graph,tree"/> - <action - string="Files by Month" - name="%(report_document.action_view_files_by_month_graph)d" - view_mode="graph,tree"/> - - </child2> - </hpaned> - </form> - </field> - </record> + <menuitem + parent="menu_board_document" + action="open_board_document_manager" + sequence="1" + id="menu_board_document_manager" + icon="terp-graph"/> + <record model="ir.ui.view" id="board_document_manager_form1"> + <field name="name">board.document.manager.form1</field> + <field name="model">board.board</field> + <field name="type">form</field> + <field name="arch" type="xml"> + <form string="Document board"> + <hpaned position="100"> + <child1> + <action + string="Wall of Shame" + name="%(report_document.action_view_wall)d" + view_mode="tree"/> + + </child1> + <child2> + <action + string="Files by Users" + name="%(report_document.action_view_user_graph)d" + view_mode="graph,tree"/> - <record model="ir.actions.act_window" id="open_board_document_manager1"> - <field name="name">Document Dashboard</field> - <field name="res_model">board.board</field> - <field name="view_type">form</field> - <field name="view_mode">form</field> - <field name="view_id" ref="board_document_manager_form1"/> - </record> + <action + string="Files by Month" + name="%(report_document.action_view_files_by_month_graph)d" + view_mode="graph,tree"/> + </child2> + </hpaned> + </form> + </field> + </record> - <menuitem - name="Dashboards/Document/Wall of Shame" - action="open_board_document_manager1" - sequence="1" - id="menu_board_document_manager1" - icon="terp-graph"/> - </data> + + <record model="ir.actions.act_window" id="open_board_document_manager1"> + <field name="name">Statistics by User</field> + <field name="res_model">board.board</field> + <field name="view_type">form</field> + <field name="view_mode">form</field> + <field name="view_id" ref="board_document_manager_form1"/> + </record> + + <menuitem + parent="menu_board_document" + action="open_board_document_manager1" + sequence="1" + id="menu_board_document_manager1" + icon="terp-graph"/> + </data> </openerp> diff --git a/addons/board_document/i18n/board_document.pot b/addons/board_document/i18n/board_document.pot new file mode 100644 index 00000000000..30710b594f9 --- /dev/null +++ b/addons/board_document/i18n/board_document.pot @@ -0,0 +1,74 @@ +# Translation of OpenERP Server. +# This file containt the translation of the following modules: +# * board_document +# +msgid "" +msgstr "" +"Project-Id-Version: OpenERP Server 4.3.99\n" +"Report-Msgid-Bugs-To: support@openerp.com\n" +"POT-Creation-Date: 2008-10-28 11:31:29+0000\n" +"PO-Revision-Date: 2008-10-28 11:31:29+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: board_document +#: constraint:ir.ui.view:0 +msgid "Invalid XML for View Architecture!" +msgstr "" + +#. module: board_document +#: model:ir.actions.act_window,name:board_document.open_board_document_manager +#: model:ir.actions.act_window,name:board_document.open_board_document_manager1 +msgid "Document Dashboard" +msgstr "" + +#. module: board_document +#: model:ir.ui.menu,name:board_document.menu_board_document_manager1 +#: view:board.board:0 +msgid "Wall of Shame" +msgstr "" + +#. module: board_document +#: view:board.board:0 +msgid "File Size by Month" +msgstr "" + +#. module: board_document +#: model:ir.ui.menu,name:board_document.menu_board_document_manager +msgid "Document Manager" +msgstr "" + +#. module: board_document +#: view:board.board:0 +msgid "Files by Month" +msgstr "" + +#. module: board_document +#: view:board.board:0 +msgid "New Files" +msgstr "" + +#. module: board_document +#: view:board.board:0 +msgid "Files by Resource Type" +msgstr "" + +#. module: board_document +#: view:board.board:0 +msgid "Files by Partner" +msgstr "" + +#. module: board_document +#: view:board.board:0 +msgid "Files by Users" +msgstr "" + +#. module: board_document +#: view:board.board:0 +msgid "Document board" +msgstr "" + diff --git a/addons/board_document/i18n/fr_FR.po b/addons/board_document/i18n/fr_FR.po new file mode 100644 index 00000000000..a7373ac3879 --- /dev/null +++ b/addons/board_document/i18n/fr_FR.po @@ -0,0 +1,74 @@ +# Translation of OpenERP Server. +# This file containt the translation of the following modules: +# * board_document +# +msgid "" +msgstr "" +"Project-Id-Version: OpenERP Server 4.3.99\n" +"Report-Msgid-Bugs-To: support@openerp.com\n" +"POT-Creation-Date: 2008-10-28 11:31:29+0000\n" +"PO-Revision-Date: 2008-10-28 11:31:29+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: board_document +#: constraint:ir.ui.view:0 +msgid "Invalid XML for View Architecture!" +msgstr "XML non valide pour l'architecture de la vue" + +#. module: board_document +#: model:ir.actions.act_window,name:board_document.open_board_document_manager +#: model:ir.actions.act_window,name:board_document.open_board_document_manager1 +msgid "Document Dashboard" +msgstr "Tableau de Bord des Documents" + +#. module: board_document +#: model:ir.ui.menu,name:board_document.menu_board_document_manager1 +#: view:board.board:0 +msgid "Wall of Shame" +msgstr "Mur de la Honte" + +#. module: board_document +#: view:board.board:0 +msgid "File Size by Month" +msgstr "Taille des Fichiers par Mois" + +#. module: board_document +#: model:ir.ui.menu,name:board_document.menu_board_document_manager +msgid "Document Manager" +msgstr "Gestionnaire de Documents" + +#. module: board_document +#: view:board.board:0 +msgid "Files by Month" +msgstr "Fichiers par Mois" + +#. module: board_document +#: view:board.board:0 +msgid "New Files" +msgstr "Nouveaux Fichiers" + +#. module: board_document +#: view:board.board:0 +msgid "Files by Resource Type" +msgstr "Fichiers par Type de Ressource" + +#. module: board_document +#: view:board.board:0 +msgid "Files by Partner" +msgstr "Fichiers par Partenaire" + +#. module: board_document +#: view:board.board:0 +msgid "Files by Users" +msgstr "Fichiers par Utilisateur" + +#. module: board_document +#: view:board.board:0 +msgid "Document board" +msgstr "Tableau des Documents" + |
