From 868f45f7f372bcfde351bbbd38ccc8b386e93093 Mon Sep 17 00:00:00 2001 From: Maxime Chambreuil Date: Tue, 30 Oct 2012 16:41:04 -0400 Subject: [PATCH 01/51] [REN] wiki_* to document_page_* --- .../__init__.py | 21 +++++++ .../__openerp__.py | 38 ++++++++++++ .../document_page_environmental_aspect.xml | 55 ++++++++++++++++++ document_page_environmental_aspect/i18n/de.po | 33 +++++++++++ document_page_environmental_aspect/i18n/fr.po | 34 +++++++++++ .../i18n/wiki_environmental_aspect.pot | 29 +++++++++ .../static/src/img/icon.png | Bin 0 -> 2397 bytes 7 files changed, 210 insertions(+) create mode 100644 document_page_environmental_aspect/__init__.py create mode 100644 document_page_environmental_aspect/__openerp__.py create mode 100644 document_page_environmental_aspect/document_page_environmental_aspect.xml create mode 100644 document_page_environmental_aspect/i18n/de.po create mode 100644 document_page_environmental_aspect/i18n/fr.po create mode 100644 document_page_environmental_aspect/i18n/wiki_environmental_aspect.pot create mode 100644 document_page_environmental_aspect/static/src/img/icon.png diff --git a/document_page_environmental_aspect/__init__.py b/document_page_environmental_aspect/__init__.py new file mode 100644 index 00000000000..04c325fa2de --- /dev/null +++ b/document_page_environmental_aspect/__init__.py @@ -0,0 +1,21 @@ +# -*- encoding: utf-8 -*- +############################################################################## +# +# OpenERP, Open Source Management Solution +# Copyright (C) 2010 Savoir-faire Linux (). +# +# 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 . +# +############################################################################## +# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/document_page_environmental_aspect/__openerp__.py b/document_page_environmental_aspect/__openerp__.py new file mode 100644 index 00000000000..e08f592f8ed --- /dev/null +++ b/document_page_environmental_aspect/__openerp__.py @@ -0,0 +1,38 @@ +# -*- encoding: utf-8 -*- +############################################################################## +# +# OpenERP, Open Source Management Solution +# Copyright (C) 2010 Savoir-faire Linux (). +# +# 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 . +# +############################################################################## +{ + "name" : "Environmental Aspects", + "version" : "0.1", + "author" : "Savoir-faire Linux", + "website" : "http://www.savoirfairelinux.com", + "license" : "AGPL-3", + "category" : "Generic Modules/Others", + "description": """Environmental Aspects Template, useful for Environment Management System + """, + "depends" : ['document_page','mgmtsystem'], + "init_xml" : [], + "update_xml" : ['document_page_environmental_aspect.xml'], + "demo_xml" : [], + "installable" : True, + "certificate" : '' +} +# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: + diff --git a/document_page_environmental_aspect/document_page_environmental_aspect.xml b/document_page_environmental_aspect/document_page_environmental_aspect.xml new file mode 100644 index 00000000000..b3876257b68 --- /dev/null +++ b/document_page_environmental_aspect/document_page_environmental_aspect.xml @@ -0,0 +1,55 @@ + + + + + + Environmental Aspects + document.page + form + tree,form + + + Environmental aspects of your management system. + + + + + + Environmental Aspect + category + + + + Environmental Aspect + content + + +=Activity= + +=Environmental Aspect= + +=Environmental Impact= + +=Laws and Regulations= + +=Operational Control= + +=Responsibilities= + +=Objectives= + +=Programs= + + + + + + + + + diff --git a/document_page_environmental_aspect/i18n/de.po b/document_page_environmental_aspect/i18n/de.po new file mode 100644 index 00000000000..f8e99f73689 --- /dev/null +++ b/document_page_environmental_aspect/i18n/de.po @@ -0,0 +1,33 @@ +# German translation for openerp-mgmtsystem +# Copyright (c) 2012 Rosetta Contributors and Canonical Ltd 2012 +# This file is distributed under the same license as the openerp-mgmtsystem package. +# FIRST AUTHOR , 2012. +# +msgid "" +msgstr "" +"Project-Id-Version: openerp-mgmtsystem\n" +"Report-Msgid-Bugs-To: FULL NAME \n" +"POT-Creation-Date: 2011-02-22 20:40+0000\n" +"PO-Revision-Date: 2012-09-17 11:39+0000\n" +"Last-Translator: Rudolf Schnapka \n" +"Language-Team: German \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Launchpad-Export-Date: 2012-09-19 05:08+0000\n" +"X-Generator: Launchpad (build 15966)\n" + +#. module: document_page_environmental_aspect +#: model:ir.module.module,description:document_page_environmental_aspect.module_meta_information +msgid "" +"Environmental Aspects Template, useful for Environment Management System\n" +" " +msgstr "" +"Vorlagen für Umwelt-Aspekte, diese sind für ein Umwelt-Management-System " +"(UMS) sinnvoll\n" +" " + +#. module: document_page_environmental_aspect +#: model:ir.module.module,shortdesc:document_page_environmental_aspect.module_meta_information +msgid "Document Management - Wiki - Environmental Aspects" +msgstr "Dokumentenmanagement-Wiki - Umweltaspekte" diff --git a/document_page_environmental_aspect/i18n/fr.po b/document_page_environmental_aspect/i18n/fr.po new file mode 100644 index 00000000000..ef6abe82231 --- /dev/null +++ b/document_page_environmental_aspect/i18n/fr.po @@ -0,0 +1,34 @@ +# French translation for openerp-mgmtsystem +# Copyright (c) 2012 Rosetta Contributors and Canonical Ltd 2012 +# This file is distributed under the same license as the openerp-mgmtsystem package. +# FIRST AUTHOR , 2012. +# +msgid "" +msgstr "" +"Project-Id-Version: openerp-mgmtsystem\n" +"Report-Msgid-Bugs-To: FULL NAME \n" +"POT-Creation-Date: 2011-02-22 20:40+0000\n" +"PO-Revision-Date: 2012-09-08 17:19+0000\n" +"Last-Translator: Maxime Chambreuil (http://www.savoirfairelinux.com) " +"\n" +"Language-Team: French \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Launchpad-Export-Date: 2012-09-19 05:08+0000\n" +"X-Generator: Launchpad (build 15966)\n" + +#. module: document_page_environmental_aspect +#: model:ir.module.module,description:document_page_environmental_aspect.module_meta_information +msgid "" +"Environmental Aspects Template, useful for Environment Management System\n" +" " +msgstr "" +"Modèle d'aspects environnementaux, utile pour le système de gestion " +"environnementale\n" +" " + +#. module: document_page_environmental_aspect +#: model:ir.module.module,shortdesc:document_page_environmental_aspect.module_meta_information +msgid "Document Management - Wiki - Environmental Aspects" +msgstr "Gestion des documents - Wiki - Aspects environnementaux" diff --git a/document_page_environmental_aspect/i18n/wiki_environmental_aspect.pot b/document_page_environmental_aspect/i18n/wiki_environmental_aspect.pot new file mode 100644 index 00000000000..ab10f5e09c0 --- /dev/null +++ b/document_page_environmental_aspect/i18n/wiki_environmental_aspect.pot @@ -0,0 +1,29 @@ +# Translation of OpenERP Server. +# This file contains the translation of the following modules: +# * document_page_environmental_aspect +# +msgid "" +msgstr "" +"Project-Id-Version: OpenERP Server 6.1-dev\n" +"Report-Msgid-Bugs-To: support@openerp.com\n" +"POT-Creation-Date: 2011-02-22 20:40+0000\n" +"PO-Revision-Date: 2011-02-22 20:40+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: document_page_environmental_aspect +#: model:ir.module.module,description:document_page_environmental_aspect.module_meta_information +msgid "Environmental Aspects Template, useful for Environment Management System\n" +" " +msgstr "Environmental Aspects Template, useful for Environment Management System\n" +" " + +#. module: document_page_environmental_aspect +#: model:ir.module.module,shortdesc:document_page_environmental_aspect.module_meta_information +msgid "Document Management - Wiki - Environmental Aspects" +msgstr "Document Management - Wiki - Environmental Aspects" + diff --git a/document_page_environmental_aspect/static/src/img/icon.png b/document_page_environmental_aspect/static/src/img/icon.png new file mode 100644 index 0000000000000000000000000000000000000000..cb1620bf203f19668872eb9c7620a8b950765cb2 GIT binary patch literal 2397 zcmaJ@dpHwp8z1`Skkh0vbJ#^8a)_}oWKJ_Ajp#)V8FJ3ybxzE37?S2NQ#q}aQ)#A< z5EbKTGHdhYwauKT*~>-YSgJKNdGR!jse0ssKSP zJiPYXgn+y=l10SufG^s`))LUjfGqJYKtHst72xpqe%Se_i02WGwDX7t0FEB}ZF~R{ zS(fJ%j6peC3r>lOOUp=%IaWjh075e;tMi!nDK5$Ymb&9t?RunW>!F&I-t`*(L1RW6rauQh*IaW} z%Lb%id#BHLb4w!QU6IA&FhRdJ-uy6KK9YGO6s>BCbL`S#yZG0R4yu5tf zfn*^3Jb3!W6Xr_dSzfXYLG~67cVulh84n)4z+$oN!o#)OEmZZa( zx}c-W0_H21%$+u6?v<4IPrQnS-}ovd00?A|m#C}#dGaWGd$_5o=~^dOt%)!UH9CQ1 zFm|@l?~F}MpoMk=V|AB)-aVP9^uo{IpH5@W;&UHK0Om?YwMB_jzDvC?)e~rsWBVQ79<4=Z+t*rdkP(Np&kLO!k;D5RA1FvfF#GCmt_C=q zMT&@sNSa;BL+{@mnVl8iP6OalHbFHVWjce9-382APpZ`4^V{pc28rO#>B*PTYHnFt z-X4t&4Gn)S5M>yoiHE7%9Iw0O<+-b?p{B_@lDsy7_N{eNOSVSS==7s{@MSpQ&C7Vr z{-E_LdS72AeP~D}I5=2cOAA+Bts<0Qc58X}sY{)16w7LCYa-A1-28`1aw|5)5+Zt|JGac;miXJ%*Eb*qSShlHTebXS)Y_i`W%sp^%-O{kXn<%%ga6YU+ep%HF-1n0vksLz2gA5G|JG!4}Fd|c=cERT2#X^RESrP+sPWvXd);CFCEGwAX63BEXmi)k4 zs!K1MiZ`Lx>tTk5hLpg8fkG9SyZ(DyESACmZW0KhXX94g-AH}g`fuFyl|_X`MA8>) z4dSZG^z7{HK6r@I>GYk6c>y;PhZDZDw@11U1%W^gD3ox>%w3%(pS{hc`j(ois&r`? znXV6+INTkP!u=ft=6IOm+vfp8n-gZhPbG_si`J)BFq zE+$l6jTqbUEYc1=@8KcmKZ?H=7+9ovxzT5`BfepIiE*gec(qHMdPNM49+G*No0BtV za#Q$qi^#_(zs%M1eR^=hSp@|~VMu_ovT_eU!i&rH(?#|dC^6gG+k2mEYF3QXHB3bH_1QYX zpQ@|ZHaBr*hA>&jl5u2EkovlNo4Dt#f~}`($BQl=uQ_Os;D(q)t+V=!Hufa}ykyl} zaqqDw`QIW~QQTPsggPFcv#kC3NFC;SbDUnzg{i^8!P0t(z#!M#nA790+HcUaZBQsw zDRjE$vDx0{`Z~0*u&_-(wbEv9!{o%9{(j)QRBAdgocu}=sr}E)!!lot+-Qco7Pis5 zGv~=zP~K*$iIYXGi*M>e_pdKU7KP&+z9sarn+o1YT5*e{Q!uBGZ!ZrDy)cgd2~7 zJq(8U%*>3swzlEkio%^kou`6j4mKnb>BHpY4r^LmUS59k(dL~d-_tA^>Lij# z_N`&l`2B6J#NR704RIwihak=WH#__{=I8TEFeOVBO=u8E=FL6;l(mypqoq&!zg1#- A`~Uy| literal 0 HcmV?d00001 From 18cb0540fef56d15c021b306ff2070fc6971a0e3 Mon Sep 17 00:00:00 2001 From: Unknown Date: Sat, 2 Feb 2013 05:48:38 +0000 Subject: [PATCH 02/51] Launchpad automatic translations update. --- document_page_environmental_aspect/i18n/de.po | 12 +++---- document_page_environmental_aspect/i18n/fr.po | 14 ++++---- document_page_environmental_aspect/i18n/sv.po | 32 +++++++++++++++++++ 3 files changed, 45 insertions(+), 13 deletions(-) create mode 100644 document_page_environmental_aspect/i18n/sv.po diff --git a/document_page_environmental_aspect/i18n/de.po b/document_page_environmental_aspect/i18n/de.po index f8e99f73689..c739a5b37e8 100644 --- a/document_page_environmental_aspect/i18n/de.po +++ b/document_page_environmental_aspect/i18n/de.po @@ -14,11 +14,11 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2012-09-19 05:08+0000\n" -"X-Generator: Launchpad (build 15966)\n" +"X-Launchpad-Export-Date: 2013-02-02 05:48+0000\n" +"X-Generator: Launchpad (build 16462)\n" -#. module: document_page_environmental_aspect -#: model:ir.module.module,description:document_page_environmental_aspect.module_meta_information +#. module: wiki_environmental_aspect +#: model:ir.module.module,description:wiki_environmental_aspect.module_meta_information msgid "" "Environmental Aspects Template, useful for Environment Management System\n" " " @@ -27,7 +27,7 @@ msgstr "" "(UMS) sinnvoll\n" " " -#. module: document_page_environmental_aspect -#: model:ir.module.module,shortdesc:document_page_environmental_aspect.module_meta_information +#. module: wiki_environmental_aspect +#: model:ir.module.module,shortdesc:wiki_environmental_aspect.module_meta_information msgid "Document Management - Wiki - Environmental Aspects" msgstr "Dokumentenmanagement-Wiki - Umweltaspekte" diff --git a/document_page_environmental_aspect/i18n/fr.po b/document_page_environmental_aspect/i18n/fr.po index ef6abe82231..9cc391d4ec1 100644 --- a/document_page_environmental_aspect/i18n/fr.po +++ b/document_page_environmental_aspect/i18n/fr.po @@ -8,18 +8,18 @@ msgstr "" "Project-Id-Version: openerp-mgmtsystem\n" "Report-Msgid-Bugs-To: FULL NAME \n" "POT-Creation-Date: 2011-02-22 20:40+0000\n" -"PO-Revision-Date: 2012-09-08 17:19+0000\n" +"PO-Revision-Date: 2012-09-09 04:50+0000\n" "Last-Translator: Maxime Chambreuil (http://www.savoirfairelinux.com) " "\n" "Language-Team: French \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2012-09-19 05:08+0000\n" -"X-Generator: Launchpad (build 15966)\n" +"X-Launchpad-Export-Date: 2013-02-02 05:48+0000\n" +"X-Generator: Launchpad (build 16462)\n" -#. module: document_page_environmental_aspect -#: model:ir.module.module,description:document_page_environmental_aspect.module_meta_information +#. module: wiki_environmental_aspect +#: model:ir.module.module,description:wiki_environmental_aspect.module_meta_information msgid "" "Environmental Aspects Template, useful for Environment Management System\n" " " @@ -28,7 +28,7 @@ msgstr "" "environnementale\n" " " -#. module: document_page_environmental_aspect -#: model:ir.module.module,shortdesc:document_page_environmental_aspect.module_meta_information +#. module: wiki_environmental_aspect +#: model:ir.module.module,shortdesc:wiki_environmental_aspect.module_meta_information msgid "Document Management - Wiki - Environmental Aspects" msgstr "Gestion des documents - Wiki - Aspects environnementaux" diff --git a/document_page_environmental_aspect/i18n/sv.po b/document_page_environmental_aspect/i18n/sv.po new file mode 100644 index 00000000000..4bc29e6b440 --- /dev/null +++ b/document_page_environmental_aspect/i18n/sv.po @@ -0,0 +1,32 @@ +# Swedish translation for openerp-mgmtsystem +# Copyright (c) 2012 Rosetta Contributors and Canonical Ltd 2012 +# This file is distributed under the same license as the openerp-mgmtsystem package. +# FIRST AUTHOR , 2012. +# +msgid "" +msgstr "" +"Project-Id-Version: openerp-mgmtsystem\n" +"Report-Msgid-Bugs-To: FULL NAME \n" +"POT-Creation-Date: 2011-02-22 20:40+0000\n" +"PO-Revision-Date: 2012-12-03 16:06+0000\n" +"Last-Translator: FULL NAME \n" +"Language-Team: Swedish \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Launchpad-Export-Date: 2013-02-02 05:48+0000\n" +"X-Generator: Launchpad (build 16462)\n" + +#. module: wiki_environmental_aspect +#: model:ir.module.module,description:wiki_environmental_aspect.module_meta_information +msgid "" +"Environmental Aspects Template, useful for Environment Management System\n" +" " +msgstr "" +"Miljöaspekter Mall, användbar för miljöledningssystem\n" +" " + +#. module: wiki_environmental_aspect +#: model:ir.module.module,shortdesc:wiki_environmental_aspect.module_meta_information +msgid "Document Management - Wiki - Environmental Aspects" +msgstr "Dokumenthantering - Wiki - Miljöaspekter" From 5788d70baef53ef34d56b3d7a2ff82b5abd0c165 Mon Sep 17 00:00:00 2001 From: Virgil Dupras Date: Fri, 8 Feb 2013 13:05:42 -0500 Subject: [PATCH 03/51] [CHG] Changed MediaWiki syntax in document pages to plain HTML. document_page doesn't seem to support MediaWiki syntax anymore. --- .../document_page_environmental_aspect.xml | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/document_page_environmental_aspect/document_page_environmental_aspect.xml b/document_page_environmental_aspect/document_page_environmental_aspect.xml index b3876257b68..65f1f601acd 100644 --- a/document_page_environmental_aspect/document_page_environmental_aspect.xml +++ b/document_page_environmental_aspect/document_page_environmental_aspect.xml @@ -29,21 +29,23 @@ content -=Activity= +Activity -=Environmental Aspect= +

Environmental Aspect

-=Environmental Impact= +

Environmental Impact

-=Laws and Regulations= +

Laws and Regulations

-=Operational Control= +

Operational Control

-=Responsibilities= +

Responsibilities

-=Objectives= +

Objectives

-=Programs= +

Programs

+]]>
From 1dd29e5dd9bd0375164501f0dd8bbeeeeb25dd1c Mon Sep 17 00:00:00 2001 From: Unknown Date: Tue, 19 Feb 2013 05:22:10 +0000 Subject: [PATCH 04/51] Launchpad automatic translations update. --- document_page_environmental_aspect/i18n/de.po | 12 +++---- document_page_environmental_aspect/i18n/fr.po | 12 +++---- .../i18n/pt_BR.po | 32 +++++++++++++++++++ document_page_environmental_aspect/i18n/sv.po | 12 +++---- 4 files changed, 50 insertions(+), 18 deletions(-) create mode 100644 document_page_environmental_aspect/i18n/pt_BR.po diff --git a/document_page_environmental_aspect/i18n/de.po b/document_page_environmental_aspect/i18n/de.po index c739a5b37e8..f10cffc8571 100644 --- a/document_page_environmental_aspect/i18n/de.po +++ b/document_page_environmental_aspect/i18n/de.po @@ -14,11 +14,11 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2013-02-02 05:48+0000\n" -"X-Generator: Launchpad (build 16462)\n" +"X-Launchpad-Export-Date: 2013-06-06 05:49+0000\n" +"X-Generator: Launchpad (build 16667)\n" -#. module: wiki_environmental_aspect -#: model:ir.module.module,description:wiki_environmental_aspect.module_meta_information +#. module: document_page_environmental_aspect +#: model:ir.module.module,description:document_page_environmental_aspect.module_meta_information msgid "" "Environmental Aspects Template, useful for Environment Management System\n" " " @@ -27,7 +27,7 @@ msgstr "" "(UMS) sinnvoll\n" " " -#. module: wiki_environmental_aspect -#: model:ir.module.module,shortdesc:wiki_environmental_aspect.module_meta_information +#. module: document_page_environmental_aspect +#: model:ir.module.module,shortdesc:document_page_environmental_aspect.module_meta_information msgid "Document Management - Wiki - Environmental Aspects" msgstr "Dokumentenmanagement-Wiki - Umweltaspekte" diff --git a/document_page_environmental_aspect/i18n/fr.po b/document_page_environmental_aspect/i18n/fr.po index 9cc391d4ec1..cf9901d25c1 100644 --- a/document_page_environmental_aspect/i18n/fr.po +++ b/document_page_environmental_aspect/i18n/fr.po @@ -15,11 +15,11 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2013-02-02 05:48+0000\n" -"X-Generator: Launchpad (build 16462)\n" +"X-Launchpad-Export-Date: 2013-06-06 05:49+0000\n" +"X-Generator: Launchpad (build 16667)\n" -#. module: wiki_environmental_aspect -#: model:ir.module.module,description:wiki_environmental_aspect.module_meta_information +#. module: document_page_environmental_aspect +#: model:ir.module.module,description:document_page_environmental_aspect.module_meta_information msgid "" "Environmental Aspects Template, useful for Environment Management System\n" " " @@ -28,7 +28,7 @@ msgstr "" "environnementale\n" " " -#. module: wiki_environmental_aspect -#: model:ir.module.module,shortdesc:wiki_environmental_aspect.module_meta_information +#. module: document_page_environmental_aspect +#: model:ir.module.module,shortdesc:document_page_environmental_aspect.module_meta_information msgid "Document Management - Wiki - Environmental Aspects" msgstr "Gestion des documents - Wiki - Aspects environnementaux" diff --git a/document_page_environmental_aspect/i18n/pt_BR.po b/document_page_environmental_aspect/i18n/pt_BR.po new file mode 100644 index 00000000000..fcbaf281e8f --- /dev/null +++ b/document_page_environmental_aspect/i18n/pt_BR.po @@ -0,0 +1,32 @@ +# Brazilian Portuguese translation for openerp-mgmtsystem +# Copyright (c) 2013 Rosetta Contributors and Canonical Ltd 2013 +# This file is distributed under the same license as the openerp-mgmtsystem package. +# FIRST AUTHOR , 2013. +# +msgid "" +msgstr "" +"Project-Id-Version: openerp-mgmtsystem\n" +"Report-Msgid-Bugs-To: FULL NAME \n" +"POT-Creation-Date: 2011-02-22 20:40+0000\n" +"PO-Revision-Date: 2013-07-18 14:09+0000\n" +"Last-Translator: Claudio de Araujo Santos \n" +"Language-Team: Brazilian Portuguese \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Launchpad-Export-Date: 2013-07-19 06:34+0000\n" +"X-Generator: Launchpad (build 16696)\n" + +#. module: document_page_environmental_aspect +#: model:ir.module.module,description:document_page_environmental_aspect.module_meta_information +msgid "" +"Environmental Aspects Template, useful for Environment Management System\n" +" " +msgstr "" +"Modelo Manual de Meio Ambiente, útil para o Sistema de Gestão Ambiental\n" +" " + +#. module: document_page_environmental_aspect +#: model:ir.module.module,shortdesc:document_page_environmental_aspect.module_meta_information +msgid "Document Management - Wiki - Environmental Aspects" +msgstr "Gestão de Documentos - Wiki - Ambientais" diff --git a/document_page_environmental_aspect/i18n/sv.po b/document_page_environmental_aspect/i18n/sv.po index 4bc29e6b440..6edf9ce5f09 100644 --- a/document_page_environmental_aspect/i18n/sv.po +++ b/document_page_environmental_aspect/i18n/sv.po @@ -14,11 +14,11 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2013-02-02 05:48+0000\n" -"X-Generator: Launchpad (build 16462)\n" +"X-Launchpad-Export-Date: 2013-06-06 05:49+0000\n" +"X-Generator: Launchpad (build 16667)\n" -#. module: wiki_environmental_aspect -#: model:ir.module.module,description:wiki_environmental_aspect.module_meta_information +#. module: document_page_environmental_aspect +#: model:ir.module.module,description:document_page_environmental_aspect.module_meta_information msgid "" "Environmental Aspects Template, useful for Environment Management System\n" " " @@ -26,7 +26,7 @@ msgstr "" "Miljöaspekter Mall, användbar för miljöledningssystem\n" " " -#. module: wiki_environmental_aspect -#: model:ir.module.module,shortdesc:wiki_environmental_aspect.module_meta_information +#. module: document_page_environmental_aspect +#: model:ir.module.module,shortdesc:document_page_environmental_aspect.module_meta_information msgid "Document Management - Wiki - Environmental Aspects" msgstr "Dokumenthantering - Wiki - Miljöaspekter" From 3cabe47ada63ee98cc9e5e033fd8e57987112ef1 Mon Sep 17 00:00:00 2001 From: Maxime Chambreuil Date: Mon, 29 Jul 2013 20:49:54 -0400 Subject: [PATCH 05/51] [REN] Renaming pot files --- ...onmental_aspect.pot => document_page_environmental_aspect.pot} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename document_page_environmental_aspect/i18n/{wiki_environmental_aspect.pot => document_page_environmental_aspect.pot} (100%) diff --git a/document_page_environmental_aspect/i18n/wiki_environmental_aspect.pot b/document_page_environmental_aspect/i18n/document_page_environmental_aspect.pot similarity index 100% rename from document_page_environmental_aspect/i18n/wiki_environmental_aspect.pot rename to document_page_environmental_aspect/i18n/document_page_environmental_aspect.pot From f10606a7ed3aed3c75a2a5fe7009d9af89c5914f Mon Sep 17 00:00:00 2001 From: Maxime Chambreuil Date: Tue, 6 Aug 2013 12:22:21 -0400 Subject: [PATCH 06/51] [UPG] module manifest and views to v7 format --- document_page_environmental_aspect/__openerp__.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/document_page_environmental_aspect/__openerp__.py b/document_page_environmental_aspect/__openerp__.py index e08f592f8ed..6543216f77f 100644 --- a/document_page_environmental_aspect/__openerp__.py +++ b/document_page_environmental_aspect/__openerp__.py @@ -27,10 +27,9 @@ "category" : "Generic Modules/Others", "description": """Environmental Aspects Template, useful for Environment Management System """, - "depends" : ['document_page','mgmtsystem'], - "init_xml" : [], - "update_xml" : ['document_page_environmental_aspect.xml'], - "demo_xml" : [], + "depends" : ['document_page_approval','mgmtsystem'], + "data" : ['document_page_environmental_aspect.xml'], + "demo" : [], "installable" : True, "certificate" : '' } From 7188c6fbc072393bb6889507ba1e63707da87390 Mon Sep 17 00:00:00 2001 From: Unknown Date: Thu, 8 Aug 2013 04:57:43 +0000 Subject: [PATCH 07/51] Launchpad automatic translations update. --- document_page_environmental_aspect/i18n/pt_BR.po | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/document_page_environmental_aspect/i18n/pt_BR.po b/document_page_environmental_aspect/i18n/pt_BR.po index fcbaf281e8f..7aff9f29bea 100644 --- a/document_page_environmental_aspect/i18n/pt_BR.po +++ b/document_page_environmental_aspect/i18n/pt_BR.po @@ -8,14 +8,14 @@ msgstr "" "Project-Id-Version: openerp-mgmtsystem\n" "Report-Msgid-Bugs-To: FULL NAME \n" "POT-Creation-Date: 2011-02-22 20:40+0000\n" -"PO-Revision-Date: 2013-07-18 14:09+0000\n" -"Last-Translator: Claudio de Araujo Santos \n" +"PO-Revision-Date: 2013-08-07 05:39+0000\n" +"Last-Translator: Admilson Afonso \n" "Language-Team: Brazilian Portuguese \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2013-07-19 06:34+0000\n" -"X-Generator: Launchpad (build 16696)\n" +"X-Launchpad-Export-Date: 2013-08-08 04:57+0000\n" +"X-Generator: Launchpad (build 16723)\n" #. module: document_page_environmental_aspect #: model:ir.module.module,description:document_page_environmental_aspect.module_meta_information From 6fbf2c351bfc7dedee50df13d1faf0f92a316e41 Mon Sep 17 00:00:00 2001 From: Maxime Chambreuil Date: Wed, 28 Aug 2013 11:12:07 -0400 Subject: [PATCH 08/51] FIX format patch --- .../__openerp__.py | 31 +++++++++---------- 1 file changed, 15 insertions(+), 16 deletions(-) diff --git a/document_page_environmental_aspect/__openerp__.py b/document_page_environmental_aspect/__openerp__.py index 6543216f77f..ab979d9633f 100644 --- a/document_page_environmental_aspect/__openerp__.py +++ b/document_page_environmental_aspect/__openerp__.py @@ -1,6 +1,6 @@ # -*- encoding: utf-8 -*- ############################################################################## -# +# # OpenERP, Open Source Management Solution # Copyright (C) 2010 Savoir-faire Linux (). # @@ -12,26 +12,25 @@ # 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. +# GNU Affero 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 . +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . # ############################################################################## { - "name" : "Environmental Aspects", - "version" : "0.1", - "author" : "Savoir-faire Linux", - "website" : "http://www.savoirfairelinux.com", - "license" : "AGPL-3", - "category" : "Generic Modules/Others", + "name": "Document Management - Wiki - Environmental Aspects", + "version": "1.0", + "author": "Savoir-faire Linux", + "website": "http://www.savoirfairelinux.com", + "license": "AGPL-3", + "category": "Generic Modules/Others", "description": """Environmental Aspects Template, useful for Environment Management System """, - "depends" : ['document_page_approval','mgmtsystem'], - "data" : ['document_page_environmental_aspect.xml'], - "demo" : [], - "installable" : True, - "certificate" : '' + "depends": ['document_page_approval', 'mgmtsystem'], + "data": ['document_page_environmental_aspect.xml'], + "demo": [], + "installable": True, + "certificate": '' } # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: - From 521daba88a80addeefc32dc78fbd0194670e7be8 Mon Sep 17 00:00:00 2001 From: Unknown Date: Sun, 15 Sep 2013 06:07:40 +0000 Subject: [PATCH 09/51] Launchpad automatic translations update. --- document_page_environmental_aspect/i18n/de.po | 4 ++-- document_page_environmental_aspect/i18n/fr.po | 4 ++-- document_page_environmental_aspect/i18n/pt_BR.po | 4 ++-- document_page_environmental_aspect/i18n/sv.po | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/document_page_environmental_aspect/i18n/de.po b/document_page_environmental_aspect/i18n/de.po index f10cffc8571..043c2eaa982 100644 --- a/document_page_environmental_aspect/i18n/de.po +++ b/document_page_environmental_aspect/i18n/de.po @@ -14,8 +14,8 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2013-06-06 05:49+0000\n" -"X-Generator: Launchpad (build 16667)\n" +"X-Launchpad-Export-Date: 2013-10-09 05:46+0000\n" +"X-Generator: Launchpad (build 16799)\n" #. module: document_page_environmental_aspect #: model:ir.module.module,description:document_page_environmental_aspect.module_meta_information diff --git a/document_page_environmental_aspect/i18n/fr.po b/document_page_environmental_aspect/i18n/fr.po index cf9901d25c1..d74d724442e 100644 --- a/document_page_environmental_aspect/i18n/fr.po +++ b/document_page_environmental_aspect/i18n/fr.po @@ -15,8 +15,8 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2013-06-06 05:49+0000\n" -"X-Generator: Launchpad (build 16667)\n" +"X-Launchpad-Export-Date: 2013-10-09 05:46+0000\n" +"X-Generator: Launchpad (build 16799)\n" #. module: document_page_environmental_aspect #: model:ir.module.module,description:document_page_environmental_aspect.module_meta_information diff --git a/document_page_environmental_aspect/i18n/pt_BR.po b/document_page_environmental_aspect/i18n/pt_BR.po index 7aff9f29bea..094abfd490f 100644 --- a/document_page_environmental_aspect/i18n/pt_BR.po +++ b/document_page_environmental_aspect/i18n/pt_BR.po @@ -14,8 +14,8 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2013-08-08 04:57+0000\n" -"X-Generator: Launchpad (build 16723)\n" +"X-Launchpad-Export-Date: 2013-10-09 05:46+0000\n" +"X-Generator: Launchpad (build 16799)\n" #. module: document_page_environmental_aspect #: model:ir.module.module,description:document_page_environmental_aspect.module_meta_information diff --git a/document_page_environmental_aspect/i18n/sv.po b/document_page_environmental_aspect/i18n/sv.po index 6edf9ce5f09..9891013942a 100644 --- a/document_page_environmental_aspect/i18n/sv.po +++ b/document_page_environmental_aspect/i18n/sv.po @@ -14,8 +14,8 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2013-06-06 05:49+0000\n" -"X-Generator: Launchpad (build 16667)\n" +"X-Launchpad-Export-Date: 2013-10-09 05:46+0000\n" +"X-Generator: Launchpad (build 16799)\n" #. module: document_page_environmental_aspect #: model:ir.module.module,description:document_page_environmental_aspect.module_meta_information From 452fdf5ead2e47a9c6dace0b2263738ad24d278d Mon Sep 17 00:00:00 2001 From: Sandy Carter Date: Tue, 22 Oct 2013 17:32:22 -0400 Subject: [PATCH 10/51] Adding 6.1 to 7.0 openupgrade migration script for document_page_environmental_aspect --- .../migrations/7.0.1.0/post-migration.py | 52 +++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 document_page_environmental_aspect/migrations/7.0.1.0/post-migration.py diff --git a/document_page_environmental_aspect/migrations/7.0.1.0/post-migration.py b/document_page_environmental_aspect/migrations/7.0.1.0/post-migration.py new file mode 100644 index 00000000000..9b160f05e78 --- /dev/null +++ b/document_page_environmental_aspect/migrations/7.0.1.0/post-migration.py @@ -0,0 +1,52 @@ +# -*- encoding: utf-8 -*- +# +# OpenERP, Open Source Management Solution +# This module copyright (C) 2013 Savoir-faire Linux +# (). +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero 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 Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . +# + +from openupgrade import openupgrade +from openupgrade.openupgrade import logged_query + + +def post_migrate_environmental_aspect_category(cr, version): + logged_query(cr, """\ +UPDATE document_page +SET parent_id = (SELECT id FROM document_page + WHERE name = 'Environmental Aspect' AND type = 'category' + ORDER BY id DESC + LIMIT 1), + name = name || ' (' || %s || ')' +WHERE parent_id = (SELECT id FROM document_page + WHERE name = 'Environmental Aspect' AND type = 'category' + ORDER BY id ASC + LIMIT 1) + AND type = 'content';""", [version]) + logged_query(cr, """\ +UPDATE document_page +SET name = name || ' (' || %s || ')' +WHERE id = (SELECT id FROM document_page + WHERE name = 'Environmental Aspect' AND type = 'category' + ORDER BY id ASC + LIMIT 1) + AND type = 'category';""", [version]) + + +@openupgrade.migrate() +def migrate(cr, version): + post_migrate_environmental_aspect_category(cr, version) + +# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: From 7f527e45d8c32a69b0f58460649d5aab45fcc4a4 Mon Sep 17 00:00:00 2001 From: Sandy Carter Date: Thu, 7 Nov 2013 17:30:25 -0500 Subject: [PATCH 11/51] [FIX] Migration scripts no longer fully dependent on openupgrade --- .../migrations/7.0.1.0/post-migration.py | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/document_page_environmental_aspect/migrations/7.0.1.0/post-migration.py b/document_page_environmental_aspect/migrations/7.0.1.0/post-migration.py index 9b160f05e78..535453be5f0 100644 --- a/document_page_environmental_aspect/migrations/7.0.1.0/post-migration.py +++ b/document_page_environmental_aspect/migrations/7.0.1.0/post-migration.py @@ -1,4 +1,5 @@ # -*- encoding: utf-8 -*- +############################################################################## # # OpenERP, Open Source Management Solution # This module copyright (C) 2013 Savoir-faire Linux @@ -17,9 +18,21 @@ # You should have received a copy of the GNU Affero General Public License # along with this program. If not, see . # +############################################################################## -from openupgrade import openupgrade -from openupgrade.openupgrade import logged_query +try: + from openupgrade.openupgrade import logged_query +except ImportError: + import logging + logger = logging.getLogger('upgrade') + + def logged_query(cr, query, args=None): + if args is None: + args = [] + res = cr.execute(query, args) + logger.debug('Running %s', query % tuple(args)) + logger.debug('%s rows affected', cr.rowcount) + return cr.rowcount def post_migrate_environmental_aspect_category(cr, version): @@ -45,7 +58,6 @@ def post_migrate_environmental_aspect_category(cr, version): AND type = 'category';""", [version]) -@openupgrade.migrate() def migrate(cr, version): post_migrate_environmental_aspect_category(cr, version) From da2fb07d52a47e652ed96e5df4f2527a4ac342a8 Mon Sep 17 00:00:00 2001 From: Unknown Date: Thu, 23 Jan 2014 05:53:49 +0000 Subject: [PATCH 12/51] Launchpad automatic translations update. --- document_page_environmental_aspect/i18n/de.po | 4 +-- document_page_environmental_aspect/i18n/fr.po | 4 +-- document_page_environmental_aspect/i18n/nb.po | 32 +++++++++++++++++++ .../i18n/pt_BR.po | 4 +-- document_page_environmental_aspect/i18n/sv.po | 4 +-- document_page_environmental_aspect/i18n/vi.po | 30 +++++++++++++++++ 6 files changed, 70 insertions(+), 8 deletions(-) create mode 100644 document_page_environmental_aspect/i18n/nb.po create mode 100644 document_page_environmental_aspect/i18n/vi.po diff --git a/document_page_environmental_aspect/i18n/de.po b/document_page_environmental_aspect/i18n/de.po index 043c2eaa982..e0733469d7b 100644 --- a/document_page_environmental_aspect/i18n/de.po +++ b/document_page_environmental_aspect/i18n/de.po @@ -14,8 +14,8 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2013-10-09 05:46+0000\n" -"X-Generator: Launchpad (build 16799)\n" +"X-Launchpad-Export-Date: 2014-02-11 06:38+0000\n" +"X-Generator: Launchpad (build 16916)\n" #. module: document_page_environmental_aspect #: model:ir.module.module,description:document_page_environmental_aspect.module_meta_information diff --git a/document_page_environmental_aspect/i18n/fr.po b/document_page_environmental_aspect/i18n/fr.po index d74d724442e..d5bfcb50004 100644 --- a/document_page_environmental_aspect/i18n/fr.po +++ b/document_page_environmental_aspect/i18n/fr.po @@ -15,8 +15,8 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2013-10-09 05:46+0000\n" -"X-Generator: Launchpad (build 16799)\n" +"X-Launchpad-Export-Date: 2014-02-11 06:38+0000\n" +"X-Generator: Launchpad (build 16916)\n" #. module: document_page_environmental_aspect #: model:ir.module.module,description:document_page_environmental_aspect.module_meta_information diff --git a/document_page_environmental_aspect/i18n/nb.po b/document_page_environmental_aspect/i18n/nb.po new file mode 100644 index 00000000000..7b240d9bf42 --- /dev/null +++ b/document_page_environmental_aspect/i18n/nb.po @@ -0,0 +1,32 @@ +# Norwegian Bokmal translation for openerp-mgmtsystem +# Copyright (c) 2014 Rosetta Contributors and Canonical Ltd 2014 +# This file is distributed under the same license as the openerp-mgmtsystem package. +# FIRST AUTHOR , 2014. +# +msgid "" +msgstr "" +"Project-Id-Version: openerp-mgmtsystem\n" +"Report-Msgid-Bugs-To: FULL NAME \n" +"POT-Creation-Date: 2011-02-22 20:40+0000\n" +"PO-Revision-Date: 2014-01-22 17:54+0000\n" +"Last-Translator: Torvald Baade Bringsvor \n" +"Language-Team: Norwegian Bokmal \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Launchpad-Export-Date: 2014-02-11 06:38+0000\n" +"X-Generator: Launchpad (build 16916)\n" + +#. module: document_page_environmental_aspect +#: model:ir.module.module,description:document_page_environmental_aspect.module_meta_information +msgid "" +"Environmental Aspects Template, useful for Environment Management System\n" +" " +msgstr "" +"Mal for miljøaspekter, brukbar for miljøstyringssystem\n" +" " + +#. module: document_page_environmental_aspect +#: model:ir.module.module,shortdesc:document_page_environmental_aspect.module_meta_information +msgid "Document Management - Wiki - Environmental Aspects" +msgstr "Dokumenthåndtering - Wiki - Miljøaspekter" diff --git a/document_page_environmental_aspect/i18n/pt_BR.po b/document_page_environmental_aspect/i18n/pt_BR.po index 094abfd490f..df6c8457df2 100644 --- a/document_page_environmental_aspect/i18n/pt_BR.po +++ b/document_page_environmental_aspect/i18n/pt_BR.po @@ -14,8 +14,8 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2013-10-09 05:46+0000\n" -"X-Generator: Launchpad (build 16799)\n" +"X-Launchpad-Export-Date: 2014-02-11 06:38+0000\n" +"X-Generator: Launchpad (build 16916)\n" #. module: document_page_environmental_aspect #: model:ir.module.module,description:document_page_environmental_aspect.module_meta_information diff --git a/document_page_environmental_aspect/i18n/sv.po b/document_page_environmental_aspect/i18n/sv.po index 9891013942a..77c8b39b69f 100644 --- a/document_page_environmental_aspect/i18n/sv.po +++ b/document_page_environmental_aspect/i18n/sv.po @@ -14,8 +14,8 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2013-10-09 05:46+0000\n" -"X-Generator: Launchpad (build 16799)\n" +"X-Launchpad-Export-Date: 2014-02-11 06:38+0000\n" +"X-Generator: Launchpad (build 16916)\n" #. module: document_page_environmental_aspect #: model:ir.module.module,description:document_page_environmental_aspect.module_meta_information diff --git a/document_page_environmental_aspect/i18n/vi.po b/document_page_environmental_aspect/i18n/vi.po new file mode 100644 index 00000000000..ed12915ce62 --- /dev/null +++ b/document_page_environmental_aspect/i18n/vi.po @@ -0,0 +1,30 @@ +# Vietnamese translation for openerp-mgmtsystem +# Copyright (c) 2014 Rosetta Contributors and Canonical Ltd 2014 +# This file is distributed under the same license as the openerp-mgmtsystem package. +# FIRST AUTHOR , 2014. +# +msgid "" +msgstr "" +"Project-Id-Version: openerp-mgmtsystem\n" +"Report-Msgid-Bugs-To: FULL NAME \n" +"POT-Creation-Date: 2011-02-22 20:40+0000\n" +"PO-Revision-Date: 2014-03-05 05:53+0000\n" +"Last-Translator: FULL NAME \n" +"Language-Team: Vietnamese \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Launchpad-Export-Date: 2014-03-06 06:10+0000\n" +"X-Generator: Launchpad (build 16948)\n" + +#. module: document_page_environmental_aspect +#: model:ir.module.module,description:document_page_environmental_aspect.module_meta_information +msgid "" +"Environmental Aspects Template, useful for Environment Management System\n" +" " +msgstr "" + +#. module: document_page_environmental_aspect +#: model:ir.module.module,shortdesc:document_page_environmental_aspect.module_meta_information +msgid "Document Management - Wiki - Environmental Aspects" +msgstr "" From dfea6fd758419ecd0cbcfac9251d0d44aacf0af6 Mon Sep 17 00:00:00 2001 From: Sandy Carter Date: Fri, 14 Mar 2014 11:53:50 -0400 Subject: [PATCH 13/51] Removed redundant import from openupgrade --- .../migrations/7.0.1.0/post-migration.py | 21 ++++++++----------- 1 file changed, 9 insertions(+), 12 deletions(-) diff --git a/document_page_environmental_aspect/migrations/7.0.1.0/post-migration.py b/document_page_environmental_aspect/migrations/7.0.1.0/post-migration.py index 535453be5f0..696000abe4b 100644 --- a/document_page_environmental_aspect/migrations/7.0.1.0/post-migration.py +++ b/document_page_environmental_aspect/migrations/7.0.1.0/post-migration.py @@ -20,19 +20,16 @@ # ############################################################################## -try: - from openupgrade.openupgrade import logged_query -except ImportError: - import logging - logger = logging.getLogger('upgrade') +import logging +logger = logging.getLogger('upgrade') - def logged_query(cr, query, args=None): - if args is None: - args = [] - res = cr.execute(query, args) - logger.debug('Running %s', query % tuple(args)) - logger.debug('%s rows affected', cr.rowcount) - return cr.rowcount +def logged_query(cr, query, args=None): + if args is None: + args = [] + res = cr.execute(query, args) + logger.debug('Running %s', query % tuple(args)) + logger.debug('%s rows affected', cr.rowcount) + return cr.rowcount def post_migrate_environmental_aspect_category(cr, version): From 35d08f75c889e3157f235a837735e22479bb14e8 Mon Sep 17 00:00:00 2001 From: Unknown Date: Sat, 29 Mar 2014 07:06:23 +0000 Subject: [PATCH 14/51] Launchpad automatic translations update. --- document_page_environmental_aspect/i18n/de.po | 4 ++-- document_page_environmental_aspect/i18n/fr.po | 4 ++-- document_page_environmental_aspect/i18n/nb.po | 4 ++-- document_page_environmental_aspect/i18n/pt_BR.po | 4 ++-- document_page_environmental_aspect/i18n/sv.po | 4 ++-- document_page_environmental_aspect/i18n/vi.po | 4 ++-- 6 files changed, 12 insertions(+), 12 deletions(-) diff --git a/document_page_environmental_aspect/i18n/de.po b/document_page_environmental_aspect/i18n/de.po index e0733469d7b..2fa0da24a60 100644 --- a/document_page_environmental_aspect/i18n/de.po +++ b/document_page_environmental_aspect/i18n/de.po @@ -14,8 +14,8 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2014-02-11 06:38+0000\n" -"X-Generator: Launchpad (build 16916)\n" +"X-Launchpad-Export-Date: 2014-04-24 06:29+0000\n" +"X-Generator: Launchpad (build 16985)\n" #. module: document_page_environmental_aspect #: model:ir.module.module,description:document_page_environmental_aspect.module_meta_information diff --git a/document_page_environmental_aspect/i18n/fr.po b/document_page_environmental_aspect/i18n/fr.po index d5bfcb50004..8586a9c76bf 100644 --- a/document_page_environmental_aspect/i18n/fr.po +++ b/document_page_environmental_aspect/i18n/fr.po @@ -15,8 +15,8 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2014-02-11 06:38+0000\n" -"X-Generator: Launchpad (build 16916)\n" +"X-Launchpad-Export-Date: 2014-04-24 06:29+0000\n" +"X-Generator: Launchpad (build 16985)\n" #. module: document_page_environmental_aspect #: model:ir.module.module,description:document_page_environmental_aspect.module_meta_information diff --git a/document_page_environmental_aspect/i18n/nb.po b/document_page_environmental_aspect/i18n/nb.po index 7b240d9bf42..d8c370e2d00 100644 --- a/document_page_environmental_aspect/i18n/nb.po +++ b/document_page_environmental_aspect/i18n/nb.po @@ -14,8 +14,8 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2014-02-11 06:38+0000\n" -"X-Generator: Launchpad (build 16916)\n" +"X-Launchpad-Export-Date: 2014-04-24 06:29+0000\n" +"X-Generator: Launchpad (build 16985)\n" #. module: document_page_environmental_aspect #: model:ir.module.module,description:document_page_environmental_aspect.module_meta_information diff --git a/document_page_environmental_aspect/i18n/pt_BR.po b/document_page_environmental_aspect/i18n/pt_BR.po index df6c8457df2..622ef46a8cc 100644 --- a/document_page_environmental_aspect/i18n/pt_BR.po +++ b/document_page_environmental_aspect/i18n/pt_BR.po @@ -14,8 +14,8 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2014-02-11 06:38+0000\n" -"X-Generator: Launchpad (build 16916)\n" +"X-Launchpad-Export-Date: 2014-04-24 06:29+0000\n" +"X-Generator: Launchpad (build 16985)\n" #. module: document_page_environmental_aspect #: model:ir.module.module,description:document_page_environmental_aspect.module_meta_information diff --git a/document_page_environmental_aspect/i18n/sv.po b/document_page_environmental_aspect/i18n/sv.po index 77c8b39b69f..85b8c34e8ee 100644 --- a/document_page_environmental_aspect/i18n/sv.po +++ b/document_page_environmental_aspect/i18n/sv.po @@ -14,8 +14,8 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2014-02-11 06:38+0000\n" -"X-Generator: Launchpad (build 16916)\n" +"X-Launchpad-Export-Date: 2014-04-24 06:29+0000\n" +"X-Generator: Launchpad (build 16985)\n" #. module: document_page_environmental_aspect #: model:ir.module.module,description:document_page_environmental_aspect.module_meta_information diff --git a/document_page_environmental_aspect/i18n/vi.po b/document_page_environmental_aspect/i18n/vi.po index ed12915ce62..560d8fd764e 100644 --- a/document_page_environmental_aspect/i18n/vi.po +++ b/document_page_environmental_aspect/i18n/vi.po @@ -14,8 +14,8 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2014-03-06 06:10+0000\n" -"X-Generator: Launchpad (build 16948)\n" +"X-Launchpad-Export-Date: 2014-04-24 06:29+0000\n" +"X-Generator: Launchpad (build 16985)\n" #. module: document_page_environmental_aspect #: model:ir.module.module,description:document_page_environmental_aspect.module_meta_information From 55092f791dcac3ee9c8a104809a65740b4a994cc Mon Sep 17 00:00:00 2001 From: Daniel Reis Date: Mon, 10 Nov 2014 13:18:50 +0000 Subject: [PATCH 15/51] Init 8.0 branch --- .../__init__.py | 1 + .../document_page_environmental_aspect.xml | 57 ---------------- document_page_environmental_aspect/i18n/de.po | 33 ---------- .../document_page_environmental_aspect.pot | 29 --------- document_page_environmental_aspect/i18n/fr.po | 34 ---------- document_page_environmental_aspect/i18n/nb.po | 32 --------- .../i18n/pt_BR.po | 32 --------- document_page_environmental_aspect/i18n/sv.po | 32 --------- document_page_environmental_aspect/i18n/vi.po | 30 --------- .../migrations/7.0.1.0/post-migration.py | 61 ------------------ .../static/src/img/icon.png | Bin 2397 -> 0 bytes 11 files changed, 1 insertion(+), 340 deletions(-) delete mode 100644 document_page_environmental_aspect/document_page_environmental_aspect.xml delete mode 100644 document_page_environmental_aspect/i18n/de.po delete mode 100644 document_page_environmental_aspect/i18n/document_page_environmental_aspect.pot delete mode 100644 document_page_environmental_aspect/i18n/fr.po delete mode 100644 document_page_environmental_aspect/i18n/nb.po delete mode 100644 document_page_environmental_aspect/i18n/pt_BR.po delete mode 100644 document_page_environmental_aspect/i18n/sv.po delete mode 100644 document_page_environmental_aspect/i18n/vi.po delete mode 100644 document_page_environmental_aspect/migrations/7.0.1.0/post-migration.py delete mode 100644 document_page_environmental_aspect/static/src/img/icon.png diff --git a/document_page_environmental_aspect/__init__.py b/document_page_environmental_aspect/__init__.py index 04c325fa2de..55909404f70 100644 --- a/document_page_environmental_aspect/__init__.py +++ b/document_page_environmental_aspect/__init__.py @@ -19,3 +19,4 @@ # ############################################################################## # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: +==== BASE ==== diff --git a/document_page_environmental_aspect/document_page_environmental_aspect.xml b/document_page_environmental_aspect/document_page_environmental_aspect.xml deleted file mode 100644 index 65f1f601acd..00000000000 --- a/document_page_environmental_aspect/document_page_environmental_aspect.xml +++ /dev/null @@ -1,57 +0,0 @@ - - - - - - Environmental Aspects - document.page - form - tree,form - - - Environmental aspects of your management system. - - - - - - Environmental Aspect - category - - - - Environmental Aspect - content - - -Activity - -

Environmental Aspect

- -

Environmental Impact

- -

Laws and Regulations

- -

Operational Control

- -

Responsibilities

- -

Objectives

- -

Programs

-]]> -
-
- - - - - -
-
diff --git a/document_page_environmental_aspect/i18n/de.po b/document_page_environmental_aspect/i18n/de.po deleted file mode 100644 index 2fa0da24a60..00000000000 --- a/document_page_environmental_aspect/i18n/de.po +++ /dev/null @@ -1,33 +0,0 @@ -# German translation for openerp-mgmtsystem -# Copyright (c) 2012 Rosetta Contributors and Canonical Ltd 2012 -# This file is distributed under the same license as the openerp-mgmtsystem package. -# FIRST AUTHOR , 2012. -# -msgid "" -msgstr "" -"Project-Id-Version: openerp-mgmtsystem\n" -"Report-Msgid-Bugs-To: FULL NAME \n" -"POT-Creation-Date: 2011-02-22 20:40+0000\n" -"PO-Revision-Date: 2012-09-17 11:39+0000\n" -"Last-Translator: Rudolf Schnapka \n" -"Language-Team: German \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2014-04-24 06:29+0000\n" -"X-Generator: Launchpad (build 16985)\n" - -#. module: document_page_environmental_aspect -#: model:ir.module.module,description:document_page_environmental_aspect.module_meta_information -msgid "" -"Environmental Aspects Template, useful for Environment Management System\n" -" " -msgstr "" -"Vorlagen für Umwelt-Aspekte, diese sind für ein Umwelt-Management-System " -"(UMS) sinnvoll\n" -" " - -#. module: document_page_environmental_aspect -#: model:ir.module.module,shortdesc:document_page_environmental_aspect.module_meta_information -msgid "Document Management - Wiki - Environmental Aspects" -msgstr "Dokumentenmanagement-Wiki - Umweltaspekte" diff --git a/document_page_environmental_aspect/i18n/document_page_environmental_aspect.pot b/document_page_environmental_aspect/i18n/document_page_environmental_aspect.pot deleted file mode 100644 index ab10f5e09c0..00000000000 --- a/document_page_environmental_aspect/i18n/document_page_environmental_aspect.pot +++ /dev/null @@ -1,29 +0,0 @@ -# Translation of OpenERP Server. -# This file contains the translation of the following modules: -# * document_page_environmental_aspect -# -msgid "" -msgstr "" -"Project-Id-Version: OpenERP Server 6.1-dev\n" -"Report-Msgid-Bugs-To: support@openerp.com\n" -"POT-Creation-Date: 2011-02-22 20:40+0000\n" -"PO-Revision-Date: 2011-02-22 20:40+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: document_page_environmental_aspect -#: model:ir.module.module,description:document_page_environmental_aspect.module_meta_information -msgid "Environmental Aspects Template, useful for Environment Management System\n" -" " -msgstr "Environmental Aspects Template, useful for Environment Management System\n" -" " - -#. module: document_page_environmental_aspect -#: model:ir.module.module,shortdesc:document_page_environmental_aspect.module_meta_information -msgid "Document Management - Wiki - Environmental Aspects" -msgstr "Document Management - Wiki - Environmental Aspects" - diff --git a/document_page_environmental_aspect/i18n/fr.po b/document_page_environmental_aspect/i18n/fr.po deleted file mode 100644 index 8586a9c76bf..00000000000 --- a/document_page_environmental_aspect/i18n/fr.po +++ /dev/null @@ -1,34 +0,0 @@ -# French translation for openerp-mgmtsystem -# Copyright (c) 2012 Rosetta Contributors and Canonical Ltd 2012 -# This file is distributed under the same license as the openerp-mgmtsystem package. -# FIRST AUTHOR , 2012. -# -msgid "" -msgstr "" -"Project-Id-Version: openerp-mgmtsystem\n" -"Report-Msgid-Bugs-To: FULL NAME \n" -"POT-Creation-Date: 2011-02-22 20:40+0000\n" -"PO-Revision-Date: 2012-09-09 04:50+0000\n" -"Last-Translator: Maxime Chambreuil (http://www.savoirfairelinux.com) " -"\n" -"Language-Team: French \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2014-04-24 06:29+0000\n" -"X-Generator: Launchpad (build 16985)\n" - -#. module: document_page_environmental_aspect -#: model:ir.module.module,description:document_page_environmental_aspect.module_meta_information -msgid "" -"Environmental Aspects Template, useful for Environment Management System\n" -" " -msgstr "" -"Modèle d'aspects environnementaux, utile pour le système de gestion " -"environnementale\n" -" " - -#. module: document_page_environmental_aspect -#: model:ir.module.module,shortdesc:document_page_environmental_aspect.module_meta_information -msgid "Document Management - Wiki - Environmental Aspects" -msgstr "Gestion des documents - Wiki - Aspects environnementaux" diff --git a/document_page_environmental_aspect/i18n/nb.po b/document_page_environmental_aspect/i18n/nb.po deleted file mode 100644 index d8c370e2d00..00000000000 --- a/document_page_environmental_aspect/i18n/nb.po +++ /dev/null @@ -1,32 +0,0 @@ -# Norwegian Bokmal translation for openerp-mgmtsystem -# Copyright (c) 2014 Rosetta Contributors and Canonical Ltd 2014 -# This file is distributed under the same license as the openerp-mgmtsystem package. -# FIRST AUTHOR , 2014. -# -msgid "" -msgstr "" -"Project-Id-Version: openerp-mgmtsystem\n" -"Report-Msgid-Bugs-To: FULL NAME \n" -"POT-Creation-Date: 2011-02-22 20:40+0000\n" -"PO-Revision-Date: 2014-01-22 17:54+0000\n" -"Last-Translator: Torvald Baade Bringsvor \n" -"Language-Team: Norwegian Bokmal \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2014-04-24 06:29+0000\n" -"X-Generator: Launchpad (build 16985)\n" - -#. module: document_page_environmental_aspect -#: model:ir.module.module,description:document_page_environmental_aspect.module_meta_information -msgid "" -"Environmental Aspects Template, useful for Environment Management System\n" -" " -msgstr "" -"Mal for miljøaspekter, brukbar for miljøstyringssystem\n" -" " - -#. module: document_page_environmental_aspect -#: model:ir.module.module,shortdesc:document_page_environmental_aspect.module_meta_information -msgid "Document Management - Wiki - Environmental Aspects" -msgstr "Dokumenthåndtering - Wiki - Miljøaspekter" diff --git a/document_page_environmental_aspect/i18n/pt_BR.po b/document_page_environmental_aspect/i18n/pt_BR.po deleted file mode 100644 index 622ef46a8cc..00000000000 --- a/document_page_environmental_aspect/i18n/pt_BR.po +++ /dev/null @@ -1,32 +0,0 @@ -# Brazilian Portuguese translation for openerp-mgmtsystem -# Copyright (c) 2013 Rosetta Contributors and Canonical Ltd 2013 -# This file is distributed under the same license as the openerp-mgmtsystem package. -# FIRST AUTHOR , 2013. -# -msgid "" -msgstr "" -"Project-Id-Version: openerp-mgmtsystem\n" -"Report-Msgid-Bugs-To: FULL NAME \n" -"POT-Creation-Date: 2011-02-22 20:40+0000\n" -"PO-Revision-Date: 2013-08-07 05:39+0000\n" -"Last-Translator: Admilson Afonso \n" -"Language-Team: Brazilian Portuguese \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2014-04-24 06:29+0000\n" -"X-Generator: Launchpad (build 16985)\n" - -#. module: document_page_environmental_aspect -#: model:ir.module.module,description:document_page_environmental_aspect.module_meta_information -msgid "" -"Environmental Aspects Template, useful for Environment Management System\n" -" " -msgstr "" -"Modelo Manual de Meio Ambiente, útil para o Sistema de Gestão Ambiental\n" -" " - -#. module: document_page_environmental_aspect -#: model:ir.module.module,shortdesc:document_page_environmental_aspect.module_meta_information -msgid "Document Management - Wiki - Environmental Aspects" -msgstr "Gestão de Documentos - Wiki - Ambientais" diff --git a/document_page_environmental_aspect/i18n/sv.po b/document_page_environmental_aspect/i18n/sv.po deleted file mode 100644 index 85b8c34e8ee..00000000000 --- a/document_page_environmental_aspect/i18n/sv.po +++ /dev/null @@ -1,32 +0,0 @@ -# Swedish translation for openerp-mgmtsystem -# Copyright (c) 2012 Rosetta Contributors and Canonical Ltd 2012 -# This file is distributed under the same license as the openerp-mgmtsystem package. -# FIRST AUTHOR , 2012. -# -msgid "" -msgstr "" -"Project-Id-Version: openerp-mgmtsystem\n" -"Report-Msgid-Bugs-To: FULL NAME \n" -"POT-Creation-Date: 2011-02-22 20:40+0000\n" -"PO-Revision-Date: 2012-12-03 16:06+0000\n" -"Last-Translator: FULL NAME \n" -"Language-Team: Swedish \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2014-04-24 06:29+0000\n" -"X-Generator: Launchpad (build 16985)\n" - -#. module: document_page_environmental_aspect -#: model:ir.module.module,description:document_page_environmental_aspect.module_meta_information -msgid "" -"Environmental Aspects Template, useful for Environment Management System\n" -" " -msgstr "" -"Miljöaspekter Mall, användbar för miljöledningssystem\n" -" " - -#. module: document_page_environmental_aspect -#: model:ir.module.module,shortdesc:document_page_environmental_aspect.module_meta_information -msgid "Document Management - Wiki - Environmental Aspects" -msgstr "Dokumenthantering - Wiki - Miljöaspekter" diff --git a/document_page_environmental_aspect/i18n/vi.po b/document_page_environmental_aspect/i18n/vi.po deleted file mode 100644 index 560d8fd764e..00000000000 --- a/document_page_environmental_aspect/i18n/vi.po +++ /dev/null @@ -1,30 +0,0 @@ -# Vietnamese translation for openerp-mgmtsystem -# Copyright (c) 2014 Rosetta Contributors and Canonical Ltd 2014 -# This file is distributed under the same license as the openerp-mgmtsystem package. -# FIRST AUTHOR , 2014. -# -msgid "" -msgstr "" -"Project-Id-Version: openerp-mgmtsystem\n" -"Report-Msgid-Bugs-To: FULL NAME \n" -"POT-Creation-Date: 2011-02-22 20:40+0000\n" -"PO-Revision-Date: 2014-03-05 05:53+0000\n" -"Last-Translator: FULL NAME \n" -"Language-Team: Vietnamese \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2014-04-24 06:29+0000\n" -"X-Generator: Launchpad (build 16985)\n" - -#. module: document_page_environmental_aspect -#: model:ir.module.module,description:document_page_environmental_aspect.module_meta_information -msgid "" -"Environmental Aspects Template, useful for Environment Management System\n" -" " -msgstr "" - -#. module: document_page_environmental_aspect -#: model:ir.module.module,shortdesc:document_page_environmental_aspect.module_meta_information -msgid "Document Management - Wiki - Environmental Aspects" -msgstr "" diff --git a/document_page_environmental_aspect/migrations/7.0.1.0/post-migration.py b/document_page_environmental_aspect/migrations/7.0.1.0/post-migration.py deleted file mode 100644 index 696000abe4b..00000000000 --- a/document_page_environmental_aspect/migrations/7.0.1.0/post-migration.py +++ /dev/null @@ -1,61 +0,0 @@ -# -*- encoding: utf-8 -*- -############################################################################## -# -# OpenERP, Open Source Management Solution -# This module copyright (C) 2013 Savoir-faire Linux -# (). -# -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero 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 Affero General Public License for more details. -# -# You should have received a copy of the GNU Affero General Public License -# along with this program. If not, see . -# -############################################################################## - -import logging -logger = logging.getLogger('upgrade') - -def logged_query(cr, query, args=None): - if args is None: - args = [] - res = cr.execute(query, args) - logger.debug('Running %s', query % tuple(args)) - logger.debug('%s rows affected', cr.rowcount) - return cr.rowcount - - -def post_migrate_environmental_aspect_category(cr, version): - logged_query(cr, """\ -UPDATE document_page -SET parent_id = (SELECT id FROM document_page - WHERE name = 'Environmental Aspect' AND type = 'category' - ORDER BY id DESC - LIMIT 1), - name = name || ' (' || %s || ')' -WHERE parent_id = (SELECT id FROM document_page - WHERE name = 'Environmental Aspect' AND type = 'category' - ORDER BY id ASC - LIMIT 1) - AND type = 'content';""", [version]) - logged_query(cr, """\ -UPDATE document_page -SET name = name || ' (' || %s || ')' -WHERE id = (SELECT id FROM document_page - WHERE name = 'Environmental Aspect' AND type = 'category' - ORDER BY id ASC - LIMIT 1) - AND type = 'category';""", [version]) - - -def migrate(cr, version): - post_migrate_environmental_aspect_category(cr, version) - -# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/document_page_environmental_aspect/static/src/img/icon.png b/document_page_environmental_aspect/static/src/img/icon.png deleted file mode 100644 index cb1620bf203f19668872eb9c7620a8b950765cb2..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2397 zcmaJ@dpHwp8z1`Skkh0vbJ#^8a)_}oWKJ_Ajp#)V8FJ3ybxzE37?S2NQ#q}aQ)#A< z5EbKTGHdhYwauKT*~>-YSgJKNdGR!jse0ssKSP zJiPYXgn+y=l10SufG^s`))LUjfGqJYKtHst72xpqe%Se_i02WGwDX7t0FEB}ZF~R{ zS(fJ%j6peC3r>lOOUp=%IaWjh075e;tMi!nDK5$Ymb&9t?RunW>!F&I-t`*(L1RW6rauQh*IaW} z%Lb%id#BHLb4w!QU6IA&FhRdJ-uy6KK9YGO6s>BCbL`S#yZG0R4yu5tf zfn*^3Jb3!W6Xr_dSzfXYLG~67cVulh84n)4z+$oN!o#)OEmZZa( zx}c-W0_H21%$+u6?v<4IPrQnS-}ovd00?A|m#C}#dGaWGd$_5o=~^dOt%)!UH9CQ1 zFm|@l?~F}MpoMk=V|AB)-aVP9^uo{IpH5@W;&UHK0Om?YwMB_jzDvC?)e~rsWBVQ79<4=Z+t*rdkP(Np&kLO!k;D5RA1FvfF#GCmt_C=q zMT&@sNSa;BL+{@mnVl8iP6OalHbFHVWjce9-382APpZ`4^V{pc28rO#>B*PTYHnFt z-X4t&4Gn)S5M>yoiHE7%9Iw0O<+-b?p{B_@lDsy7_N{eNOSVSS==7s{@MSpQ&C7Vr z{-E_LdS72AeP~D}I5=2cOAA+Bts<0Qc58X}sY{)16w7LCYa-A1-28`1aw|5)5+Zt|JGac;miXJ%*Eb*qSShlHTebXS)Y_i`W%sp^%-O{kXn<%%ga6YU+ep%HF-1n0vksLz2gA5G|JG!4}Fd|c=cERT2#X^RESrP+sPWvXd);CFCEGwAX63BEXmi)k4 zs!K1MiZ`Lx>tTk5hLpg8fkG9SyZ(DyESACmZW0KhXX94g-AH}g`fuFyl|_X`MA8>) z4dSZG^z7{HK6r@I>GYk6c>y;PhZDZDw@11U1%W^gD3ox>%w3%(pS{hc`j(ois&r`? znXV6+INTkP!u=ft=6IOm+vfp8n-gZhPbG_si`J)BFq zE+$l6jTqbUEYc1=@8KcmKZ?H=7+9ovxzT5`BfepIiE*gec(qHMdPNM49+G*No0BtV za#Q$qi^#_(zs%M1eR^=hSp@|~VMu_ovT_eU!i&rH(?#|dC^6gG+k2mEYF3QXHB3bH_1QYX zpQ@|ZHaBr*hA>&jl5u2EkovlNo4Dt#f~}`($BQl=uQ_Os;D(q)t+V=!Hufa}ykyl} zaqqDw`QIW~QQTPsggPFcv#kC3NFC;SbDUnzg{i^8!P0t(z#!M#nA790+HcUaZBQsw zDRjE$vDx0{`Z~0*u&_-(wbEv9!{o%9{(j)QRBAdgocu}=sr}E)!!lot+-Qco7Pis5 zGv~=zP~K*$iIYXGi*M>e_pdKU7KP&+z9sarn+o1YT5*e{Q!uBGZ!ZrDy)cgd2~7 zJq(8U%*>3swzlEkio%^kou`6j4mKnb>BHpY4r^LmUS59k(dL~d-_tA^>Lij# z_N`&l`2B6J#NR704RIwihak=WH#__{=I8TEFeOVBO=u8E=FL6;l(mypqoq&!zg1#- A`~Uy| From c1bdfcb42db5ba4b60d09ebca29efde13d240f67 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Faure-Lacroix?= Date: Wed, 19 Nov 2014 10:43:26 +0300 Subject: [PATCH 16/51] Moved document_page_environmental_aspect to root for port --- .../__init__.py | 1 - .../__openerp__.py | 4 +- .../document_page_environmental_aspect.xml | 57 +++++++++++++++ document_page_environmental_aspect/i18n/de.po | 33 +++++++++ .../document_page_environmental_aspect.pot | 29 ++++++++ document_page_environmental_aspect/i18n/fr.po | 34 +++++++++ document_page_environmental_aspect/i18n/nb.po | 32 ++++++++ .../i18n/pt_BR.po | 32 ++++++++ document_page_environmental_aspect/i18n/sv.po | 32 ++++++++ document_page_environmental_aspect/i18n/vi.po | 30 ++++++++ .../migrations/7.0.1.0/pre-migration.py | 69 ++++++++++++++++++ .../static/src/img/icon.png | Bin 0 -> 2397 bytes 12 files changed, 350 insertions(+), 3 deletions(-) create mode 100644 document_page_environmental_aspect/document_page_environmental_aspect.xml create mode 100644 document_page_environmental_aspect/i18n/de.po create mode 100644 document_page_environmental_aspect/i18n/document_page_environmental_aspect.pot create mode 100644 document_page_environmental_aspect/i18n/fr.po create mode 100644 document_page_environmental_aspect/i18n/nb.po create mode 100644 document_page_environmental_aspect/i18n/pt_BR.po create mode 100644 document_page_environmental_aspect/i18n/sv.po create mode 100644 document_page_environmental_aspect/i18n/vi.po create mode 100644 document_page_environmental_aspect/migrations/7.0.1.0/pre-migration.py create mode 100644 document_page_environmental_aspect/static/src/img/icon.png diff --git a/document_page_environmental_aspect/__init__.py b/document_page_environmental_aspect/__init__.py index 55909404f70..04c325fa2de 100644 --- a/document_page_environmental_aspect/__init__.py +++ b/document_page_environmental_aspect/__init__.py @@ -19,4 +19,3 @@ # ############################################################################## # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: -==== BASE ==== diff --git a/document_page_environmental_aspect/__openerp__.py b/document_page_environmental_aspect/__openerp__.py index ab979d9633f..f39c105e2c7 100644 --- a/document_page_environmental_aspect/__openerp__.py +++ b/document_page_environmental_aspect/__openerp__.py @@ -5,7 +5,7 @@ # Copyright (C) 2010 Savoir-faire Linux (). # # This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as +# it under the terms of the GNU Affero General Public License as # published by the Free Software Foundation, either version 3 of the # License, or (at your option) any later version. # @@ -21,7 +21,7 @@ { "name": "Document Management - Wiki - Environmental Aspects", "version": "1.0", - "author": "Savoir-faire Linux", + "author": "Savoir-faire Linux,Odoo Community Association (OCA)", "website": "http://www.savoirfairelinux.com", "license": "AGPL-3", "category": "Generic Modules/Others", diff --git a/document_page_environmental_aspect/document_page_environmental_aspect.xml b/document_page_environmental_aspect/document_page_environmental_aspect.xml new file mode 100644 index 00000000000..65f1f601acd --- /dev/null +++ b/document_page_environmental_aspect/document_page_environmental_aspect.xml @@ -0,0 +1,57 @@ + + + + + + Environmental Aspects + document.page + form + tree,form + + + Environmental aspects of your management system. + + + + + + Environmental Aspect + category + + + + Environmental Aspect + content + + +Activity + +

Environmental Aspect

+ +

Environmental Impact

+ +

Laws and Regulations

+ +

Operational Control

+ +

Responsibilities

+ +

Objectives

+ +

Programs

+]]> +
+
+ + + + + +
+
diff --git a/document_page_environmental_aspect/i18n/de.po b/document_page_environmental_aspect/i18n/de.po new file mode 100644 index 00000000000..2fa0da24a60 --- /dev/null +++ b/document_page_environmental_aspect/i18n/de.po @@ -0,0 +1,33 @@ +# German translation for openerp-mgmtsystem +# Copyright (c) 2012 Rosetta Contributors and Canonical Ltd 2012 +# This file is distributed under the same license as the openerp-mgmtsystem package. +# FIRST AUTHOR , 2012. +# +msgid "" +msgstr "" +"Project-Id-Version: openerp-mgmtsystem\n" +"Report-Msgid-Bugs-To: FULL NAME \n" +"POT-Creation-Date: 2011-02-22 20:40+0000\n" +"PO-Revision-Date: 2012-09-17 11:39+0000\n" +"Last-Translator: Rudolf Schnapka \n" +"Language-Team: German \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Launchpad-Export-Date: 2014-04-24 06:29+0000\n" +"X-Generator: Launchpad (build 16985)\n" + +#. module: document_page_environmental_aspect +#: model:ir.module.module,description:document_page_environmental_aspect.module_meta_information +msgid "" +"Environmental Aspects Template, useful for Environment Management System\n" +" " +msgstr "" +"Vorlagen für Umwelt-Aspekte, diese sind für ein Umwelt-Management-System " +"(UMS) sinnvoll\n" +" " + +#. module: document_page_environmental_aspect +#: model:ir.module.module,shortdesc:document_page_environmental_aspect.module_meta_information +msgid "Document Management - Wiki - Environmental Aspects" +msgstr "Dokumentenmanagement-Wiki - Umweltaspekte" diff --git a/document_page_environmental_aspect/i18n/document_page_environmental_aspect.pot b/document_page_environmental_aspect/i18n/document_page_environmental_aspect.pot new file mode 100644 index 00000000000..ab10f5e09c0 --- /dev/null +++ b/document_page_environmental_aspect/i18n/document_page_environmental_aspect.pot @@ -0,0 +1,29 @@ +# Translation of OpenERP Server. +# This file contains the translation of the following modules: +# * document_page_environmental_aspect +# +msgid "" +msgstr "" +"Project-Id-Version: OpenERP Server 6.1-dev\n" +"Report-Msgid-Bugs-To: support@openerp.com\n" +"POT-Creation-Date: 2011-02-22 20:40+0000\n" +"PO-Revision-Date: 2011-02-22 20:40+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: document_page_environmental_aspect +#: model:ir.module.module,description:document_page_environmental_aspect.module_meta_information +msgid "Environmental Aspects Template, useful for Environment Management System\n" +" " +msgstr "Environmental Aspects Template, useful for Environment Management System\n" +" " + +#. module: document_page_environmental_aspect +#: model:ir.module.module,shortdesc:document_page_environmental_aspect.module_meta_information +msgid "Document Management - Wiki - Environmental Aspects" +msgstr "Document Management - Wiki - Environmental Aspects" + diff --git a/document_page_environmental_aspect/i18n/fr.po b/document_page_environmental_aspect/i18n/fr.po new file mode 100644 index 00000000000..8586a9c76bf --- /dev/null +++ b/document_page_environmental_aspect/i18n/fr.po @@ -0,0 +1,34 @@ +# French translation for openerp-mgmtsystem +# Copyright (c) 2012 Rosetta Contributors and Canonical Ltd 2012 +# This file is distributed under the same license as the openerp-mgmtsystem package. +# FIRST AUTHOR , 2012. +# +msgid "" +msgstr "" +"Project-Id-Version: openerp-mgmtsystem\n" +"Report-Msgid-Bugs-To: FULL NAME \n" +"POT-Creation-Date: 2011-02-22 20:40+0000\n" +"PO-Revision-Date: 2012-09-09 04:50+0000\n" +"Last-Translator: Maxime Chambreuil (http://www.savoirfairelinux.com) " +"\n" +"Language-Team: French \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Launchpad-Export-Date: 2014-04-24 06:29+0000\n" +"X-Generator: Launchpad (build 16985)\n" + +#. module: document_page_environmental_aspect +#: model:ir.module.module,description:document_page_environmental_aspect.module_meta_information +msgid "" +"Environmental Aspects Template, useful for Environment Management System\n" +" " +msgstr "" +"Modèle d'aspects environnementaux, utile pour le système de gestion " +"environnementale\n" +" " + +#. module: document_page_environmental_aspect +#: model:ir.module.module,shortdesc:document_page_environmental_aspect.module_meta_information +msgid "Document Management - Wiki - Environmental Aspects" +msgstr "Gestion des documents - Wiki - Aspects environnementaux" diff --git a/document_page_environmental_aspect/i18n/nb.po b/document_page_environmental_aspect/i18n/nb.po new file mode 100644 index 00000000000..d8c370e2d00 --- /dev/null +++ b/document_page_environmental_aspect/i18n/nb.po @@ -0,0 +1,32 @@ +# Norwegian Bokmal translation for openerp-mgmtsystem +# Copyright (c) 2014 Rosetta Contributors and Canonical Ltd 2014 +# This file is distributed under the same license as the openerp-mgmtsystem package. +# FIRST AUTHOR , 2014. +# +msgid "" +msgstr "" +"Project-Id-Version: openerp-mgmtsystem\n" +"Report-Msgid-Bugs-To: FULL NAME \n" +"POT-Creation-Date: 2011-02-22 20:40+0000\n" +"PO-Revision-Date: 2014-01-22 17:54+0000\n" +"Last-Translator: Torvald Baade Bringsvor \n" +"Language-Team: Norwegian Bokmal \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Launchpad-Export-Date: 2014-04-24 06:29+0000\n" +"X-Generator: Launchpad (build 16985)\n" + +#. module: document_page_environmental_aspect +#: model:ir.module.module,description:document_page_environmental_aspect.module_meta_information +msgid "" +"Environmental Aspects Template, useful for Environment Management System\n" +" " +msgstr "" +"Mal for miljøaspekter, brukbar for miljøstyringssystem\n" +" " + +#. module: document_page_environmental_aspect +#: model:ir.module.module,shortdesc:document_page_environmental_aspect.module_meta_information +msgid "Document Management - Wiki - Environmental Aspects" +msgstr "Dokumenthåndtering - Wiki - Miljøaspekter" diff --git a/document_page_environmental_aspect/i18n/pt_BR.po b/document_page_environmental_aspect/i18n/pt_BR.po new file mode 100644 index 00000000000..622ef46a8cc --- /dev/null +++ b/document_page_environmental_aspect/i18n/pt_BR.po @@ -0,0 +1,32 @@ +# Brazilian Portuguese translation for openerp-mgmtsystem +# Copyright (c) 2013 Rosetta Contributors and Canonical Ltd 2013 +# This file is distributed under the same license as the openerp-mgmtsystem package. +# FIRST AUTHOR , 2013. +# +msgid "" +msgstr "" +"Project-Id-Version: openerp-mgmtsystem\n" +"Report-Msgid-Bugs-To: FULL NAME \n" +"POT-Creation-Date: 2011-02-22 20:40+0000\n" +"PO-Revision-Date: 2013-08-07 05:39+0000\n" +"Last-Translator: Admilson Afonso \n" +"Language-Team: Brazilian Portuguese \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Launchpad-Export-Date: 2014-04-24 06:29+0000\n" +"X-Generator: Launchpad (build 16985)\n" + +#. module: document_page_environmental_aspect +#: model:ir.module.module,description:document_page_environmental_aspect.module_meta_information +msgid "" +"Environmental Aspects Template, useful for Environment Management System\n" +" " +msgstr "" +"Modelo Manual de Meio Ambiente, útil para o Sistema de Gestão Ambiental\n" +" " + +#. module: document_page_environmental_aspect +#: model:ir.module.module,shortdesc:document_page_environmental_aspect.module_meta_information +msgid "Document Management - Wiki - Environmental Aspects" +msgstr "Gestão de Documentos - Wiki - Ambientais" diff --git a/document_page_environmental_aspect/i18n/sv.po b/document_page_environmental_aspect/i18n/sv.po new file mode 100644 index 00000000000..85b8c34e8ee --- /dev/null +++ b/document_page_environmental_aspect/i18n/sv.po @@ -0,0 +1,32 @@ +# Swedish translation for openerp-mgmtsystem +# Copyright (c) 2012 Rosetta Contributors and Canonical Ltd 2012 +# This file is distributed under the same license as the openerp-mgmtsystem package. +# FIRST AUTHOR , 2012. +# +msgid "" +msgstr "" +"Project-Id-Version: openerp-mgmtsystem\n" +"Report-Msgid-Bugs-To: FULL NAME \n" +"POT-Creation-Date: 2011-02-22 20:40+0000\n" +"PO-Revision-Date: 2012-12-03 16:06+0000\n" +"Last-Translator: FULL NAME \n" +"Language-Team: Swedish \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Launchpad-Export-Date: 2014-04-24 06:29+0000\n" +"X-Generator: Launchpad (build 16985)\n" + +#. module: document_page_environmental_aspect +#: model:ir.module.module,description:document_page_environmental_aspect.module_meta_information +msgid "" +"Environmental Aspects Template, useful for Environment Management System\n" +" " +msgstr "" +"Miljöaspekter Mall, användbar för miljöledningssystem\n" +" " + +#. module: document_page_environmental_aspect +#: model:ir.module.module,shortdesc:document_page_environmental_aspect.module_meta_information +msgid "Document Management - Wiki - Environmental Aspects" +msgstr "Dokumenthantering - Wiki - Miljöaspekter" diff --git a/document_page_environmental_aspect/i18n/vi.po b/document_page_environmental_aspect/i18n/vi.po new file mode 100644 index 00000000000..560d8fd764e --- /dev/null +++ b/document_page_environmental_aspect/i18n/vi.po @@ -0,0 +1,30 @@ +# Vietnamese translation for openerp-mgmtsystem +# Copyright (c) 2014 Rosetta Contributors and Canonical Ltd 2014 +# This file is distributed under the same license as the openerp-mgmtsystem package. +# FIRST AUTHOR , 2014. +# +msgid "" +msgstr "" +"Project-Id-Version: openerp-mgmtsystem\n" +"Report-Msgid-Bugs-To: FULL NAME \n" +"POT-Creation-Date: 2011-02-22 20:40+0000\n" +"PO-Revision-Date: 2014-03-05 05:53+0000\n" +"Last-Translator: FULL NAME \n" +"Language-Team: Vietnamese \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Launchpad-Export-Date: 2014-04-24 06:29+0000\n" +"X-Generator: Launchpad (build 16985)\n" + +#. module: document_page_environmental_aspect +#: model:ir.module.module,description:document_page_environmental_aspect.module_meta_information +msgid "" +"Environmental Aspects Template, useful for Environment Management System\n" +" " +msgstr "" + +#. module: document_page_environmental_aspect +#: model:ir.module.module,shortdesc:document_page_environmental_aspect.module_meta_information +msgid "Document Management - Wiki - Environmental Aspects" +msgstr "" diff --git a/document_page_environmental_aspect/migrations/7.0.1.0/pre-migration.py b/document_page_environmental_aspect/migrations/7.0.1.0/pre-migration.py new file mode 100644 index 00000000000..00b6a5094e3 --- /dev/null +++ b/document_page_environmental_aspect/migrations/7.0.1.0/pre-migration.py @@ -0,0 +1,69 @@ +# -*- encoding: utf-8 -*- +############################################################################## +# +# OpenERP, Open Source Management Solution +# This module copyright (C) 2013 Savoir-faire Linux +# (). +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero 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 Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . +# +############################################################################## + +import logging +logger = logging.getLogger('upgrade') +logger.setLevel(logging.DEBUG) + +xmlid_renames = [ + ('document_page_environmental_aspect.wiki_environmental_aspect', + 'document_page_environmental_aspect.document_page_environmental_aspect'), + ('document_page_environmental_aspect.wiki_group_environmental_aspect', + 'document_page_environmental_aspect.\ + document_page_group_environmental_aspect'), +] + + +def logged_query(cr, query, args=None): + """ + Logs query and affected rows at level DEBUG + """ + if args is None: + args = [] + cr.execute(query, args) + logger.debug('Running %s', query % tuple(args)) + logger.debug('%s rows affected', cr.rowcount) + return cr.rowcount + + +def rename_xmlids(cr, xmlids_spec): + """ + Rename XML IDs. Typically called in the pre script. + One usage example is when an ID changes module. In OpenERP 6 for example, + a number of res_groups IDs moved to module base from other modules ( + although they were still being defined in their respective module). + """ + for (old, new) in xmlids_spec: + if not old.split('.') or not new.split('.'): + logger.error( + 'Cannot rename XMLID %s to %s: need the module ' + 'reference to be specified in the IDs' % (old, new)) + else: + query = ("UPDATE ir_model_data SET module = %s, name = %s " + "WHERE module = %s and name = %s") + logged_query(cr, query, tuple(new.split('.') + old.split('.'))) + + +def migrate(cr, version): + if version is None: + return + rename_xmlids(cr, xmlid_renames) diff --git a/document_page_environmental_aspect/static/src/img/icon.png b/document_page_environmental_aspect/static/src/img/icon.png new file mode 100644 index 0000000000000000000000000000000000000000..cb1620bf203f19668872eb9c7620a8b950765cb2 GIT binary patch literal 2397 zcmaJ@dpHwp8z1`Skkh0vbJ#^8a)_}oWKJ_Ajp#)V8FJ3ybxzE37?S2NQ#q}aQ)#A< z5EbKTGHdhYwauKT*~>-YSgJKNdGR!jse0ssKSP zJiPYXgn+y=l10SufG^s`))LUjfGqJYKtHst72xpqe%Se_i02WGwDX7t0FEB}ZF~R{ zS(fJ%j6peC3r>lOOUp=%IaWjh075e;tMi!nDK5$Ymb&9t?RunW>!F&I-t`*(L1RW6rauQh*IaW} z%Lb%id#BHLb4w!QU6IA&FhRdJ-uy6KK9YGO6s>BCbL`S#yZG0R4yu5tf zfn*^3Jb3!W6Xr_dSzfXYLG~67cVulh84n)4z+$oN!o#)OEmZZa( zx}c-W0_H21%$+u6?v<4IPrQnS-}ovd00?A|m#C}#dGaWGd$_5o=~^dOt%)!UH9CQ1 zFm|@l?~F}MpoMk=V|AB)-aVP9^uo{IpH5@W;&UHK0Om?YwMB_jzDvC?)e~rsWBVQ79<4=Z+t*rdkP(Np&kLO!k;D5RA1FvfF#GCmt_C=q zMT&@sNSa;BL+{@mnVl8iP6OalHbFHVWjce9-382APpZ`4^V{pc28rO#>B*PTYHnFt z-X4t&4Gn)S5M>yoiHE7%9Iw0O<+-b?p{B_@lDsy7_N{eNOSVSS==7s{@MSpQ&C7Vr z{-E_LdS72AeP~D}I5=2cOAA+Bts<0Qc58X}sY{)16w7LCYa-A1-28`1aw|5)5+Zt|JGac;miXJ%*Eb*qSShlHTebXS)Y_i`W%sp^%-O{kXn<%%ga6YU+ep%HF-1n0vksLz2gA5G|JG!4}Fd|c=cERT2#X^RESrP+sPWvXd);CFCEGwAX63BEXmi)k4 zs!K1MiZ`Lx>tTk5hLpg8fkG9SyZ(DyESACmZW0KhXX94g-AH}g`fuFyl|_X`MA8>) z4dSZG^z7{HK6r@I>GYk6c>y;PhZDZDw@11U1%W^gD3ox>%w3%(pS{hc`j(ois&r`? znXV6+INTkP!u=ft=6IOm+vfp8n-gZhPbG_si`J)BFq zE+$l6jTqbUEYc1=@8KcmKZ?H=7+9ovxzT5`BfepIiE*gec(qHMdPNM49+G*No0BtV za#Q$qi^#_(zs%M1eR^=hSp@|~VMu_ovT_eU!i&rH(?#|dC^6gG+k2mEYF3QXHB3bH_1QYX zpQ@|ZHaBr*hA>&jl5u2EkovlNo4Dt#f~}`($BQl=uQ_Os;D(q)t+V=!Hufa}ykyl} zaqqDw`QIW~QQTPsggPFcv#kC3NFC;SbDUnzg{i^8!P0t(z#!M#nA790+HcUaZBQsw zDRjE$vDx0{`Z~0*u&_-(wbEv9!{o%9{(j)QRBAdgocu}=sr}E)!!lot+-Qco7Pis5 zGv~=zP~K*$iIYXGi*M>e_pdKU7KP&+z9sarn+o1YT5*e{Q!uBGZ!ZrDy)cgd2~7 zJq(8U%*>3swzlEkio%^kou`6j4mKnb>BHpY4r^LmUS59k(dL~d-_tA^>Lij# z_N`&l`2B6J#NR704RIwihak=WH#__{=I8TEFeOVBO=u8E=FL6;l(mypqoq&!zg1#- A`~Uy| literal 0 HcmV?d00001 From 11d8a75bb40f27564763314e50cad6e10f5dd187 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Faure-Lacroix?= Date: Wed, 19 Nov 2014 10:46:34 +0300 Subject: [PATCH 17/51] Making installable is enough and nothing else to change --- document_page_environmental_aspect/__openerp__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/document_page_environmental_aspect/__openerp__.py b/document_page_environmental_aspect/__openerp__.py index f39c105e2c7..16c5205db56 100644 --- a/document_page_environmental_aspect/__openerp__.py +++ b/document_page_environmental_aspect/__openerp__.py @@ -30,7 +30,7 @@ "depends": ['document_page_approval', 'mgmtsystem'], "data": ['document_page_environmental_aspect.xml'], "demo": [], - "installable": True, + 'installable': True, "certificate": '' } # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: From 30c4a1127fb7f6e5db384b135a4702214a6df145 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Faure-Lacroix?= Date: Wed, 1 Apr 2015 16:12:58 +0300 Subject: [PATCH 18/51] Cleanup module and added licenses --- document_page_environmental_aspect/__init__.py | 11 +++++------ document_page_environmental_aspect/__openerp__.py | 14 +++++++++----- .../static/{src/img => description}/icon.png | Bin 3 files changed, 14 insertions(+), 11 deletions(-) rename document_page_environmental_aspect/static/{src/img => description}/icon.png (100%) diff --git a/document_page_environmental_aspect/__init__.py b/document_page_environmental_aspect/__init__.py index 04c325fa2de..32e23dc9695 100644 --- a/document_page_environmental_aspect/__init__.py +++ b/document_page_environmental_aspect/__init__.py @@ -1,21 +1,20 @@ # -*- encoding: utf-8 -*- ############################################################################## -# +# # OpenERP, Open Source Management Solution # Copyright (C) 2010 Savoir-faire Linux (). # # This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as +# it under the terms of the GNU Affero 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. +# GNU Affero 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 . +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . # ############################################################################## -# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/document_page_environmental_aspect/__openerp__.py b/document_page_environmental_aspect/__openerp__.py index 16c5205db56..f816817e516 100644 --- a/document_page_environmental_aspect/__openerp__.py +++ b/document_page_environmental_aspect/__openerp__.py @@ -25,12 +25,16 @@ "website": "http://www.savoirfairelinux.com", "license": "AGPL-3", "category": "Generic Modules/Others", - "description": """Environmental Aspects Template, useful for Environment Management System + "description": """Environmental Aspects Template +Useful for Environment Management System """, - "depends": ['document_page_approval', 'mgmtsystem'], - "data": ['document_page_environmental_aspect.xml'], + "depends": [ + 'document_page_approval', + 'mgmtsystem' + ], + "data": [ + 'document_page_environmental_aspect.xml' + ], "demo": [], 'installable': True, - "certificate": '' } -# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/document_page_environmental_aspect/static/src/img/icon.png b/document_page_environmental_aspect/static/description/icon.png similarity index 100% rename from document_page_environmental_aspect/static/src/img/icon.png rename to document_page_environmental_aspect/static/description/icon.png From a7ce9ee385b29a35780f306344f0644de93932e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Faure-Lacroix?= Date: Tue, 7 Apr 2015 14:19:54 +0300 Subject: [PATCH 19/51] Split xml file --- .../__openerp__.py | 6 +- .../data/document_page.xml | 36 ++++++++++++ .../document_page_environmental_aspect.xml | 57 ------------------- .../views/document_page.xml | 25 ++++++++ 4 files changed, 65 insertions(+), 59 deletions(-) create mode 100644 document_page_environmental_aspect/data/document_page.xml delete mode 100644 document_page_environmental_aspect/document_page_environmental_aspect.xml create mode 100644 document_page_environmental_aspect/views/document_page.xml diff --git a/document_page_environmental_aspect/__openerp__.py b/document_page_environmental_aspect/__openerp__.py index f816817e516..caff368f35a 100644 --- a/document_page_environmental_aspect/__openerp__.py +++ b/document_page_environmental_aspect/__openerp__.py @@ -30,10 +30,12 @@ """, "depends": [ 'document_page_approval', - 'mgmtsystem' + 'mgmtsystem', ], "data": [ - 'document_page_environmental_aspect.xml' + 'data/document_page.xml', + + 'views/document_page.xml', ], "demo": [], 'installable': True, diff --git a/document_page_environmental_aspect/data/document_page.xml b/document_page_environmental_aspect/data/document_page.xml new file mode 100644 index 00000000000..76d04e303e3 --- /dev/null +++ b/document_page_environmental_aspect/data/document_page.xml @@ -0,0 +1,36 @@ + + + + + + Environmental Aspect + category + + + + Environmental Aspect + content + + + Activity + +

Environmental Aspect

+ +

Environmental Impact

+ +

Laws and Regulations

+ +

Operational Control

+ +

Responsibilities

+ +

Objectives

+ +

Programs

+ ]]> +
+
+ +
+
diff --git a/document_page_environmental_aspect/document_page_environmental_aspect.xml b/document_page_environmental_aspect/document_page_environmental_aspect.xml deleted file mode 100644 index 65f1f601acd..00000000000 --- a/document_page_environmental_aspect/document_page_environmental_aspect.xml +++ /dev/null @@ -1,57 +0,0 @@ - - - - - - Environmental Aspects - document.page - form - tree,form - - - Environmental aspects of your management system. - - - - - - Environmental Aspect - category - - - - Environmental Aspect - content - - -Activity - -

Environmental Aspect

- -

Environmental Impact

- -

Laws and Regulations

- -

Operational Control

- -

Responsibilities

- -

Objectives

- -

Programs

-]]> -
-
- - - - - -
-
diff --git a/document_page_environmental_aspect/views/document_page.xml b/document_page_environmental_aspect/views/document_page.xml new file mode 100644 index 00000000000..5b9cbb2bed1 --- /dev/null +++ b/document_page_environmental_aspect/views/document_page.xml @@ -0,0 +1,25 @@ + + + + + + Environmental Aspects + document.page + form + tree,form + + + Environmental aspects of your management system. + + + + + + + From 7166092471030d0a5cdfa7d9409c763a6e98264e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Faure-Lacroix?= Date: Wed, 8 Apr 2015 19:21:49 +0300 Subject: [PATCH 20/51] Minor fixes noupdate and removed explicit views_id --- document_page_environmental_aspect/data/document_page.xml | 2 +- document_page_environmental_aspect/views/document_page.xml | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/document_page_environmental_aspect/data/document_page.xml b/document_page_environmental_aspect/data/document_page.xml index 76d04e303e3..b65e160c762 100644 --- a/document_page_environmental_aspect/data/document_page.xml +++ b/document_page_environmental_aspect/data/document_page.xml @@ -1,6 +1,6 @@ - + Environmental Aspect diff --git a/document_page_environmental_aspect/views/document_page.xml b/document_page_environmental_aspect/views/document_page.xml index 5b9cbb2bed1..7e84874f8d4 100644 --- a/document_page_environmental_aspect/views/document_page.xml +++ b/document_page_environmental_aspect/views/document_page.xml @@ -7,8 +7,6 @@ document.page form tree,form - - Environmental aspects of your management system. From ca14c920378f8b9bc7e301d675ce60e5be0af3b2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matja=C5=BE=20Mozeti=C4=8D?= Date: Mon, 4 May 2015 17:51:05 +0200 Subject: [PATCH 21/51] Slovene translations added --- document_page_environmental_aspect/i18n/sl.po | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 document_page_environmental_aspect/i18n/sl.po diff --git a/document_page_environmental_aspect/i18n/sl.po b/document_page_environmental_aspect/i18n/sl.po new file mode 100644 index 00000000000..45e123a615a --- /dev/null +++ b/document_page_environmental_aspect/i18n/sl.po @@ -0,0 +1,35 @@ +# Translation of OpenERP Server. +# This file contains the translation of the following modules: +# * document_page_environmental_aspect +# +# Matjaž Mozetič , 2015. +msgid "" +msgstr "" +"Project-Id-Version: OpenERP Server 6.1-dev\n" +"Report-Msgid-Bugs-To: support@openerp.com\n" +"POT-Creation-Date: 2011-02-22 20:40+0000\n" +"PO-Revision-Date: 2015-05-04 17:16+0100\n" +"Last-Translator: Matjaž Mozetič \n" +"Language-Team: Slovenian \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: \n" +"Language: sl\n" +"X-Generator: Lokalize 2.0\n" + +#. module: document_page_environmental_aspect +#: model:ir.module.module,description:document_page_environmental_aspect.module_meta_information +msgid "" +"Environmental Aspects Template, useful for Environment Management System\n" +" " +msgstr "" +"Predloga okoljskih vidikov, koristno za Sistem okoljskega upravljanja\n" +" " + +#. module: document_page_environmental_aspect +#: model:ir.module.module,shortdesc:document_page_environmental_aspect.module_meta_information +msgid "Document Management - Wiki - Environmental Aspects" +msgstr "Upravljanje dokumentov - Wiki - Okoljski vidiki" + + From 56d96b29d30372403bde553f10aa3e95f804a1cb Mon Sep 17 00:00:00 2001 From: Matjaz Mozetic Date: Fri, 8 May 2015 08:02:58 +0200 Subject: [PATCH 22/51] Translation templates and slovene translations update --- .../document_page_environmental_aspect.pot | 25 +++++++++-------- document_page_environmental_aspect/i18n/sl.po | 27 +++++++++---------- 2 files changed, 24 insertions(+), 28 deletions(-) diff --git a/document_page_environmental_aspect/i18n/document_page_environmental_aspect.pot b/document_page_environmental_aspect/i18n/document_page_environmental_aspect.pot index ab10f5e09c0..15c00e13175 100644 --- a/document_page_environmental_aspect/i18n/document_page_environmental_aspect.pot +++ b/document_page_environmental_aspect/i18n/document_page_environmental_aspect.pot @@ -1,13 +1,13 @@ -# Translation of OpenERP Server. +# Translation of Odoo Server. # This file contains the translation of the following modules: # * document_page_environmental_aspect # msgid "" msgstr "" -"Project-Id-Version: OpenERP Server 6.1-dev\n" -"Report-Msgid-Bugs-To: support@openerp.com\n" -"POT-Creation-Date: 2011-02-22 20:40+0000\n" -"PO-Revision-Date: 2011-02-22 20:40+0000\n" +"Project-Id-Version: Odoo Server 8.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2015-05-08 05:57+0000\n" +"PO-Revision-Date: 2015-05-08 05:57+0000\n" "Last-Translator: <>\n" "Language-Team: \n" "MIME-Version: 1.0\n" @@ -16,14 +16,13 @@ msgstr "" "Plural-Forms: \n" #. module: document_page_environmental_aspect -#: model:ir.module.module,description:document_page_environmental_aspect.module_meta_information -msgid "Environmental Aspects Template, useful for Environment Management System\n" -" " -msgstr "Environmental Aspects Template, useful for Environment Management System\n" -" " +#: model:ir.actions.act_window,name:document_page_environmental_aspect.action_environmental_aspects +#: model:ir.ui.menu,name:document_page_environmental_aspect.menu_mgmtsystem_manuals_environmental_aspects +msgid "Environmental Aspects" +msgstr "" #. module: document_page_environmental_aspect -#: model:ir.module.module,shortdesc:document_page_environmental_aspect.module_meta_information -msgid "Document Management - Wiki - Environmental Aspects" -msgstr "Document Management - Wiki - Environmental Aspects" +#: model:ir.actions.act_window,help:document_page_environmental_aspect.action_environmental_aspects +msgid "Environmental aspects of your management system." +msgstr "" diff --git a/document_page_environmental_aspect/i18n/sl.po b/document_page_environmental_aspect/i18n/sl.po index 45e123a615a..d93bf5087bc 100644 --- a/document_page_environmental_aspect/i18n/sl.po +++ b/document_page_environmental_aspect/i18n/sl.po @@ -1,14 +1,14 @@ -# Translation of OpenERP Server. +# Translation of Odoo Server. # This file contains the translation of the following modules: # * document_page_environmental_aspect # # Matjaž Mozetič , 2015. msgid "" msgstr "" -"Project-Id-Version: OpenERP Server 6.1-dev\n" -"Report-Msgid-Bugs-To: support@openerp.com\n" -"POT-Creation-Date: 2011-02-22 20:40+0000\n" -"PO-Revision-Date: 2015-05-04 17:16+0100\n" +"Project-Id-Version: Odoo Server 8.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2015-05-08 05:57+0000\n" +"PO-Revision-Date: 2015-05-08 07:58+0100\n" "Last-Translator: Matjaž Mozetič \n" "Language-Team: Slovenian \n" "MIME-Version: 1.0\n" @@ -19,17 +19,14 @@ msgstr "" "X-Generator: Lokalize 2.0\n" #. module: document_page_environmental_aspect -#: model:ir.module.module,description:document_page_environmental_aspect.module_meta_information -msgid "" -"Environmental Aspects Template, useful for Environment Management System\n" -" " -msgstr "" -"Predloga okoljskih vidikov, koristno za Sistem okoljskega upravljanja\n" -" " +#: model:ir.actions.act_window,name:document_page_environmental_aspect.action_environmental_aspects +#: model:ir.ui.menu,name:document_page_environmental_aspect.menu_mgmtsystem_manuals_environmental_aspects +msgid "Environmental Aspects" +msgstr "Okoljski vidiki" #. module: document_page_environmental_aspect -#: model:ir.module.module,shortdesc:document_page_environmental_aspect.module_meta_information -msgid "Document Management - Wiki - Environmental Aspects" -msgstr "Upravljanje dokumentov - Wiki - Okoljski vidiki" +#: model:ir.actions.act_window,help:document_page_environmental_aspect.action_environmental_aspects +msgid "Environmental aspects of your management system." +msgstr "Okoljski vidiki sistema upravljanja" From 4f94763da38a7ed94e4cbd657461a2d1510841c0 Mon Sep 17 00:00:00 2001 From: OCA Transbot Date: Mon, 31 Aug 2015 21:43:37 -0400 Subject: [PATCH 23/51] OCA Transbot updated translations from Transifex --- document_page_environmental_aspect/i18n/en.po | 29 +++++++++++ document_page_environmental_aspect/i18n/fr.po | 49 +++++++++---------- .../i18n/pt_BR.po | 47 +++++++++--------- 3 files changed, 75 insertions(+), 50 deletions(-) create mode 100644 document_page_environmental_aspect/i18n/en.po diff --git a/document_page_environmental_aspect/i18n/en.po b/document_page_environmental_aspect/i18n/en.po new file mode 100644 index 00000000000..1c4215c8ea6 --- /dev/null +++ b/document_page_environmental_aspect/i18n/en.po @@ -0,0 +1,29 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * document_page_environmental_aspect +# +# Translators: +msgid "" +msgstr "" +"Project-Id-Version: management-system (8.0)\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2015-08-07 14:27+0000\n" +"PO-Revision-Date: 2015-05-22 13:07+0000\n" +"Last-Translator: Maxime Chambreuil \n" +"Language-Team: English (http://www.transifex.com/oca/OCA-management-system-8-0/language/en/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: en\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: document_page_environmental_aspect +#: model:ir.actions.act_window,name:document_page_environmental_aspect.action_environmental_aspects +#: model:ir.ui.menu,name:document_page_environmental_aspect.menu_mgmtsystem_manuals_environmental_aspects +msgid "Environmental Aspects" +msgstr "Environmental Aspects" + +#. module: document_page_environmental_aspect +#: model:ir.actions.act_window,help:document_page_environmental_aspect.action_environmental_aspects +msgid "Environmental aspects of your management system." +msgstr "Environmental aspects of your management system." diff --git a/document_page_environmental_aspect/i18n/fr.po b/document_page_environmental_aspect/i18n/fr.po index 8586a9c76bf..a31ade74ade 100644 --- a/document_page_environmental_aspect/i18n/fr.po +++ b/document_page_environmental_aspect/i18n/fr.po @@ -1,34 +1,31 @@ -# French translation for openerp-mgmtsystem -# Copyright (c) 2012 Rosetta Contributors and Canonical Ltd 2012 -# This file is distributed under the same license as the openerp-mgmtsystem package. -# FIRST AUTHOR , 2012. -# +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * document_page_environmental_aspect +# +# Translators: +# FIRST AUTHOR , 2012 +# Maxime Chambreuil , 2015 msgid "" msgstr "" -"Project-Id-Version: openerp-mgmtsystem\n" -"Report-Msgid-Bugs-To: FULL NAME \n" -"POT-Creation-Date: 2011-02-22 20:40+0000\n" -"PO-Revision-Date: 2012-09-09 04:50+0000\n" -"Last-Translator: Maxime Chambreuil (http://www.savoirfairelinux.com) " -"\n" -"Language-Team: French \n" +"Project-Id-Version: management-system (8.0)\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2015-08-07 14:27+0000\n" +"PO-Revision-Date: 2015-05-26 18:45+0000\n" +"Last-Translator: Maxime Chambreuil \n" +"Language-Team: French (http://www.transifex.com/oca/OCA-management-system-8-0/language/fr/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2014-04-24 06:29+0000\n" -"X-Generator: Launchpad (build 16985)\n" +"Content-Transfer-Encoding: \n" +"Language: fr\n" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" #. module: document_page_environmental_aspect -#: model:ir.module.module,description:document_page_environmental_aspect.module_meta_information -msgid "" -"Environmental Aspects Template, useful for Environment Management System\n" -" " -msgstr "" -"Modèle d'aspects environnementaux, utile pour le système de gestion " -"environnementale\n" -" " +#: model:ir.actions.act_window,name:document_page_environmental_aspect.action_environmental_aspects +#: model:ir.ui.menu,name:document_page_environmental_aspect.menu_mgmtsystem_manuals_environmental_aspects +msgid "Environmental Aspects" +msgstr "Aspects environnementaux" #. module: document_page_environmental_aspect -#: model:ir.module.module,shortdesc:document_page_environmental_aspect.module_meta_information -msgid "Document Management - Wiki - Environmental Aspects" -msgstr "Gestion des documents - Wiki - Aspects environnementaux" +#: model:ir.actions.act_window,help:document_page_environmental_aspect.action_environmental_aspects +msgid "Environmental aspects of your management system." +msgstr "Aspects environnementaux de votre système de gestion." diff --git a/document_page_environmental_aspect/i18n/pt_BR.po b/document_page_environmental_aspect/i18n/pt_BR.po index 622ef46a8cc..dc96cc51ed2 100644 --- a/document_page_environmental_aspect/i18n/pt_BR.po +++ b/document_page_environmental_aspect/i18n/pt_BR.po @@ -1,32 +1,31 @@ -# Brazilian Portuguese translation for openerp-mgmtsystem -# Copyright (c) 2013 Rosetta Contributors and Canonical Ltd 2013 -# This file is distributed under the same license as the openerp-mgmtsystem package. -# FIRST AUTHOR , 2013. -# +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * document_page_environmental_aspect +# +# Translators: +# danimaribeiro , 2015 +# FIRST AUTHOR , 2013 msgid "" msgstr "" -"Project-Id-Version: openerp-mgmtsystem\n" -"Report-Msgid-Bugs-To: FULL NAME \n" -"POT-Creation-Date: 2011-02-22 20:40+0000\n" -"PO-Revision-Date: 2013-08-07 05:39+0000\n" -"Last-Translator: Admilson Afonso \n" -"Language-Team: Brazilian Portuguese \n" +"Project-Id-Version: management-system (8.0)\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2015-08-07 14:27+0000\n" +"PO-Revision-Date: 2015-07-20 19:10+0000\n" +"Last-Translator: danimaribeiro \n" +"Language-Team: Portuguese (Brazil) (http://www.transifex.com/oca/OCA-management-system-8-0/language/pt_BR/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2014-04-24 06:29+0000\n" -"X-Generator: Launchpad (build 16985)\n" +"Content-Transfer-Encoding: \n" +"Language: pt_BR\n" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" #. module: document_page_environmental_aspect -#: model:ir.module.module,description:document_page_environmental_aspect.module_meta_information -msgid "" -"Environmental Aspects Template, useful for Environment Management System\n" -" " -msgstr "" -"Modelo Manual de Meio Ambiente, útil para o Sistema de Gestão Ambiental\n" -" " +#: model:ir.actions.act_window,name:document_page_environmental_aspect.action_environmental_aspects +#: model:ir.ui.menu,name:document_page_environmental_aspect.menu_mgmtsystem_manuals_environmental_aspects +msgid "Environmental Aspects" +msgstr "Aspectos do ambiente" #. module: document_page_environmental_aspect -#: model:ir.module.module,shortdesc:document_page_environmental_aspect.module_meta_information -msgid "Document Management - Wiki - Environmental Aspects" -msgstr "Gestão de Documentos - Wiki - Ambientais" +#: model:ir.actions.act_window,help:document_page_environmental_aspect.action_environmental_aspects +msgid "Environmental aspects of your management system." +msgstr "Aspectos do ambiente de seu sistema de gestão" From ec23d1ca76dea99b8209668cd37151261edfbc84 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Bidoul?= Date: Fri, 9 Oct 2015 10:01:45 +0200 Subject: [PATCH 24/51] [UPD] prefix versions with 8.0 --- document_page_environmental_aspect/__openerp__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/document_page_environmental_aspect/__openerp__.py b/document_page_environmental_aspect/__openerp__.py index caff368f35a..aee18338943 100644 --- a/document_page_environmental_aspect/__openerp__.py +++ b/document_page_environmental_aspect/__openerp__.py @@ -20,7 +20,7 @@ ############################################################################## { "name": "Document Management - Wiki - Environmental Aspects", - "version": "1.0", + "version": "8.0.1.0.0", "author": "Savoir-faire Linux,Odoo Community Association (OCA)", "website": "http://www.savoirfairelinux.com", "license": "AGPL-3", From c43f97baeef9916bae825911251c84f68b5deed9 Mon Sep 17 00:00:00 2001 From: "Pedro M. Baeza" Date: Wed, 14 Oct 2015 03:22:39 +0200 Subject: [PATCH 25/51] [MIG] Make modules uninstallable --- document_page_environmental_aspect/__openerp__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/document_page_environmental_aspect/__openerp__.py b/document_page_environmental_aspect/__openerp__.py index aee18338943..1fb9cccdf24 100644 --- a/document_page_environmental_aspect/__openerp__.py +++ b/document_page_environmental_aspect/__openerp__.py @@ -38,5 +38,5 @@ 'views/document_page.xml', ], "demo": [], - 'installable': True, + 'installable': False, } From ff9d968417d35fa3c9ace0b730785cee9a8f185b Mon Sep 17 00:00:00 2001 From: Gervais Naoussi Date: Fri, 30 Oct 2015 13:36:41 -0400 Subject: [PATCH 26/51] Migration of document_page_environmental_aspect to Odoo 9.0 --- document_page_environmental_aspect/README.rst | 67 +++++++++++++++++++ .../__init__.py | 2 +- .../__openerp__.py | 14 ++-- ...=> document_page_environmental_aspect.xml} | 8 +-- ...=> document_page_environmental_aspect.xml} | 6 +- 5 files changed, 77 insertions(+), 20 deletions(-) create mode 100644 document_page_environmental_aspect/README.rst rename document_page_environmental_aspect/data/{document_page.xml => document_page_environmental_aspect.xml} (93%) rename document_page_environmental_aspect/views/{document_page.xml => document_page_environmental_aspect.xml} (95%) diff --git a/document_page_environmental_aspect/README.rst b/document_page_environmental_aspect/README.rst new file mode 100644 index 00000000000..eca3de8737c --- /dev/null +++ b/document_page_environmental_aspect/README.rst @@ -0,0 +1,67 @@ +.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg + :alt: License + +Document Management - Wiki - Environmental Aspects +================================================== + +This module extends the functionality of Environment Management System and add a document template + +Installation +============ + +* No installation required. + +Configuration +============= + +* No configuration required. + +Usage +===== + +To enter your quality manual, you need to: + + * go to Knowledge / Document Pages, click on Environmental Aspects and edit it to enter your content. + + +Known issues / Roadmap +====================== + +* Report any issue or ideas to https://github.com/OCA/management-system/issues + + +Bug Tracker +=========== + +Bugs are tracked on `GitHub 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 +`here `_. + + +Credits +======= + +Contributors +------------ +* Savoir-faire Linux +* Gervais Naoussi + +Maintainer +---------- + +.. image:: http://odoo-community.org/logo.png + :alt: Odoo Community Association + :target: http://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 http://odoo-community.org. + +Changelog +--------- + +v9.0.1.0.0 +* Module updated to comply with OCA guidelines diff --git a/document_page_environmental_aspect/__init__.py b/document_page_environmental_aspect/__init__.py index 32e23dc9695..a04eb8a8b44 100644 --- a/document_page_environmental_aspect/__init__.py +++ b/document_page_environmental_aspect/__init__.py @@ -1,4 +1,4 @@ -# -*- encoding: utf-8 -*- +# -*- coding: utf-8 -*- ############################################################################## # # OpenERP, Open Source Management Solution diff --git a/document_page_environmental_aspect/__openerp__.py b/document_page_environmental_aspect/__openerp__.py index 1fb9cccdf24..7b6be94909a 100644 --- a/document_page_environmental_aspect/__openerp__.py +++ b/document_page_environmental_aspect/__openerp__.py @@ -1,4 +1,4 @@ -# -*- encoding: utf-8 -*- +# -*- coding: utf-8 -*- ############################################################################## # # OpenERP, Open Source Management Solution @@ -20,23 +20,19 @@ ############################################################################## { "name": "Document Management - Wiki - Environmental Aspects", - "version": "8.0.1.0.0", + "version": "9.0.1.0.0", "author": "Savoir-faire Linux,Odoo Community Association (OCA)", "website": "http://www.savoirfairelinux.com", "license": "AGPL-3", "category": "Generic Modules/Others", - "description": """Environmental Aspects Template -Useful for Environment Management System - """, "depends": [ 'document_page_approval', 'mgmtsystem', ], "data": [ - 'data/document_page.xml', - - 'views/document_page.xml', + 'data/document_page_environmental_aspect.xml', + 'views/document_page_environmental_aspect.xml', ], "demo": [], - 'installable': False, + 'installable': True, } diff --git a/document_page_environmental_aspect/data/document_page.xml b/document_page_environmental_aspect/data/document_page_environmental_aspect.xml similarity index 93% rename from document_page_environmental_aspect/data/document_page.xml rename to document_page_environmental_aspect/data/document_page_environmental_aspect.xml index b65e160c762..7cb81b10f1b 100644 --- a/document_page_environmental_aspect/data/document_page.xml +++ b/document_page_environmental_aspect/data/document_page_environmental_aspect.xml @@ -1,7 +1,5 @@ - - - + Environmental Aspect category @@ -31,6 +29,4 @@ ]]>
- - - + diff --git a/document_page_environmental_aspect/views/document_page.xml b/document_page_environmental_aspect/views/document_page_environmental_aspect.xml similarity index 95% rename from document_page_environmental_aspect/views/document_page.xml rename to document_page_environmental_aspect/views/document_page_environmental_aspect.xml index 7e84874f8d4..16c2e819309 100644 --- a/document_page_environmental_aspect/views/document_page.xml +++ b/document_page_environmental_aspect/views/document_page_environmental_aspect.xml @@ -1,6 +1,5 @@ - - + Environmental Aspects @@ -19,5 +18,4 @@ sequence="20" groups="base.group_user"/> - - + From ffee523bafaac89629cc737d6db4be06b261995a Mon Sep 17 00:00:00 2001 From: Maxime Chambreuil Date: Mon, 15 Feb 2016 14:17:51 -0500 Subject: [PATCH 27/51] [REN] Renaming files and improving documentation --- document_page_environmental_aspect/README.rst | 37 ++++++++++--------- .../__openerp__.py | 9 ++--- ...ronmental_aspect.xml => document_page.xml} | 6 --- ...ronmental_aspect.xml => document_page.xml} | 0 4 files changed, 24 insertions(+), 28 deletions(-) rename document_page_environmental_aspect/data/{document_page_environmental_aspect.xml => document_page.xml} (66%) rename document_page_environmental_aspect/views/{document_page_environmental_aspect.xml => document_page.xml} (100%) diff --git a/document_page_environmental_aspect/README.rst b/document_page_environmental_aspect/README.rst index eca3de8737c..e0ea5ce78cd 100644 --- a/document_page_environmental_aspect/README.rst +++ b/document_page_environmental_aspect/README.rst @@ -1,10 +1,12 @@ .. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg + :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html :alt: License -Document Management - Wiki - Environmental Aspects -================================================== +===================== +Environmental Aspects +===================== -This module extends the functionality of Environment Management System and add a document template +This module extends the functionality of the Environment Management System and adds a template for environmental aspects. Installation ============ @@ -14,22 +16,29 @@ Installation Configuration ============= -* No configuration required. +To configure this module, you need to: + +* go to Management Systems > Configuration > Categories +* select the Environmental Aspect category and customize it Usage ===== -To enter your quality manual, you need to: +To create environmental aspects, you need to: - * go to Knowledge / Document Pages, click on Environmental Aspects and edit it to enter your content. +* go to Management Systems > Documentation > Environmental Aspects +* click on Create and select the Environmental Aspect category +* enter your content +.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas + :alt: Try me on Runbot + :target: https://runbot.odoo-community.org/runbot/118/9.0 Known issues / Roadmap ====================== * Report any issue or ideas to https://github.com/OCA/management-system/issues - Bug Tracker =========== @@ -38,30 +47,24 @@ 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 `here `_. - Credits ======= Contributors ------------ + * Savoir-faire Linux * Gervais Naoussi Maintainer ---------- -.. image:: http://odoo-community.org/logo.png +.. image:: https://odoo-community.org/logo.png :alt: Odoo Community Association - :target: http://odoo-community.org + :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 http://odoo-community.org. - -Changelog ---------- - -v9.0.1.0.0 -* Module updated to comply with OCA guidelines +To contribute to this module, please visit https://odoo-community.org. diff --git a/document_page_environmental_aspect/__openerp__.py b/document_page_environmental_aspect/__openerp__.py index 7b6be94909a..ab141c70e5d 100644 --- a/document_page_environmental_aspect/__openerp__.py +++ b/document_page_environmental_aspect/__openerp__.py @@ -19,9 +19,9 @@ # ############################################################################## { - "name": "Document Management - Wiki - Environmental Aspects", + "name": "Environmental Aspects", "version": "9.0.1.0.0", - "author": "Savoir-faire Linux,Odoo Community Association (OCA)", + "author": "Savoir-faire Linux, Odoo Community Association (OCA)", "website": "http://www.savoirfairelinux.com", "license": "AGPL-3", "category": "Generic Modules/Others", @@ -30,9 +30,8 @@ 'mgmtsystem', ], "data": [ - 'data/document_page_environmental_aspect.xml', - 'views/document_page_environmental_aspect.xml', + 'data/document_page.xml', + 'views/document_page.xml', ], - "demo": [], 'installable': True, } diff --git a/document_page_environmental_aspect/data/document_page_environmental_aspect.xml b/document_page_environmental_aspect/data/document_page.xml similarity index 66% rename from document_page_environmental_aspect/data/document_page_environmental_aspect.xml rename to document_page_environmental_aspect/data/document_page.xml index 7cb81b10f1b..de41041862e 100644 --- a/document_page_environmental_aspect/data/document_page_environmental_aspect.xml +++ b/document_page_environmental_aspect/data/document_page.xml @@ -3,12 +3,6 @@ Environmental Aspect category - - - - Environmental Aspect - content - Activity diff --git a/document_page_environmental_aspect/views/document_page_environmental_aspect.xml b/document_page_environmental_aspect/views/document_page.xml similarity index 100% rename from document_page_environmental_aspect/views/document_page_environmental_aspect.xml rename to document_page_environmental_aspect/views/document_page.xml From 7f9d8dbd2f133e83e02c63a6884bf02dc4a590fe Mon Sep 17 00:00:00 2001 From: OCA Transbot Date: Sat, 12 Mar 2016 17:18:18 -0500 Subject: [PATCH 28/51] OCA Transbot updated translations from Transifex --- document_page_environmental_aspect/i18n/de.po | 46 +++++++++---------- 1 file changed, 22 insertions(+), 24 deletions(-) diff --git a/document_page_environmental_aspect/i18n/de.po b/document_page_environmental_aspect/i18n/de.po index 2fa0da24a60..bf555b7ee69 100644 --- a/document_page_environmental_aspect/i18n/de.po +++ b/document_page_environmental_aspect/i18n/de.po @@ -1,33 +1,31 @@ -# German translation for openerp-mgmtsystem -# Copyright (c) 2012 Rosetta Contributors and Canonical Ltd 2012 -# This file is distributed under the same license as the openerp-mgmtsystem package. -# FIRST AUTHOR , 2012. -# +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * document_page_environmental_aspect +# +# Translators: +# FIRST AUTHOR , 2012 +# Rudolf Schnapka , 2016 msgid "" msgstr "" -"Project-Id-Version: openerp-mgmtsystem\n" -"Report-Msgid-Bugs-To: FULL NAME \n" -"POT-Creation-Date: 2011-02-22 20:40+0000\n" -"PO-Revision-Date: 2012-09-17 11:39+0000\n" +"Project-Id-Version: management-system (9.0)\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-03-07 01:44+0000\n" +"PO-Revision-Date: 2016-03-11 15:53+0000\n" "Last-Translator: Rudolf Schnapka \n" -"Language-Team: German \n" +"Language-Team: German (http://www.transifex.com/oca/OCA-management-system-9-0/language/de/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2014-04-24 06:29+0000\n" -"X-Generator: Launchpad (build 16985)\n" +"Content-Transfer-Encoding: \n" +"Language: de\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: document_page_environmental_aspect -#: model:ir.module.module,description:document_page_environmental_aspect.module_meta_information -msgid "" -"Environmental Aspects Template, useful for Environment Management System\n" -" " -msgstr "" -"Vorlagen für Umwelt-Aspekte, diese sind für ein Umwelt-Management-System " -"(UMS) sinnvoll\n" -" " +#: model:ir.actions.act_window,name:document_page_environmental_aspect.action_environmental_aspects +#: model:ir.ui.menu,name:document_page_environmental_aspect.menu_mgmtsystem_manuals_environmental_aspects +msgid "Environmental Aspects" +msgstr "Umweltaspekte" #. module: document_page_environmental_aspect -#: model:ir.module.module,shortdesc:document_page_environmental_aspect.module_meta_information -msgid "Document Management - Wiki - Environmental Aspects" -msgstr "Dokumentenmanagement-Wiki - Umweltaspekte" +#: model:ir.actions.act_window,help:document_page_environmental_aspect.action_environmental_aspects +msgid "Environmental aspects of your management system." +msgstr "Umweltaspekte Ihres Management-Systems." From de5aff3b762dff795cb377206c0601477f515304 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Bidoul=20=28ACSONE=29?= Date: Mon, 15 Aug 2016 22:13:46 +0200 Subject: [PATCH 29/51] [FIX] remove en.po that was erroneously created by transbot --- document_page_environmental_aspect/i18n/en.po | 29 ------------------- 1 file changed, 29 deletions(-) delete mode 100644 document_page_environmental_aspect/i18n/en.po diff --git a/document_page_environmental_aspect/i18n/en.po b/document_page_environmental_aspect/i18n/en.po deleted file mode 100644 index 1c4215c8ea6..00000000000 --- a/document_page_environmental_aspect/i18n/en.po +++ /dev/null @@ -1,29 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * document_page_environmental_aspect -# -# Translators: -msgid "" -msgstr "" -"Project-Id-Version: management-system (8.0)\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2015-08-07 14:27+0000\n" -"PO-Revision-Date: 2015-05-22 13:07+0000\n" -"Last-Translator: Maxime Chambreuil \n" -"Language-Team: English (http://www.transifex.com/oca/OCA-management-system-8-0/language/en/)\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: \n" -"Language: en\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" - -#. module: document_page_environmental_aspect -#: model:ir.actions.act_window,name:document_page_environmental_aspect.action_environmental_aspects -#: model:ir.ui.menu,name:document_page_environmental_aspect.menu_mgmtsystem_manuals_environmental_aspects -msgid "Environmental Aspects" -msgstr "Environmental Aspects" - -#. module: document_page_environmental_aspect -#: model:ir.actions.act_window,help:document_page_environmental_aspect.action_environmental_aspects -msgid "Environmental aspects of your management system." -msgstr "Environmental aspects of your management system." From aabfe591de22015672ec2fd4d4dbbaa18fa8651e Mon Sep 17 00:00:00 2001 From: OCA Transbot Date: Sat, 17 Sep 2016 18:12:42 -0400 Subject: [PATCH 30/51] OCA Transbot updated translations from Transifex --- .../i18n/es_CL.po | 30 +++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 document_page_environmental_aspect/i18n/es_CL.po diff --git a/document_page_environmental_aspect/i18n/es_CL.po b/document_page_environmental_aspect/i18n/es_CL.po new file mode 100644 index 00000000000..e8cc6071c56 --- /dev/null +++ b/document_page_environmental_aspect/i18n/es_CL.po @@ -0,0 +1,30 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * document_page_environmental_aspect +# +# Translators: +# GABRIELA STEGEN , 2016 +msgid "" +msgstr "" +"Project-Id-Version: management-system (9.0)\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-08-07 06:43+0000\n" +"PO-Revision-Date: 2016-09-14 21:32+0000\n" +"Last-Translator: GABRIELA STEGEN \n" +"Language-Team: Spanish (Chile) (http://www.transifex.com/oca/OCA-management-system-9-0/language/es_CL/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: es_CL\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: document_page_environmental_aspect +#: model:ir.actions.act_window,name:document_page_environmental_aspect.action_environmental_aspects +#: model:ir.ui.menu,name:document_page_environmental_aspect.menu_mgmtsystem_manuals_environmental_aspects +msgid "Environmental Aspects" +msgstr "Aspectos medio ambientales" + +#. module: document_page_environmental_aspect +#: model:ir.actions.act_window,help:document_page_environmental_aspect.action_environmental_aspects +msgid "Environmental aspects of your management system." +msgstr "Aspectos medio ambientales de tu sistema de administración" From cb2e40dce8366b09cb6f128015e166da548087db Mon Sep 17 00:00:00 2001 From: "Pedro M. Baeza" Date: Thu, 6 Oct 2016 14:57:26 +0200 Subject: [PATCH 31/51] [MIG] Make modules uninstallable --- document_page_environmental_aspect/__openerp__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/document_page_environmental_aspect/__openerp__.py b/document_page_environmental_aspect/__openerp__.py index ab141c70e5d..1810dc45c57 100644 --- a/document_page_environmental_aspect/__openerp__.py +++ b/document_page_environmental_aspect/__openerp__.py @@ -33,5 +33,5 @@ 'data/document_page.xml', 'views/document_page.xml', ], - 'installable': True, + 'installable': False, } From 7bd9064a078b9d736e18eb317ba8128c3f868f03 Mon Sep 17 00:00:00 2001 From: "Pedro M. Baeza" Date: Thu, 6 Oct 2016 14:57:32 +0200 Subject: [PATCH 32/51] [MIG] Rename manifest files --- .../{__openerp__.py => __manifest__.py} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename document_page_environmental_aspect/{__openerp__.py => __manifest__.py} (100%) diff --git a/document_page_environmental_aspect/__openerp__.py b/document_page_environmental_aspect/__manifest__.py similarity index 100% rename from document_page_environmental_aspect/__openerp__.py rename to document_page_environmental_aspect/__manifest__.py From 502bf9a5d0a2568c250515f79bf2a32a7dd7d9d1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Bidoul=20=28ACSONE=29?= Date: Fri, 15 Jun 2018 23:30:50 +0200 Subject: [PATCH 33/51] remove obsolete .pot files [ci skip] --- .../document_page_environmental_aspect.pot | 28 ------------------- 1 file changed, 28 deletions(-) delete mode 100644 document_page_environmental_aspect/i18n/document_page_environmental_aspect.pot diff --git a/document_page_environmental_aspect/i18n/document_page_environmental_aspect.pot b/document_page_environmental_aspect/i18n/document_page_environmental_aspect.pot deleted file mode 100644 index 15c00e13175..00000000000 --- a/document_page_environmental_aspect/i18n/document_page_environmental_aspect.pot +++ /dev/null @@ -1,28 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * document_page_environmental_aspect -# -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server 8.0\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2015-05-08 05:57+0000\n" -"PO-Revision-Date: 2015-05-08 05:57+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: document_page_environmental_aspect -#: model:ir.actions.act_window,name:document_page_environmental_aspect.action_environmental_aspects -#: model:ir.ui.menu,name:document_page_environmental_aspect.menu_mgmtsystem_manuals_environmental_aspects -msgid "Environmental Aspects" -msgstr "" - -#. module: document_page_environmental_aspect -#: model:ir.actions.act_window,help:document_page_environmental_aspect.action_environmental_aspects -msgid "Environmental aspects of your management system." -msgstr "" - From e72916f99ec91c606807400e2e055126208f158f Mon Sep 17 00:00:00 2001 From: ernesto Date: Tue, 19 Feb 2019 15:16:06 -0500 Subject: [PATCH 34/51] mgmtsystem: Access rights for document pages --- .../__manifest__.py | 5 ++-- .../environmental_aspect_security.xml | 26 +++++++++++++++++++ 2 files changed, 29 insertions(+), 2 deletions(-) create mode 100644 document_page_environmental_aspect/security/environmental_aspect_security.xml diff --git a/document_page_environmental_aspect/__manifest__.py b/document_page_environmental_aspect/__manifest__.py index 1810dc45c57..bc742930c31 100644 --- a/document_page_environmental_aspect/__manifest__.py +++ b/document_page_environmental_aspect/__manifest__.py @@ -20,7 +20,7 @@ ############################################################################## { "name": "Environmental Aspects", - "version": "9.0.1.0.0", + "version": "10.0.1.0.0", "author": "Savoir-faire Linux, Odoo Community Association (OCA)", "website": "http://www.savoirfairelinux.com", "license": "AGPL-3", @@ -32,6 +32,7 @@ "data": [ 'data/document_page.xml', 'views/document_page.xml', + 'security/environmental_aspect_security.xml', ], - 'installable': False, + 'installable': True, } diff --git a/document_page_environmental_aspect/security/environmental_aspect_security.xml b/document_page_environmental_aspect/security/environmental_aspect_security.xml new file mode 100644 index 00000000000..dd07296082b --- /dev/null +++ b/document_page_environmental_aspect/security/environmental_aspect_security.xml @@ -0,0 +1,26 @@ + + + + + Environmental document page for viewers + + + + + + + + + + + Environmental document page for viewers + + + + + + + + + From 0324b98316f6be07bb650048f8d13b51031c172b Mon Sep 17 00:00:00 2001 From: oca-travis Date: Tue, 1 Oct 2019 13:45:14 +0000 Subject: [PATCH 35/51] [UPD] Update document_page_environmental_aspect.pot --- document_page_environmental_aspect/i18n/de.po | 7 ++--- .../document_page_environmental_aspect.pot | 26 +++++++++++++++++++ .../i18n/es_CL.po | 7 ++--- document_page_environmental_aspect/i18n/fr.po | 7 ++--- document_page_environmental_aspect/i18n/nb.po | 22 +++++++++------- .../i18n/pt_BR.po | 7 ++--- document_page_environmental_aspect/i18n/sl.po | 6 ++--- document_page_environmental_aspect/i18n/sv.po | 22 +++++++++------- document_page_environmental_aspect/i18n/vi.po | 14 +++++----- 9 files changed, 77 insertions(+), 41 deletions(-) create mode 100644 document_page_environmental_aspect/i18n/document_page_environmental_aspect.pot diff --git a/document_page_environmental_aspect/i18n/de.po b/document_page_environmental_aspect/i18n/de.po index bf555b7ee69..96428d632ed 100644 --- a/document_page_environmental_aspect/i18n/de.po +++ b/document_page_environmental_aspect/i18n/de.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * document_page_environmental_aspect -# +# # Translators: # FIRST AUTHOR , 2012 # Rudolf Schnapka , 2016 @@ -12,11 +12,12 @@ msgstr "" "POT-Creation-Date: 2016-03-07 01:44+0000\n" "PO-Revision-Date: 2016-03-11 15:53+0000\n" "Last-Translator: Rudolf Schnapka \n" -"Language-Team: German (http://www.transifex.com/oca/OCA-management-system-9-0/language/de/)\n" +"Language-Team: German (http://www.transifex.com/oca/OCA-management-" +"system-9-0/language/de/)\n" +"Language: de\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: de\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: document_page_environmental_aspect diff --git a/document_page_environmental_aspect/i18n/document_page_environmental_aspect.pot b/document_page_environmental_aspect/i18n/document_page_environmental_aspect.pot new file mode 100644 index 00000000000..8f0fc2818a6 --- /dev/null +++ b/document_page_environmental_aspect/i18n/document_page_environmental_aspect.pot @@ -0,0 +1,26 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * document_page_environmental_aspect +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \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: document_page_environmental_aspect +#: model:ir.actions.act_window,name:document_page_environmental_aspect.action_environmental_aspects +#: model:ir.ui.menu,name:document_page_environmental_aspect.menu_mgmtsystem_manuals_environmental_aspects +msgid "Environmental Aspects" +msgstr "" + +#. module: document_page_environmental_aspect +#: model:ir.actions.act_window,help:document_page_environmental_aspect.action_environmental_aspects +msgid "Environmental aspects of your management system." +msgstr "" + diff --git a/document_page_environmental_aspect/i18n/es_CL.po b/document_page_environmental_aspect/i18n/es_CL.po index e8cc6071c56..947fabc8341 100644 --- a/document_page_environmental_aspect/i18n/es_CL.po +++ b/document_page_environmental_aspect/i18n/es_CL.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * document_page_environmental_aspect -# +# # Translators: # GABRIELA STEGEN , 2016 msgid "" @@ -11,11 +11,12 @@ msgstr "" "POT-Creation-Date: 2016-08-07 06:43+0000\n" "PO-Revision-Date: 2016-09-14 21:32+0000\n" "Last-Translator: GABRIELA STEGEN \n" -"Language-Team: Spanish (Chile) (http://www.transifex.com/oca/OCA-management-system-9-0/language/es_CL/)\n" +"Language-Team: Spanish (Chile) (http://www.transifex.com/oca/OCA-management-" +"system-9-0/language/es_CL/)\n" +"Language: es_CL\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: es_CL\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: document_page_environmental_aspect diff --git a/document_page_environmental_aspect/i18n/fr.po b/document_page_environmental_aspect/i18n/fr.po index a31ade74ade..397794eed64 100644 --- a/document_page_environmental_aspect/i18n/fr.po +++ b/document_page_environmental_aspect/i18n/fr.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * document_page_environmental_aspect -# +# # Translators: # FIRST AUTHOR , 2012 # Maxime Chambreuil , 2015 @@ -12,11 +12,12 @@ msgstr "" "POT-Creation-Date: 2015-08-07 14:27+0000\n" "PO-Revision-Date: 2015-05-26 18:45+0000\n" "Last-Translator: Maxime Chambreuil \n" -"Language-Team: French (http://www.transifex.com/oca/OCA-management-system-8-0/language/fr/)\n" +"Language-Team: French (http://www.transifex.com/oca/OCA-management-" +"system-8-0/language/fr/)\n" +"Language: fr\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: fr\n" "Plural-Forms: nplurals=2; plural=(n > 1);\n" #. module: document_page_environmental_aspect diff --git a/document_page_environmental_aspect/i18n/nb.po b/document_page_environmental_aspect/i18n/nb.po index d8c370e2d00..fb696d0dc7b 100644 --- a/document_page_environmental_aspect/i18n/nb.po +++ b/document_page_environmental_aspect/i18n/nb.po @@ -6,11 +6,12 @@ msgid "" msgstr "" "Project-Id-Version: openerp-mgmtsystem\n" -"Report-Msgid-Bugs-To: FULL NAME \n" +"Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2011-02-22 20:40+0000\n" "PO-Revision-Date: 2014-01-22 17:54+0000\n" "Last-Translator: Torvald Baade Bringsvor \n" "Language-Team: Norwegian Bokmal \n" +"Language: nb\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" @@ -18,15 +19,18 @@ msgstr "" "X-Generator: Launchpad (build 16985)\n" #. module: document_page_environmental_aspect -#: model:ir.module.module,description:document_page_environmental_aspect.module_meta_information -msgid "" -"Environmental Aspects Template, useful for Environment Management System\n" -" " +#: model:ir.actions.act_window,name:document_page_environmental_aspect.action_environmental_aspects +#: model:ir.ui.menu,name:document_page_environmental_aspect.menu_mgmtsystem_manuals_environmental_aspects +msgid "Environmental Aspects" +msgstr "" + +#. module: document_page_environmental_aspect +#: model:ir.actions.act_window,help:document_page_environmental_aspect.action_environmental_aspects +#, fuzzy +msgid "Environmental aspects of your management system." msgstr "" "Mal for miljøaspekter, brukbar for miljøstyringssystem\n" " " -#. module: document_page_environmental_aspect -#: model:ir.module.module,shortdesc:document_page_environmental_aspect.module_meta_information -msgid "Document Management - Wiki - Environmental Aspects" -msgstr "Dokumenthåndtering - Wiki - Miljøaspekter" +#~ msgid "Document Management - Wiki - Environmental Aspects" +#~ msgstr "Dokumenthåndtering - Wiki - Miljøaspekter" diff --git a/document_page_environmental_aspect/i18n/pt_BR.po b/document_page_environmental_aspect/i18n/pt_BR.po index dc96cc51ed2..7bc51b44f57 100644 --- a/document_page_environmental_aspect/i18n/pt_BR.po +++ b/document_page_environmental_aspect/i18n/pt_BR.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * document_page_environmental_aspect -# +# # Translators: # danimaribeiro , 2015 # FIRST AUTHOR , 2013 @@ -12,11 +12,12 @@ msgstr "" "POT-Creation-Date: 2015-08-07 14:27+0000\n" "PO-Revision-Date: 2015-07-20 19:10+0000\n" "Last-Translator: danimaribeiro \n" -"Language-Team: Portuguese (Brazil) (http://www.transifex.com/oca/OCA-management-system-8-0/language/pt_BR/)\n" +"Language-Team: Portuguese (Brazil) (http://www.transifex.com/oca/OCA-" +"management-system-8-0/language/pt_BR/)\n" +"Language: pt_BR\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: pt_BR\n" "Plural-Forms: nplurals=2; plural=(n > 1);\n" #. module: document_page_environmental_aspect diff --git a/document_page_environmental_aspect/i18n/sl.po b/document_page_environmental_aspect/i18n/sl.po index d93bf5087bc..02d2b7d86e6 100644 --- a/document_page_environmental_aspect/i18n/sl.po +++ b/document_page_environmental_aspect/i18n/sl.po @@ -1,6 +1,6 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: -# * document_page_environmental_aspect +# * document_page_environmental_aspect # # Matjaž Mozetič , 2015. msgid "" @@ -11,11 +11,11 @@ msgstr "" "PO-Revision-Date: 2015-05-08 07:58+0100\n" "Last-Translator: Matjaž Mozetič \n" "Language-Team: Slovenian \n" +"Language: sl\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" "Plural-Forms: \n" -"Language: sl\n" "X-Generator: Lokalize 2.0\n" #. module: document_page_environmental_aspect @@ -28,5 +28,3 @@ msgstr "Okoljski vidiki" #: model:ir.actions.act_window,help:document_page_environmental_aspect.action_environmental_aspects msgid "Environmental aspects of your management system." msgstr "Okoljski vidiki sistema upravljanja" - - diff --git a/document_page_environmental_aspect/i18n/sv.po b/document_page_environmental_aspect/i18n/sv.po index 85b8c34e8ee..b5d5e492ae1 100644 --- a/document_page_environmental_aspect/i18n/sv.po +++ b/document_page_environmental_aspect/i18n/sv.po @@ -6,11 +6,12 @@ msgid "" msgstr "" "Project-Id-Version: openerp-mgmtsystem\n" -"Report-Msgid-Bugs-To: FULL NAME \n" +"Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2011-02-22 20:40+0000\n" "PO-Revision-Date: 2012-12-03 16:06+0000\n" "Last-Translator: FULL NAME \n" "Language-Team: Swedish \n" +"Language: sv\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" @@ -18,15 +19,18 @@ msgstr "" "X-Generator: Launchpad (build 16985)\n" #. module: document_page_environmental_aspect -#: model:ir.module.module,description:document_page_environmental_aspect.module_meta_information -msgid "" -"Environmental Aspects Template, useful for Environment Management System\n" -" " +#: model:ir.actions.act_window,name:document_page_environmental_aspect.action_environmental_aspects +#: model:ir.ui.menu,name:document_page_environmental_aspect.menu_mgmtsystem_manuals_environmental_aspects +msgid "Environmental Aspects" +msgstr "" + +#. module: document_page_environmental_aspect +#: model:ir.actions.act_window,help:document_page_environmental_aspect.action_environmental_aspects +#, fuzzy +msgid "Environmental aspects of your management system." msgstr "" "Miljöaspekter Mall, användbar för miljöledningssystem\n" " " -#. module: document_page_environmental_aspect -#: model:ir.module.module,shortdesc:document_page_environmental_aspect.module_meta_information -msgid "Document Management - Wiki - Environmental Aspects" -msgstr "Dokumenthantering - Wiki - Miljöaspekter" +#~ msgid "Document Management - Wiki - Environmental Aspects" +#~ msgstr "Dokumenthantering - Wiki - Miljöaspekter" diff --git a/document_page_environmental_aspect/i18n/vi.po b/document_page_environmental_aspect/i18n/vi.po index 560d8fd764e..c11f0312397 100644 --- a/document_page_environmental_aspect/i18n/vi.po +++ b/document_page_environmental_aspect/i18n/vi.po @@ -6,11 +6,12 @@ msgid "" msgstr "" "Project-Id-Version: openerp-mgmtsystem\n" -"Report-Msgid-Bugs-To: FULL NAME \n" +"Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2011-02-22 20:40+0000\n" "PO-Revision-Date: 2014-03-05 05:53+0000\n" "Last-Translator: FULL NAME \n" "Language-Team: Vietnamese \n" +"Language: vi\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" @@ -18,13 +19,12 @@ msgstr "" "X-Generator: Launchpad (build 16985)\n" #. module: document_page_environmental_aspect -#: model:ir.module.module,description:document_page_environmental_aspect.module_meta_information -msgid "" -"Environmental Aspects Template, useful for Environment Management System\n" -" " +#: model:ir.actions.act_window,name:document_page_environmental_aspect.action_environmental_aspects +#: model:ir.ui.menu,name:document_page_environmental_aspect.menu_mgmtsystem_manuals_environmental_aspects +msgid "Environmental Aspects" msgstr "" #. module: document_page_environmental_aspect -#: model:ir.module.module,shortdesc:document_page_environmental_aspect.module_meta_information -msgid "Document Management - Wiki - Environmental Aspects" +#: model:ir.actions.act_window,help:document_page_environmental_aspect.action_environmental_aspects +msgid "Environmental aspects of your management system." msgstr "" From 8f21c4d77d3356e935e0f3427ba4f1af5693a65b Mon Sep 17 00:00:00 2001 From: OCA-git-bot Date: Tue, 1 Oct 2019 17:47:36 +0000 Subject: [PATCH 36/51] document_page_environmental_aspect 10.0.1.1.0 --- document_page_environmental_aspect/__manifest__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/document_page_environmental_aspect/__manifest__.py b/document_page_environmental_aspect/__manifest__.py index bc742930c31..d7135225008 100644 --- a/document_page_environmental_aspect/__manifest__.py +++ b/document_page_environmental_aspect/__manifest__.py @@ -20,7 +20,7 @@ ############################################################################## { "name": "Environmental Aspects", - "version": "10.0.1.0.0", + "version": "10.0.1.1.0", "author": "Savoir-faire Linux, Odoo Community Association (OCA)", "website": "http://www.savoirfairelinux.com", "license": "AGPL-3", From 0bf85b6b8ff6513b995727bd82c8e5ba1b54d012 Mon Sep 17 00:00:00 2001 From: flachica Date: Sun, 29 Mar 2020 16:46:16 +0200 Subject: [PATCH 37/51] Migration to 13.0 --- document_page_environmental_aspect/README.rst | 81 ++++--------------- .../__init__.py | 1 - .../__manifest__.py | 17 ++-- .../migrations/7.0.1.0/pre-migration.py | 69 ---------------- .../readme/CONFIGURE.rst | 4 + .../readme/CONTRIBUTORS.rst | 5 ++ .../readme/DESCRIPTION.rst | 1 + .../readme/USAGE.rst | 5 ++ .../views/document_page.xml | 1 - 9 files changed, 38 insertions(+), 146 deletions(-) delete mode 100644 document_page_environmental_aspect/migrations/7.0.1.0/pre-migration.py create mode 100644 document_page_environmental_aspect/readme/CONFIGURE.rst create mode 100644 document_page_environmental_aspect/readme/CONTRIBUTORS.rst create mode 100644 document_page_environmental_aspect/readme/DESCRIPTION.rst create mode 100644 document_page_environmental_aspect/readme/USAGE.rst diff --git a/document_page_environmental_aspect/README.rst b/document_page_environmental_aspect/README.rst index e0ea5ce78cd..21cd7854d5e 100644 --- a/document_page_environmental_aspect/README.rst +++ b/document_page_environmental_aspect/README.rst @@ -1,70 +1,21 @@ -.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg - :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html - :alt: License +**This file is going to be generated by oca-gen-addon-readme.** -===================== -Environmental Aspects -===================== +*Manual changes will be overwritten.* -This module extends the functionality of the Environment Management System and adds a template for environmental aspects. +Please provide content in the ``readme`` directory: -Installation -============ +* **DESCRIPTION.rst** (required) +* INSTALL.rst (optional) +* CONFIGURE.rst (optional) +* **USAGE.rst** (optional, highly recommended) +* DEVELOP.rst (optional) +* ROADMAP.rst (optional) +* HISTORY.rst (optional, recommended) +* **CONTRIBUTORS.rst** (optional, highly recommended) +* CREDITS.rst (optional) -* No installation required. +Content of this README will also be drawn from the addon manifest, +from keys such as name, authors, maintainers, development_status, +and license. -Configuration -============= - -To configure this module, you need to: - -* go to Management Systems > Configuration > Categories -* select the Environmental Aspect category and customize it - -Usage -===== - -To create environmental aspects, you need to: - -* go to Management Systems > Documentation > Environmental Aspects -* click on Create and select the Environmental Aspect category -* enter your content - -.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas - :alt: Try me on Runbot - :target: https://runbot.odoo-community.org/runbot/118/9.0 - -Known issues / Roadmap -====================== - -* Report any issue or ideas to https://github.com/OCA/management-system/issues - -Bug Tracker -=========== - -Bugs are tracked on `GitHub 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 -`here `_. - -Credits -======= - -Contributors ------------- - -* Savoir-faire Linux -* Gervais Naoussi - -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. +A good, one sentence summary in the manifest is also highly recommended. diff --git a/document_page_environmental_aspect/__init__.py b/document_page_environmental_aspect/__init__.py index a04eb8a8b44..75b83e4df9f 100644 --- a/document_page_environmental_aspect/__init__.py +++ b/document_page_environmental_aspect/__init__.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- ############################################################################## # # OpenERP, Open Source Management Solution diff --git a/document_page_environmental_aspect/__manifest__.py b/document_page_environmental_aspect/__manifest__.py index d7135225008..ec9bb090ed6 100644 --- a/document_page_environmental_aspect/__manifest__.py +++ b/document_page_environmental_aspect/__manifest__.py @@ -1,8 +1,8 @@ -# -*- coding: utf-8 -*- ############################################################################## # # OpenERP, Open Source Management Solution # Copyright (C) 2010 Savoir-faire Linux (). +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as @@ -20,19 +20,16 @@ ############################################################################## { "name": "Environmental Aspects", - "version": "10.0.1.1.0", + "version": "13.0.1.0.0", "author": "Savoir-faire Linux, Odoo Community Association (OCA)", "website": "http://www.savoirfairelinux.com", "license": "AGPL-3", "category": "Generic Modules/Others", - "depends": [ - 'document_page_approval', - 'mgmtsystem', - ], + "depends": ["document_page", "mgmtsystem"], "data": [ - 'data/document_page.xml', - 'views/document_page.xml', - 'security/environmental_aspect_security.xml', + "data/document_page.xml", + "views/document_page.xml", + "security/environmental_aspect_security.xml", ], - 'installable': True, + "installable": True, } diff --git a/document_page_environmental_aspect/migrations/7.0.1.0/pre-migration.py b/document_page_environmental_aspect/migrations/7.0.1.0/pre-migration.py deleted file mode 100644 index 00b6a5094e3..00000000000 --- a/document_page_environmental_aspect/migrations/7.0.1.0/pre-migration.py +++ /dev/null @@ -1,69 +0,0 @@ -# -*- encoding: utf-8 -*- -############################################################################## -# -# OpenERP, Open Source Management Solution -# This module copyright (C) 2013 Savoir-faire Linux -# (). -# -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero 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 Affero General Public License for more details. -# -# You should have received a copy of the GNU Affero General Public License -# along with this program. If not, see . -# -############################################################################## - -import logging -logger = logging.getLogger('upgrade') -logger.setLevel(logging.DEBUG) - -xmlid_renames = [ - ('document_page_environmental_aspect.wiki_environmental_aspect', - 'document_page_environmental_aspect.document_page_environmental_aspect'), - ('document_page_environmental_aspect.wiki_group_environmental_aspect', - 'document_page_environmental_aspect.\ - document_page_group_environmental_aspect'), -] - - -def logged_query(cr, query, args=None): - """ - Logs query and affected rows at level DEBUG - """ - if args is None: - args = [] - cr.execute(query, args) - logger.debug('Running %s', query % tuple(args)) - logger.debug('%s rows affected', cr.rowcount) - return cr.rowcount - - -def rename_xmlids(cr, xmlids_spec): - """ - Rename XML IDs. Typically called in the pre script. - One usage example is when an ID changes module. In OpenERP 6 for example, - a number of res_groups IDs moved to module base from other modules ( - although they were still being defined in their respective module). - """ - for (old, new) in xmlids_spec: - if not old.split('.') or not new.split('.'): - logger.error( - 'Cannot rename XMLID %s to %s: need the module ' - 'reference to be specified in the IDs' % (old, new)) - else: - query = ("UPDATE ir_model_data SET module = %s, name = %s " - "WHERE module = %s and name = %s") - logged_query(cr, query, tuple(new.split('.') + old.split('.'))) - - -def migrate(cr, version): - if version is None: - return - rename_xmlids(cr, xmlid_renames) diff --git a/document_page_environmental_aspect/readme/CONFIGURE.rst b/document_page_environmental_aspect/readme/CONFIGURE.rst new file mode 100644 index 00000000000..9268bdf700d --- /dev/null +++ b/document_page_environmental_aspect/readme/CONFIGURE.rst @@ -0,0 +1,4 @@ +To configure this module, you need to: + +* go to Management Systems > Configuration > Categories +* select the Environmental Aspect category and customize it diff --git a/document_page_environmental_aspect/readme/CONTRIBUTORS.rst b/document_page_environmental_aspect/readme/CONTRIBUTORS.rst new file mode 100644 index 00000000000..3f69cfb6fad --- /dev/null +++ b/document_page_environmental_aspect/readme/CONTRIBUTORS.rst @@ -0,0 +1,5 @@ +* Savoir-faire Linux +* Gervais Naoussi +* `Guadaltech `_: + + * Fernando La Chica diff --git a/document_page_environmental_aspect/readme/DESCRIPTION.rst b/document_page_environmental_aspect/readme/DESCRIPTION.rst new file mode 100644 index 00000000000..849dc3ee65c --- /dev/null +++ b/document_page_environmental_aspect/readme/DESCRIPTION.rst @@ -0,0 +1 @@ +This module extends the functionality of the Environment Management System and adds a template for environmental aspects. diff --git a/document_page_environmental_aspect/readme/USAGE.rst b/document_page_environmental_aspect/readme/USAGE.rst new file mode 100644 index 00000000000..a6481c74f70 --- /dev/null +++ b/document_page_environmental_aspect/readme/USAGE.rst @@ -0,0 +1,5 @@ +To create environmental aspects, you need to: + +* go to Management Systems > Documentation > Environmental Aspects +* click on Create and select the Environmental Aspect category +* enter your content diff --git a/document_page_environmental_aspect/views/document_page.xml b/document_page_environmental_aspect/views/document_page.xml index 16c2e819309..b4d14c65a8d 100644 --- a/document_page_environmental_aspect/views/document_page.xml +++ b/document_page_environmental_aspect/views/document_page.xml @@ -4,7 +4,6 @@ Environmental Aspects document.page - form tree,form Environmental aspects of your management system. From f7de7c7d785a293dc1822667c9fb7b7a27a75d91 Mon Sep 17 00:00:00 2001 From: oca-travis Date: Fri, 3 Apr 2020 16:34:14 +0000 Subject: [PATCH 38/51] [UPD] Update document_page_environmental_aspect.pot --- .../i18n/document_page_environmental_aspect.pot | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/document_page_environmental_aspect/i18n/document_page_environmental_aspect.pot b/document_page_environmental_aspect/i18n/document_page_environmental_aspect.pot index 8f0fc2818a6..812571d86eb 100644 --- a/document_page_environmental_aspect/i18n/document_page_environmental_aspect.pot +++ b/document_page_environmental_aspect/i18n/document_page_environmental_aspect.pot @@ -1,12 +1,12 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: -# * document_page_environmental_aspect +# * document_page_environmental_aspect # msgid "" msgstr "" -"Project-Id-Version: Odoo Server 10.0\n" +"Project-Id-Version: Odoo Server 13.0\n" "Report-Msgid-Bugs-To: \n" -"Last-Translator: <>\n" +"Last-Translator: \n" "Language-Team: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -20,7 +20,6 @@ msgid "Environmental Aspects" msgstr "" #. module: document_page_environmental_aspect -#: model:ir.actions.act_window,help:document_page_environmental_aspect.action_environmental_aspects +#: model_terms:ir.actions.act_window,help:document_page_environmental_aspect.action_environmental_aspects msgid "Environmental aspects of your management system." msgstr "" - From 1be2b45a8bea002cadddef5955316dd88d8c0323 Mon Sep 17 00:00:00 2001 From: OCA-git-bot Date: Fri, 3 Apr 2020 16:47:07 +0000 Subject: [PATCH 39/51] [UPD] README.rst --- document_page_environmental_aspect/README.rst | 105 ++++- .../static/description/index.html | 443 ++++++++++++++++++ 2 files changed, 532 insertions(+), 16 deletions(-) create mode 100644 document_page_environmental_aspect/static/description/index.html diff --git a/document_page_environmental_aspect/README.rst b/document_page_environmental_aspect/README.rst index 21cd7854d5e..03bbc70c2ae 100644 --- a/document_page_environmental_aspect/README.rst +++ b/document_page_environmental_aspect/README.rst @@ -1,21 +1,94 @@ -**This file is going to be generated by oca-gen-addon-readme.** +===================== +Environmental Aspects +===================== -*Manual changes will be overwritten.* +.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! This file is generated by oca-gen-addon-readme !! + !! changes will be overwritten. !! + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -Please provide content in the ``readme`` directory: +.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png + :target: https://odoo-community.org/page/development-status + :alt: Beta +.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png + :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html + :alt: License: AGPL-3 +.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fmanagement--system-lightgray.png?logo=github + :target: https://github.com/OCA/management-system/tree/13.0/document_page_environmental_aspect + :alt: OCA/management-system +.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png + :target: https://translation.odoo-community.org/projects/management-system-13-0/management-system-13-0-document_page_environmental_aspect + :alt: Translate me on Weblate +.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png + :target: https://runbot.odoo-community.org/runbot/128/13.0 + :alt: Try me on Runbot -* **DESCRIPTION.rst** (required) -* INSTALL.rst (optional) -* CONFIGURE.rst (optional) -* **USAGE.rst** (optional, highly recommended) -* DEVELOP.rst (optional) -* ROADMAP.rst (optional) -* HISTORY.rst (optional, recommended) -* **CONTRIBUTORS.rst** (optional, highly recommended) -* CREDITS.rst (optional) +|badge1| |badge2| |badge3| |badge4| |badge5| -Content of this README will also be drawn from the addon manifest, -from keys such as name, authors, maintainers, development_status, -and license. +This module extends the functionality of the Environment Management System and adds a template for environmental aspects. -A good, one sentence summary in the manifest is also highly recommended. +**Table of contents** + +.. contents:: + :local: + +Configuration +============= + +To configure this module, you need to: + +* go to Management Systems > Configuration > Categories +* select the Environmental Aspect category and customize it + +Usage +===== + +To create environmental aspects, you need to: + +* go to Management Systems > Documentation > Environmental Aspects +* click on Create and select the Environmental Aspect category +* enter your content + +Bug Tracker +=========== + +Bugs are tracked on `GitHub 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 `_. + +Do not contact contributors directly about support or help with technical issues. + +Credits +======= + +Authors +~~~~~~~ + +* Savoir-faire Linux + +Contributors +~~~~~~~~~~~~ + +* Savoir-faire Linux +* Gervais Naoussi +* `Guadaltech `_: + + * Fernando La Chica + +Maintainers +~~~~~~~~~~~ + +This module is maintained by the OCA. + +.. image:: https://odoo-community.org/logo.png + :alt: Odoo Community Association + :target: https://odoo-community.org + +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. + +This module is part of the `OCA/management-system `_ project on GitHub. + +You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/document_page_environmental_aspect/static/description/index.html b/document_page_environmental_aspect/static/description/index.html new file mode 100644 index 00000000000..76775bff713 --- /dev/null +++ b/document_page_environmental_aspect/static/description/index.html @@ -0,0 +1,443 @@ + + + + + + +Environmental Aspects + + + +
+

Environmental Aspects

+ + +

Beta License: AGPL-3 OCA/management-system Translate me on Weblate Try me on Runbot

+

This module extends the functionality of the Environment Management System and adds a template for environmental aspects.

+

Table of contents

+ +
+

Configuration

+

To configure this module, you need to:

+
    +
  • go to Management Systems > Configuration > Categories
  • +
  • select the Environmental Aspect category and customize it
  • +
+
+
+

Usage

+

To create environmental aspects, you need to:

+
    +
  • go to Management Systems > Documentation > Environmental Aspects
  • +
  • click on Create and select the Environmental Aspect category
  • +
  • enter your content
  • +
+
+
+

Bug Tracker

+

Bugs are tracked on GitHub 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.

+

Do not contact contributors directly about support or help with technical issues.

+
+
+

Credits

+
+

Authors

+
    +
  • Savoir-faire Linux
  • +
+
+
+

Contributors

+ +
+
+

Maintainers

+

This module is maintained by the OCA.

+Odoo Community Association +

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.

+

This module is part of the OCA/management-system project on GitHub.

+

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

+
+
+
+ + From f5c9776fd0c8b6893915d8a5d6e57056efdb1882 Mon Sep 17 00:00:00 2001 From: OCA Transbot Date: Tue, 7 Apr 2020 14:14:38 +0000 Subject: [PATCH 40/51] Update translation files Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: management-system-13.0/management-system-13.0-document_page_environmental_aspect Translate-URL: https://translation.odoo-community.org/projects/management-system-13-0/management-system-13-0-document_page_environmental_aspect/ --- document_page_environmental_aspect/i18n/de.po | 2 +- document_page_environmental_aspect/i18n/es_CL.po | 2 +- document_page_environmental_aspect/i18n/fr.po | 2 +- document_page_environmental_aspect/i18n/nb.po | 2 +- document_page_environmental_aspect/i18n/pt_BR.po | 2 +- document_page_environmental_aspect/i18n/sl.po | 2 +- document_page_environmental_aspect/i18n/sv.po | 2 +- document_page_environmental_aspect/i18n/vi.po | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/document_page_environmental_aspect/i18n/de.po b/document_page_environmental_aspect/i18n/de.po index 96428d632ed..a9cdaf2d4ab 100644 --- a/document_page_environmental_aspect/i18n/de.po +++ b/document_page_environmental_aspect/i18n/de.po @@ -27,6 +27,6 @@ msgid "Environmental Aspects" msgstr "Umweltaspekte" #. module: document_page_environmental_aspect -#: model:ir.actions.act_window,help:document_page_environmental_aspect.action_environmental_aspects +#: model_terms:ir.actions.act_window,help:document_page_environmental_aspect.action_environmental_aspects msgid "Environmental aspects of your management system." msgstr "Umweltaspekte Ihres Management-Systems." diff --git a/document_page_environmental_aspect/i18n/es_CL.po b/document_page_environmental_aspect/i18n/es_CL.po index 947fabc8341..0ceb9016084 100644 --- a/document_page_environmental_aspect/i18n/es_CL.po +++ b/document_page_environmental_aspect/i18n/es_CL.po @@ -26,6 +26,6 @@ msgid "Environmental Aspects" msgstr "Aspectos medio ambientales" #. module: document_page_environmental_aspect -#: model:ir.actions.act_window,help:document_page_environmental_aspect.action_environmental_aspects +#: model_terms:ir.actions.act_window,help:document_page_environmental_aspect.action_environmental_aspects msgid "Environmental aspects of your management system." msgstr "Aspectos medio ambientales de tu sistema de administración" diff --git a/document_page_environmental_aspect/i18n/fr.po b/document_page_environmental_aspect/i18n/fr.po index 397794eed64..0f2936d2fc1 100644 --- a/document_page_environmental_aspect/i18n/fr.po +++ b/document_page_environmental_aspect/i18n/fr.po @@ -27,6 +27,6 @@ msgid "Environmental Aspects" msgstr "Aspects environnementaux" #. module: document_page_environmental_aspect -#: model:ir.actions.act_window,help:document_page_environmental_aspect.action_environmental_aspects +#: model_terms:ir.actions.act_window,help:document_page_environmental_aspect.action_environmental_aspects msgid "Environmental aspects of your management system." msgstr "Aspects environnementaux de votre système de gestion." diff --git a/document_page_environmental_aspect/i18n/nb.po b/document_page_environmental_aspect/i18n/nb.po index fb696d0dc7b..62efb52a794 100644 --- a/document_page_environmental_aspect/i18n/nb.po +++ b/document_page_environmental_aspect/i18n/nb.po @@ -25,7 +25,7 @@ msgid "Environmental Aspects" msgstr "" #. module: document_page_environmental_aspect -#: model:ir.actions.act_window,help:document_page_environmental_aspect.action_environmental_aspects +#: model_terms:ir.actions.act_window,help:document_page_environmental_aspect.action_environmental_aspects #, fuzzy msgid "Environmental aspects of your management system." msgstr "" diff --git a/document_page_environmental_aspect/i18n/pt_BR.po b/document_page_environmental_aspect/i18n/pt_BR.po index 7bc51b44f57..54075824e5a 100644 --- a/document_page_environmental_aspect/i18n/pt_BR.po +++ b/document_page_environmental_aspect/i18n/pt_BR.po @@ -27,6 +27,6 @@ msgid "Environmental Aspects" msgstr "Aspectos do ambiente" #. module: document_page_environmental_aspect -#: model:ir.actions.act_window,help:document_page_environmental_aspect.action_environmental_aspects +#: model_terms:ir.actions.act_window,help:document_page_environmental_aspect.action_environmental_aspects msgid "Environmental aspects of your management system." msgstr "Aspectos do ambiente de seu sistema de gestão" diff --git a/document_page_environmental_aspect/i18n/sl.po b/document_page_environmental_aspect/i18n/sl.po index 02d2b7d86e6..dfe7dcff6c4 100644 --- a/document_page_environmental_aspect/i18n/sl.po +++ b/document_page_environmental_aspect/i18n/sl.po @@ -25,6 +25,6 @@ msgid "Environmental Aspects" msgstr "Okoljski vidiki" #. module: document_page_environmental_aspect -#: model:ir.actions.act_window,help:document_page_environmental_aspect.action_environmental_aspects +#: model_terms:ir.actions.act_window,help:document_page_environmental_aspect.action_environmental_aspects msgid "Environmental aspects of your management system." msgstr "Okoljski vidiki sistema upravljanja" diff --git a/document_page_environmental_aspect/i18n/sv.po b/document_page_environmental_aspect/i18n/sv.po index b5d5e492ae1..55e766e53de 100644 --- a/document_page_environmental_aspect/i18n/sv.po +++ b/document_page_environmental_aspect/i18n/sv.po @@ -25,7 +25,7 @@ msgid "Environmental Aspects" msgstr "" #. module: document_page_environmental_aspect -#: model:ir.actions.act_window,help:document_page_environmental_aspect.action_environmental_aspects +#: model_terms:ir.actions.act_window,help:document_page_environmental_aspect.action_environmental_aspects #, fuzzy msgid "Environmental aspects of your management system." msgstr "" diff --git a/document_page_environmental_aspect/i18n/vi.po b/document_page_environmental_aspect/i18n/vi.po index c11f0312397..937eccffa75 100644 --- a/document_page_environmental_aspect/i18n/vi.po +++ b/document_page_environmental_aspect/i18n/vi.po @@ -25,6 +25,6 @@ msgid "Environmental Aspects" msgstr "" #. module: document_page_environmental_aspect -#: model:ir.actions.act_window,help:document_page_environmental_aspect.action_environmental_aspects +#: model_terms:ir.actions.act_window,help:document_page_environmental_aspect.action_environmental_aspects msgid "Environmental aspects of your management system." msgstr "" From 3052861d1efe60a747b299b60822d73b7a5709b5 Mon Sep 17 00:00:00 2001 From: Radovan Skolnik Date: Thu, 25 Jun 2020 07:46:25 +0200 Subject: [PATCH 41/51] Fix security, forms and template --- .../__manifest__.py | 1 - .../data/document_page.xml | 2 +- .../environmental_aspect_security.xml | 26 ------------------- .../views/document_page.xml | 13 ++++++++++ 4 files changed, 14 insertions(+), 28 deletions(-) delete mode 100644 document_page_environmental_aspect/security/environmental_aspect_security.xml diff --git a/document_page_environmental_aspect/__manifest__.py b/document_page_environmental_aspect/__manifest__.py index ec9bb090ed6..420307a544f 100644 --- a/document_page_environmental_aspect/__manifest__.py +++ b/document_page_environmental_aspect/__manifest__.py @@ -29,7 +29,6 @@ "data": [ "data/document_page.xml", "views/document_page.xml", - "security/environmental_aspect_security.xml", ], "installable": True, } diff --git a/document_page_environmental_aspect/data/document_page.xml b/document_page_environmental_aspect/data/document_page.xml index de41041862e..a3c07f7cc17 100644 --- a/document_page_environmental_aspect/data/document_page.xml +++ b/document_page_environmental_aspect/data/document_page.xml @@ -3,7 +3,7 @@ Environmental Aspect category - + Activity diff --git a/document_page_environmental_aspect/security/environmental_aspect_security.xml b/document_page_environmental_aspect/security/environmental_aspect_security.xml deleted file mode 100644 index dd07296082b..00000000000 --- a/document_page_environmental_aspect/security/environmental_aspect_security.xml +++ /dev/null @@ -1,26 +0,0 @@ - - - - - Environmental document page for viewers - - - - - - - - - - - Environmental document page for viewers - - - - - - - - - diff --git a/document_page_environmental_aspect/views/document_page.xml b/document_page_environmental_aspect/views/document_page.xml index b4d14c65a8d..434bb51f597 100644 --- a/document_page_environmental_aspect/views/document_page.xml +++ b/document_page_environmental_aspect/views/document_page.xml @@ -7,6 +7,19 @@ tree,form Environmental aspects of your management system. + + + + + tree + + + + + + form + + Date: Thu, 25 Jun 2020 08:08:32 +0200 Subject: [PATCH 42/51] Fix indent --- document_page_environmental_aspect/__manifest__.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/document_page_environmental_aspect/__manifest__.py b/document_page_environmental_aspect/__manifest__.py index 420307a544f..cc296ad8f54 100644 --- a/document_page_environmental_aspect/__manifest__.py +++ b/document_page_environmental_aspect/__manifest__.py @@ -26,9 +26,6 @@ "license": "AGPL-3", "category": "Generic Modules/Others", "depends": ["document_page", "mgmtsystem"], - "data": [ - "data/document_page.xml", - "views/document_page.xml", - ], + "data": ["data/document_page.xml", "views/document_page.xml"], "installable": True, } From 6962f14cb81657932f835bf2abba1f1e7007f9d3 Mon Sep 17 00:00:00 2001 From: OCA-git-bot Date: Mon, 6 Jul 2020 10:24:40 +0000 Subject: [PATCH 43/51] document_page_environmental_aspect 13.0.1.0.1 --- document_page_environmental_aspect/__manifest__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/document_page_environmental_aspect/__manifest__.py b/document_page_environmental_aspect/__manifest__.py index cc296ad8f54..7b41fec3b48 100644 --- a/document_page_environmental_aspect/__manifest__.py +++ b/document_page_environmental_aspect/__manifest__.py @@ -20,7 +20,7 @@ ############################################################################## { "name": "Environmental Aspects", - "version": "13.0.1.0.0", + "version": "13.0.1.0.1", "author": "Savoir-faire Linux, Odoo Community Association (OCA)", "website": "http://www.savoirfairelinux.com", "license": "AGPL-3", From 2d5e1efe3a86b593934d512df65e0e5cb95b4914 Mon Sep 17 00:00:00 2001 From: Daniel Reis Date: Fri, 26 Nov 2021 12:41:43 +0000 Subject: [PATCH 44/51] Added translation using Weblate (Portuguese) --- document_page_environmental_aspect/i18n/pt.po | 26 +++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 document_page_environmental_aspect/i18n/pt.po diff --git a/document_page_environmental_aspect/i18n/pt.po b/document_page_environmental_aspect/i18n/pt.po new file mode 100644 index 00000000000..a56e898985f --- /dev/null +++ b/document_page_environmental_aspect/i18n/pt.po @@ -0,0 +1,26 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * document_page_environmental_aspect +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 13.0\n" +"Report-Msgid-Bugs-To: \n" +"Last-Translator: Automatically generated\n" +"Language-Team: none\n" +"Language: pt\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n > 1;\n" + +#. module: document_page_environmental_aspect +#: model:ir.actions.act_window,name:document_page_environmental_aspect.action_environmental_aspects +#: model:ir.ui.menu,name:document_page_environmental_aspect.menu_mgmtsystem_manuals_environmental_aspects +msgid "Environmental Aspects" +msgstr "" + +#. module: document_page_environmental_aspect +#: model_terms:ir.actions.act_window,help:document_page_environmental_aspect.action_environmental_aspects +msgid "Environmental aspects of your management system." +msgstr "" From f84fc5d45b2b8089e1c5bca33945463e34fc6dec Mon Sep 17 00:00:00 2001 From: Daniel Reis Date: Fri, 26 Nov 2021 12:42:34 +0000 Subject: [PATCH 45/51] Translated using Weblate (Portuguese) Currently translated at 100.0% (2 of 2 strings) Translation: management-system-13.0/management-system-13.0-document_page_environmental_aspect Translate-URL: https://translation.odoo-community.org/projects/management-system-13-0/management-system-13-0-document_page_environmental_aspect/pt/ --- document_page_environmental_aspect/i18n/pt.po | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/document_page_environmental_aspect/i18n/pt.po b/document_page_environmental_aspect/i18n/pt.po index a56e898985f..e2f1926a73f 100644 --- a/document_page_environmental_aspect/i18n/pt.po +++ b/document_page_environmental_aspect/i18n/pt.po @@ -6,21 +6,23 @@ msgid "" msgstr "" "Project-Id-Version: Odoo Server 13.0\n" "Report-Msgid-Bugs-To: \n" -"Last-Translator: Automatically generated\n" +"PO-Revision-Date: 2021-11-26 15:36+0000\n" +"Last-Translator: Daniel Reis \n" "Language-Team: none\n" "Language: pt\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" "Plural-Forms: nplurals=2; plural=n > 1;\n" +"X-Generator: Weblate 4.3.2\n" #. module: document_page_environmental_aspect #: model:ir.actions.act_window,name:document_page_environmental_aspect.action_environmental_aspects #: model:ir.ui.menu,name:document_page_environmental_aspect.menu_mgmtsystem_manuals_environmental_aspects msgid "Environmental Aspects" -msgstr "" +msgstr "Aspetos ambientais" #. module: document_page_environmental_aspect #: model_terms:ir.actions.act_window,help:document_page_environmental_aspect.action_environmental_aspects msgid "Environmental aspects of your management system." -msgstr "" +msgstr "Aspetos ambientais do seu sistema de gestão." From 573b4550a0b4abec5fcdb7ee54aebe391eb0bb58 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Iv=C3=A0n=20Todorovich?= Date: Wed, 18 May 2022 08:44:19 -0300 Subject: [PATCH 46/51] [IMP] pre-commit run -a --- .../__manifest__.py | 2 +- .../data/document_page.xml | 2 +- .../views/document_page.xml | 33 +++++++++++-------- 3 files changed, 22 insertions(+), 15 deletions(-) diff --git a/document_page_environmental_aspect/__manifest__.py b/document_page_environmental_aspect/__manifest__.py index 7b41fec3b48..5dcf8684366 100644 --- a/document_page_environmental_aspect/__manifest__.py +++ b/document_page_environmental_aspect/__manifest__.py @@ -22,7 +22,7 @@ "name": "Environmental Aspects", "version": "13.0.1.0.1", "author": "Savoir-faire Linux, Odoo Community Association (OCA)", - "website": "http://www.savoirfairelinux.com", + "website": "https://github.com/OCA/management-system", "license": "AGPL-3", "category": "Generic Modules/Others", "depends": ["document_page", "mgmtsystem"], diff --git a/document_page_environmental_aspect/data/document_page.xml b/document_page_environmental_aspect/data/document_page.xml index a3c07f7cc17..5094d91533a 100644 --- a/document_page_environmental_aspect/data/document_page.xml +++ b/document_page_environmental_aspect/data/document_page.xml @@ -1,4 +1,4 @@ - + Environmental Aspect diff --git a/document_page_environmental_aspect/views/document_page.xml b/document_page_environmental_aspect/views/document_page.xml index 434bb51f597..f8c54c73d0d 100644 --- a/document_page_environmental_aspect/views/document_page.xml +++ b/document_page_environmental_aspect/views/document_page.xml @@ -1,4 +1,4 @@ - + @@ -6,28 +6,35 @@ document.page tree,form Environmental aspects of your management system. - - + + tree - - + + form - - + + + id="menu_mgmtsystem_manuals_environmental_aspects" + name="Environmental Aspects" + action="action_environmental_aspects" + parent="mgmtsystem.menu_mgmtsystem_manuals" + sequence="20" + groups="base.group_user" + /> From 9165f035b162c02381e782bf5fb3721929abcbb8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Iv=C3=A0n=20Todorovich?= Date: Wed, 18 May 2022 08:50:34 -0300 Subject: [PATCH 47/51] [UPD] Modules development status : solve dev status dependency check --- document_page_environmental_aspect/__manifest__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/document_page_environmental_aspect/__manifest__.py b/document_page_environmental_aspect/__manifest__.py index 5dcf8684366..de20956ac1e 100644 --- a/document_page_environmental_aspect/__manifest__.py +++ b/document_page_environmental_aspect/__manifest__.py @@ -27,5 +27,5 @@ "category": "Generic Modules/Others", "depends": ["document_page", "mgmtsystem"], "data": ["data/document_page.xml", "views/document_page.xml"], - "installable": True, + "development_status": "Production/Stable", } From e0a72df0629aa02d7ecefffb558e92b4b417d468 Mon Sep 17 00:00:00 2001 From: OCA-git-bot Date: Wed, 18 May 2022 11:58:18 +0000 Subject: [PATCH 48/51] [UPD] README.rst --- document_page_environmental_aspect/README.rst | 4 ++-- .../static/description/index.html | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/document_page_environmental_aspect/README.rst b/document_page_environmental_aspect/README.rst index 03bbc70c2ae..821fc8a73e4 100644 --- a/document_page_environmental_aspect/README.rst +++ b/document_page_environmental_aspect/README.rst @@ -7,9 +7,9 @@ Environmental Aspects !! changes will be overwritten. !! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png +.. |badge1| image:: https://img.shields.io/badge/maturity-Production%2FStable-green.png :target: https://odoo-community.org/page/development-status - :alt: Beta + :alt: Production/Stable .. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html :alt: License: AGPL-3 diff --git a/document_page_environmental_aspect/static/description/index.html b/document_page_environmental_aspect/static/description/index.html index 76775bff713..d9020786bba 100644 --- a/document_page_environmental_aspect/static/description/index.html +++ b/document_page_environmental_aspect/static/description/index.html @@ -367,7 +367,7 @@

Environmental Aspects

!! This file is generated by oca-gen-addon-readme !! !! changes will be overwritten. !! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! --> -

Beta License: AGPL-3 OCA/management-system Translate me on Weblate Try me on Runbot

+

Production/Stable License: AGPL-3 OCA/management-system Translate me on Weblate Try me on Runbot

This module extends the functionality of the Environment Management System and adds a template for environmental aspects.

Table of contents

From 7fa768e8d6f2177b8106ed913fa6a7b5c5a14b8b Mon Sep 17 00:00:00 2001 From: mymage Date: Fri, 11 Nov 2022 16:55:01 +0000 Subject: [PATCH 49/51] Added translation using Weblate (Italian) --- document_page_environmental_aspect/i18n/it.po | 26 +++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 document_page_environmental_aspect/i18n/it.po diff --git a/document_page_environmental_aspect/i18n/it.po b/document_page_environmental_aspect/i18n/it.po new file mode 100644 index 00000000000..e943424ae50 --- /dev/null +++ b/document_page_environmental_aspect/i18n/it.po @@ -0,0 +1,26 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * document_page_environmental_aspect +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 13.0\n" +"Report-Msgid-Bugs-To: \n" +"Last-Translator: Automatically generated\n" +"Language-Team: none\n" +"Language: it\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" + +#. module: document_page_environmental_aspect +#: model:ir.actions.act_window,name:document_page_environmental_aspect.action_environmental_aspects +#: model:ir.ui.menu,name:document_page_environmental_aspect.menu_mgmtsystem_manuals_environmental_aspects +msgid "Environmental Aspects" +msgstr "" + +#. module: document_page_environmental_aspect +#: model_terms:ir.actions.act_window,help:document_page_environmental_aspect.action_environmental_aspects +msgid "Environmental aspects of your management system." +msgstr "" From 3773d8b49304ede8011aa0129e91cedeac3edf1d Mon Sep 17 00:00:00 2001 From: mymage Date: Fri, 11 Nov 2022 16:55:14 +0000 Subject: [PATCH 50/51] Translated using Weblate (Italian) Currently translated at 100.0% (2 of 2 strings) Translation: management-system-13.0/management-system-13.0-document_page_environmental_aspect Translate-URL: https://translation.odoo-community.org/projects/management-system-13-0/management-system-13-0-document_page_environmental_aspect/it/ --- document_page_environmental_aspect/i18n/it.po | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/document_page_environmental_aspect/i18n/it.po b/document_page_environmental_aspect/i18n/it.po index e943424ae50..93394be1f96 100644 --- a/document_page_environmental_aspect/i18n/it.po +++ b/document_page_environmental_aspect/i18n/it.po @@ -6,21 +6,23 @@ msgid "" msgstr "" "Project-Id-Version: Odoo Server 13.0\n" "Report-Msgid-Bugs-To: \n" -"Last-Translator: Automatically generated\n" +"PO-Revision-Date: 2022-11-11 19:44+0000\n" +"Last-Translator: mymage \n" "Language-Team: none\n" "Language: it\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" "Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 4.14.1\n" #. module: document_page_environmental_aspect #: model:ir.actions.act_window,name:document_page_environmental_aspect.action_environmental_aspects #: model:ir.ui.menu,name:document_page_environmental_aspect.menu_mgmtsystem_manuals_environmental_aspects msgid "Environmental Aspects" -msgstr "" +msgstr "Aspetti ambientali" #. module: document_page_environmental_aspect #: model_terms:ir.actions.act_window,help:document_page_environmental_aspect.action_environmental_aspects msgid "Environmental aspects of your management system." -msgstr "" +msgstr "Aspetti ambientali per il tuo sistema di gestione." From 98f27e6e4cea8ec00317b06818c270ac218ee7e6 Mon Sep 17 00:00:00 2001 From: cubells Date: Sun, 22 Jan 2023 10:53:20 +0100 Subject: [PATCH 51/51] [MIG] document_page_environmental_aspect: Migration to 12.0 --- document_page_environmental_aspect/README.rst | 14 ++++--- .../__manifest__.py | 2 +- .../readme/CONTRIBUTORS.rst | 4 ++ .../static/description/index.html | 40 +++++-------------- .../addons/document_page_environmental_aspect | 1 + .../setup.py | 6 +++ 6 files changed, 32 insertions(+), 35 deletions(-) create mode 120000 setup/document_page_environmental_aspect/odoo/addons/document_page_environmental_aspect create mode 100644 setup/document_page_environmental_aspect/setup.py diff --git a/document_page_environmental_aspect/README.rst b/document_page_environmental_aspect/README.rst index 821fc8a73e4..8eb3ae7cae2 100644 --- a/document_page_environmental_aspect/README.rst +++ b/document_page_environmental_aspect/README.rst @@ -14,13 +14,13 @@ Environmental Aspects :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html :alt: License: AGPL-3 .. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fmanagement--system-lightgray.png?logo=github - :target: https://github.com/OCA/management-system/tree/13.0/document_page_environmental_aspect + :target: https://github.com/OCA/management-system/tree/12.0/document_page_environmental_aspect :alt: OCA/management-system .. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png - :target: https://translation.odoo-community.org/projects/management-system-13-0/management-system-13-0-document_page_environmental_aspect + :target: https://translation.odoo-community.org/projects/management-system-12-0/management-system-12-0-document_page_environmental_aspect :alt: Translate me on Weblate .. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png - :target: https://runbot.odoo-community.org/runbot/128/13.0 + :target: https://runbot.odoo-community.org/runbot/128/12.0 :alt: Try me on Runbot |badge1| |badge2| |badge3| |badge4| |badge5| @@ -55,7 +55,7 @@ Bug Tracker Bugs are tracked on `GitHub 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 `_. +`feedback `_. Do not contact contributors directly about support or help with technical issues. @@ -76,6 +76,10 @@ Contributors * Fernando La Chica +* `Trey Kilobytes de Soluciones SL `__: + + * Vicent Cubells + Maintainers ~~~~~~~~~~~ @@ -89,6 +93,6 @@ 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. -This module is part of the `OCA/management-system `_ project on GitHub. +This module is part of the `OCA/management-system `_ project on GitHub. You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/document_page_environmental_aspect/__manifest__.py b/document_page_environmental_aspect/__manifest__.py index de20956ac1e..09f556ea6b7 100644 --- a/document_page_environmental_aspect/__manifest__.py +++ b/document_page_environmental_aspect/__manifest__.py @@ -20,7 +20,7 @@ ############################################################################## { "name": "Environmental Aspects", - "version": "13.0.1.0.1", + "version": "12.0.1.0.0", "author": "Savoir-faire Linux, Odoo Community Association (OCA)", "website": "https://github.com/OCA/management-system", "license": "AGPL-3", diff --git a/document_page_environmental_aspect/readme/CONTRIBUTORS.rst b/document_page_environmental_aspect/readme/CONTRIBUTORS.rst index 3f69cfb6fad..16ea805bee1 100644 --- a/document_page_environmental_aspect/readme/CONTRIBUTORS.rst +++ b/document_page_environmental_aspect/readme/CONTRIBUTORS.rst @@ -3,3 +3,7 @@ * `Guadaltech `_: * Fernando La Chica + +* `Trey Kilobytes de Soluciones SL `__: + + * Vicent Cubells diff --git a/document_page_environmental_aspect/static/description/index.html b/document_page_environmental_aspect/static/description/index.html index d9020786bba..b866fd4e1b9 100644 --- a/document_page_environmental_aspect/static/description/index.html +++ b/document_page_environmental_aspect/static/description/index.html @@ -3,13 +3,13 @@ - + Environmental Aspects