[[ repeatIn(o.lines,'line') ]]
- [[ len(line.product_id.name) > 39 and line.product_id.name[:39] + '...' or line.product_id.name ]]
-
+ [[ line.product_id.name ]]
[[o.state=='cancel' and o.statement_ids and '-' or '']][['%.f' % line.qty ]]
diff --git a/addons/point_of_sale/wizard/pos_add_product.xml b/addons/point_of_sale/wizard/pos_add_product.xml
index f465f97f097..966a21baa4b 100644
--- a/addons/point_of_sale/wizard/pos_add_product.xml
+++ b/addons/point_of_sale/wizard/pos_add_product.xml
@@ -14,7 +14,7 @@
-
diff --git a/addons/point_of_sale/wizard/pos_close_statement.py b/addons/point_of_sale/wizard/pos_close_statement.py
index 7f2323683a0..ca07180974b 100644
--- a/addons/point_of_sale/wizard/pos_close_statement.py
+++ b/addons/point_of_sale/wizard/pos_close_statement.py
@@ -37,14 +37,26 @@ class pos_close_statement(osv.osv_memory):
@return : Blank Dictionary
"""
company_id = self.pool.get('res.users').browse(cr, uid, uid).company_id.id
+ list_statement = []
statement_obj = self.pool.get('account.bank.statement')
journal_obj = self.pool.get('account.journal')
journal_lst = journal_obj.search(cr, uid, [('company_id', '=', company_id), ('auto_cash', '=', True), ('check_dtls', '=', False)])
journal_ids = journal_obj.browse(cr, uid, journal_lst)
for journal in journal_ids:
ids = statement_obj.search(cr, uid, [('state', '!=', 'confirm'), ('user_id', '=', uid), ('journal_id', '=', journal.id)])
- statement_obj.button_confirm(cr, uid, ids)
- return {}
+ list_statement = ids
+ statement_obj.button_confirm(cr, uid, ids, context)
+ if not list_statement:
+ return {}
+ return {
+ 'domain': "[('id','in', list_statement)]",
+ 'name': 'Close Statements',
+ 'view_type': 'form',
+ 'view_mode': 'tree,form',
+ 'res_model': 'account.bank.statement',
+ 'view_id': False,
+ 'type': 'ir.actions.act_window'
+}
pos_close_statement()
diff --git a/addons/point_of_sale/wizard/pos_close_statement.xml b/addons/point_of_sale/wizard/pos_close_statement.xml
index fed3518b706..e46231fa993 100644
--- a/addons/point_of_sale/wizard/pos_close_statement.xml
+++ b/addons/point_of_sale/wizard/pos_close_statement.xml
@@ -9,10 +9,9 @@
form
@@ -37,4 +36,4 @@
new
-
\ No newline at end of file
+
diff --git a/addons/point_of_sale/wizard/pos_open_statement.py b/addons/point_of_sale/wizard/pos_open_statement.py
index 6605f3e46e8..57274c89d74 100644
--- a/addons/point_of_sale/wizard/pos_open_statement.py
+++ b/addons/point_of_sale/wizard/pos_open_statement.py
@@ -37,9 +37,11 @@ class pos_open_statement(osv.osv_memory):
@param context: A standard dictionary
@return : Blank Directory
"""
+ list_statement = []
company_id = self.pool.get('res.users').browse(cr, uid, uid).company_id.id
statement_obj = self.pool.get('account.bank.statement')
singer_obj = self.pool.get('singer.statement')
+ sequence_obj = self.pool.get('ir.sequence')
journal_obj = self.pool.get('account.journal')
journal_lst = journal_obj.search(cr, uid, [('company_id', '=', company_id), ('auto_cash', '=', True)])
journal_ids = journal_obj.browse(cr, uid, journal_lst)
@@ -54,7 +56,6 @@ class pos_open_statement(osv.osv_memory):
cr.execute(sql)
st_id = cr.fetchone()
number = ''
- sequence_obj = self.pool.get('ir.sequence')
if journal.statement_sequence_id:
number = sequence_obj.get_id(cr, uid, journal.id)
else:
@@ -74,6 +75,7 @@ class pos_open_statement(osv.osv_memory):
statement_id = cr.fetchone()[0]
if st_id:
statemt_id = statement_obj.browse(cr, uid, st_id[0])
+ list_statement.append(statemt_id.id)
if statemt_id and statemt_id.ending_details_ids:
statement_obj.write(cr, uid, [statement_id], {
'balance_start': statemt_id.balance_end,
@@ -86,7 +88,15 @@ class pos_open_statement(osv.osv_memory):
'number': i.number,
'starting_id': statement_id,
})
- cr.commit()
+ return {
+ 'domain': "[('id','in', ["+','.join(map(str,list_statement))+"])]",
+ 'name': 'Open Statement',
+ 'view_type': 'form',
+ 'view_mode': 'tree,form',
+ 'res_model': 'account.bank.statement',
+ 'view_id': False, # TODO: REFERENCE RIGHT VIEWS
+ 'type': 'ir.actions.act_window'
+}
return {}
pos_open_statement()
diff --git a/addons/point_of_sale/wizard/pos_open_statement.xml b/addons/point_of_sale/wizard/pos_open_statement.xml
index 9b80a7ec60d..a8956575a36 100644
--- a/addons/point_of_sale/wizard/pos_open_statement.xml
+++ b/addons/point_of_sale/wizard/pos_open_statement.xml
@@ -9,12 +9,11 @@
form
@@ -36,4 +35,4 @@
-
\ No newline at end of file
+
diff --git a/addons/point_of_sale/wizard/pos_receipt_view.xml b/addons/point_of_sale/wizard/pos_receipt_view.xml
index 44b07502f3e..a9796eff886 100644
--- a/addons/point_of_sale/wizard/pos_receipt_view.xml
+++ b/addons/point_of_sale/wizard/pos_receipt_view.xml
@@ -10,6 +10,7 @@
form
@@ -305,14 +309,18 @@
form
diff --git a/addons/product/security/product_security.xml b/addons/product/security/product_security.xml
index 764e1277c93..dffeafb47fc 100644
--- a/addons/product/security/product_security.xml
+++ b/addons/product/security/product_security.xml
@@ -11,14 +11,14 @@
- Product multi-company
+ Product multi-company
['|',('company_id','=',False),('company_id','child_of',[user.company_id.id])]
- Product / Variant
+ Useability / Product Variant
diff --git a/addons/product_expiry/__init__.py b/addons/product_expiry/__init__.py
index 3b5500415c2..de4fe83ab83 100644
--- a/addons/product_expiry/__init__.py
+++ b/addons/product_expiry/__init__.py
@@ -19,7 +19,5 @@
##############################################################################
import product_expiry
-import wizard
-import report
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
diff --git a/addons/product_expiry/__terp__.py b/addons/product_expiry/__openerp__.py
similarity index 91%
rename from addons/product_expiry/__terp__.py
rename to addons/product_expiry/__openerp__.py
index 2e44f2c6462..b03777ecec6 100644
--- a/addons/product_expiry/__terp__.py
+++ b/addons/product_expiry/__openerp__.py
@@ -20,7 +20,7 @@
{
"name" : "Products date of expiry",
"version" : "1.0",
- "author" : "Tiny",
+ "author" : "OpenERP SA",
"category" : "Enterprise Specific Modules/Food Industries",
"depends" : ["base", "account", "product", "stock"],
"init_xml" : [],
@@ -31,7 +31,7 @@
- removal date
- alert date
Used, for example, in food industries.''',
- "update_xml" : ["product_expiry_view.xml", "report/report_stock_view.xml", "wizard/stock_partial_view.xml"],
+ "update_xml" : ["product_expiry_view.xml"],
"active": False,
"installable": True
}
diff --git a/addons/product_expiry/i18n/ca.po b/addons/product_expiry/i18n/ca.po
index 3bffba540b9..c4acce0421f 100644
--- a/addons/product_expiry/i18n/ca.po
+++ b/addons/product_expiry/i18n/ca.po
@@ -14,7 +14,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-05-21 03:45+0000\n"
+"X-Launchpad-Export-Date: 2010-04-24 04:01+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: product_expiry
diff --git a/addons/product_expiry/i18n/es.po b/addons/product_expiry/i18n/es.po
index c0b8140f48b..2b3f27f0de1 100644
--- a/addons/product_expiry/i18n/es.po
+++ b/addons/product_expiry/i18n/es.po
@@ -8,19 +8,19 @@ msgstr ""
"Project-Id-Version: openobject-addons\n"
"Report-Msgid-Bugs-To: FULL NAME \n"
"POT-Creation-Date: 2009-06-30 15:09+0000\n"
-"PO-Revision-Date: 2010-04-29 04:43+0000\n"
-"Last-Translator: Rhubeni Lopes de Andrade \n"
+"PO-Revision-Date: 2010-06-27 22:08+0000\n"
+"Last-Translator: Borja López Soilán (Pexego) \n"
"Language-Team: Spanish \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-05-21 03:45+0000\n"
+"X-Launchpad-Export-Date: 2010-06-28 03:48+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: product_expiry
#: field:product.product,life_time:0
msgid "Product lifetime"
-msgstr "Ciclo de vida producto"
+msgstr "Ciclo de vida del producto"
#. module: product_expiry
#: model:product.template,name:product_expiry.product_product_from_product_template
@@ -54,11 +54,13 @@ msgstr "¡XML no válido para la definición de la vista!"
#: help:stock.production.lot,life_date:0
msgid "The date the lot may become dangerous and should not be consumed."
msgstr ""
+"Fecha en la que el producto puede llegar a ser peligroso y no debería ser "
+"consumido."
#. module: product_expiry
#: field:stock.production.lot,removal_date:0
msgid "Removal Date"
-msgstr ""
+msgstr "Fecha de eliminación"
#. module: product_expiry
#: model:ir.module.module,description:product_expiry.module_meta_information
@@ -70,6 +72,12 @@ msgid ""
" - alert date\n"
"Used, for example, in food industries."
msgstr ""
+"Gestionar diferentes fechas en productos y lotes de producción:\n"
+" - fin de vida\n"
+" - fecha de caducidad\n"
+" - fecha de retirada\n"
+" - fecha de alerta\n"
+"Usados, por ejemplo, en la industria alimentaria."
#. module: product_expiry
#: model:product.template,name:product_expiry.product_product_pain_product_template
@@ -96,17 +104,19 @@ msgstr "Error: La UdV debe estar en una categoría diferente que la UdM."
#. module: product_expiry
#: field:stock.production.lot,life_date:0
msgid "End of Life Date"
-msgstr ""
+msgstr "Fecha de fin de vida"
#. module: product_expiry
#: field:stock.production.lot,use_date:0
msgid "Best before Date"
-msgstr ""
+msgstr "Fecha caducidad"
#. module: product_expiry
#: help:stock.production.lot,use_date:0
msgid "The date the lot starts deteriorating without becoming dangerous."
msgstr ""
+"Fecha en la que el producto empieza a deteriorarse sin llegar a ser "
+"peligroso."
#. module: product_expiry
#: model:product.template,name:product_expiry.product_product_jambon_product_template
@@ -116,7 +126,7 @@ msgstr "Queso Camembert francés"
#. module: product_expiry
#: help:product.product,removal_time:0
msgid "The number of days before a production lot should be removed."
-msgstr ""
+msgstr "Número de días antes de que un lote de producción deba ser retirado."
#. module: product_expiry
#: field:product.product,use_time:0
@@ -126,7 +136,7 @@ msgstr "Tiempo de uso producto"
#. module: product_expiry
#: field:stock.production.lot,alert_date:0
msgid "Alert Date"
-msgstr ""
+msgstr "Fecha de alerta"
#. module: product_expiry
#: field:product.product,removal_time:0
@@ -139,6 +149,8 @@ msgid ""
"The number of days before a production lot starts deteriorating without "
"becoming dangerous."
msgstr ""
+"Número de días antes de que un producto empieza a deteriorarse sin llegar a "
+"ser peligroso."
#. module: product_expiry
#: constraint:product.product:0
@@ -151,30 +163,15 @@ msgid ""
"The number of days before a production lot may become dangerous and should "
"not be consumed."
msgstr ""
+"Número de días antes de que un producto pueda llegar a ser peligroso y no "
+"debe ser consumido."
#. module: product_expiry
#: help:stock.production.lot,removal_date:0
msgid "The date the lot should be removed."
-msgstr ""
+msgstr "Fecha en la que el producto debería ser eliminado."
#. module: product_expiry
#: field:product.product,alert_time:0
msgid "Product alert time"
msgstr "Fecha alerta producto"
-
-#~ msgid "Alert date"
-#~ msgstr "Fecha alarma"
-
-#~ msgid ""
-#~ "Track different dates on products and lots. Used, for exampel, in food "
-#~ "industries: expiry date, alert date, date of removal, eso."
-#~ msgstr ""
-#~ "Gestiona distintas fechas para productos y lotes. Utilizado, por ejemplo, en "
-#~ "industria alimentaria: Fecha de caducidad, fecha de alarma, fecha de "
-#~ "eliminación, ..."
-
-#~ msgid "DLUO"
-#~ msgstr "Fecha caducidad"
-
-#~ msgid "Removal date"
-#~ msgstr "Fecha eliminación"
diff --git a/addons/product_expiry/i18n/et.po b/addons/product_expiry/i18n/et.po
new file mode 100644
index 00000000000..4fff2ceb230
--- /dev/null
+++ b/addons/product_expiry/i18n/et.po
@@ -0,0 +1,165 @@
+# Estonian translation for openobject-addons
+# Copyright (c) 2010 Rosetta Contributors and Canonical Ltd 2010
+# This file is distributed under the same license as the openobject-addons package.
+# FIRST AUTHOR , 2010.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: openobject-addons\n"
+"Report-Msgid-Bugs-To: FULL NAME \n"
+"POT-Creation-Date: 2009-06-30 15:09+0000\n"
+"PO-Revision-Date: 2010-06-25 18:04+0000\n"
+"Last-Translator: lyyser \n"
+"Language-Team: Estonian \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Launchpad-Export-Date: 2010-06-26 03:58+0000\n"
+"X-Generator: Launchpad (build Unknown)\n"
+
+#. module: product_expiry
+#: field:product.product,life_time:0
+msgid "Product lifetime"
+msgstr ""
+
+#. module: product_expiry
+#: model:product.template,name:product_expiry.product_product_from_product_template
+msgid "Ham"
+msgstr "Väärtpost"
+
+#. module: product_expiry
+#: model:product.template,name:product_expiry.product_product_lait_product_template
+msgid "Cow milk"
+msgstr "Lehma piim"
+
+#. module: product_expiry
+#: model:ir.module.module,shortdesc:product_expiry.module_meta_information
+msgid "Products date of expiry"
+msgstr "Kõlblik kuni"
+
+#. module: product_expiry
+#: constraint:product.template:0
+msgid ""
+"Error: The default UOM and the purchase UOM must be in the same category."
+msgstr ""
+"Viga: vaikimisi mõõtühik ja ostu mõõtühik peavad olema samast kategooriast."
+
+#. module: product_expiry
+#: constraint:ir.ui.view:0
+msgid "Invalid XML for View Architecture!"
+msgstr "Vigane XML vaate arhitektuurile!"
+
+#. module: product_expiry
+#: help:stock.production.lot,life_date:0
+msgid "The date the lot may become dangerous and should not be consumed."
+msgstr ""
+"Kuupäev, millal toode võib muutuda ohtlikuks ning neid ei tohiks tarbida."
+
+#. module: product_expiry
+#: field:stock.production.lot,removal_date:0
+msgid "Removal Date"
+msgstr ""
+
+#. module: product_expiry
+#: model:ir.module.module,description:product_expiry.module_meta_information
+msgid ""
+"Track different dates on products and production lots:\n"
+" - end of life\n"
+" - best before date\n"
+" - removal date\n"
+" - alert date\n"
+"Used, for example, in food industries."
+msgstr ""
+
+#. module: product_expiry
+#: model:product.template,name:product_expiry.product_product_pain_product_template
+msgid "Bread"
+msgstr "Leib"
+
+#. module: product_expiry
+#: model:product.uom,name:product_expiry.product_uom_ltr
+#: model:product.uom.categ,name:product_expiry.product_uom_categ_vol
+msgid "LTR"
+msgstr "LTR"
+
+#. module: product_expiry
+#: view:product.product:0
+#: view:stock.production.lot:0
+msgid "Dates"
+msgstr "Kuupäevad"
+
+#. module: product_expiry
+#: constraint:product.template:0
+msgid "Error: UOS must be in a different category than the UOM"
+msgstr "Viga: TÜ kategooria peab erinema MÜ kategooriast"
+
+#. module: product_expiry
+#: field:stock.production.lot,life_date:0
+msgid "End of Life Date"
+msgstr "Kõlblik kuni kuupäev"
+
+#. module: product_expiry
+#: field:stock.production.lot,use_date:0
+msgid "Best before Date"
+msgstr "Parim enne kuupäev"
+
+#. module: product_expiry
+#: help:stock.production.lot,use_date:0
+msgid "The date the lot starts deteriorating without becoming dangerous."
+msgstr ""
+
+#. module: product_expiry
+#: model:product.template,name:product_expiry.product_product_jambon_product_template
+msgid "French cheese Camenbert"
+msgstr "Prantsuse juustu Camenbert"
+
+#. module: product_expiry
+#: help:product.product,removal_time:0
+msgid "The number of days before a production lot should be removed."
+msgstr "Päevade arv ennem mida tootepartii tuleb eemaldada."
+
+#. module: product_expiry
+#: field:product.product,use_time:0
+msgid "Product usetime"
+msgstr "Toote kasutamise aeg"
+
+#. module: product_expiry
+#: field:stock.production.lot,alert_date:0
+msgid "Alert Date"
+msgstr "Häire kuupäev"
+
+#. module: product_expiry
+#: field:product.product,removal_time:0
+msgid "Product removal time"
+msgstr "Toote eemaldamise aeg"
+
+#. module: product_expiry
+#: help:product.product,use_time:0
+msgid ""
+"The number of days before a production lot starts deteriorating without "
+"becoming dangerous."
+msgstr ""
+
+#. module: product_expiry
+#: constraint:product.product:0
+msgid "Error: Invalid ean code"
+msgstr "Viga: Vigane EAN kood"
+
+#. module: product_expiry
+#: help:product.product,life_time:0
+msgid ""
+"The number of days before a production lot may become dangerous and should "
+"not be consumed."
+msgstr ""
+"Päevade arv millal tootepartii võib osutuda ohtlikuks ja neid ei tohiks "
+"tarbida."
+
+#. module: product_expiry
+#: help:stock.production.lot,removal_date:0
+msgid "The date the lot should be removed."
+msgstr "Kuupäeva millal toode tuleks kõrvaldada."
+
+#. module: product_expiry
+#: field:product.product,alert_time:0
+msgid "Product alert time"
+msgstr "Toote märguande aeg"
diff --git a/addons/product_expiry/i18n/fr.po b/addons/product_expiry/i18n/fr.po
index 27fa25095b2..13a3e127700 100644
--- a/addons/product_expiry/i18n/fr.po
+++ b/addons/product_expiry/i18n/fr.po
@@ -13,7 +13,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-05-21 03:45+0000\n"
+"X-Launchpad-Export-Date: 2010-04-24 04:01+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: product_expiry
diff --git a/addons/product_expiry/product_expiry.py b/addons/product_expiry/product_expiry.py
index fd22ecff8b6..72f18412af4 100644
--- a/addons/product_expiry/product_expiry.py
+++ b/addons/product_expiry/product_expiry.py
@@ -21,22 +21,10 @@
import datetime
from osv import fields, osv
import pooler
-import time
class stock_production_lot(osv.osv):
_name = 'stock.production.lot'
_inherit = 'stock.production.lot'
- def name_get(self, cr, uid, ids, context=None):
- if not len(ids):
- return []
- result = []
- for line in self.browse(cr, uid, ids, context):
- if line.life_date:
- result.append((line.id, (line.name or '')+' ('+line.life_date+')'))
- else:
- result.append((line.id, line.name))
- return result
-
def _get_date(dtype):
"""Return a function to compute the limit date for this type"""
@@ -53,24 +41,36 @@ class stock_production_lot(osv.osv):
# set date to False when no expiry time specified on the product
date = duration and (datetime.datetime.today()
+ datetime.timedelta(days=duration))
- return date and date.strftime('%Y-%m-%d')
+ return date and date.strftime('%Y-%m-%d %H:%M:%S')
return calc_date
_columns = {
- 'life_date': fields.date('End of Life Date',
+ 'life_date': fields.datetime('End of Life Date',
help='The date the lot may become dangerous and should not be consumed.'),
- 'use_date': fields.date('Best before Date',
+ 'use_date': fields.datetime('Best before Date',
help='The date the lot starts deteriorating without becoming dangerous.'),
- 'removal_date': fields.date('Removal Date',
+ 'removal_date': fields.datetime('Removal Date',
help='The date the lot should be removed.'),
- 'alert_date': fields.date('Alert Date'),
+ 'alert_date': fields.datetime('Alert Date'),
}
+ # Assign dates according to products data
+ def create(self, cr, uid, vals, context=None):
+ newid = super(stock_production_lot, self).create(cr, uid, vals, context=context)
+ obj = self.browse(cr, uid, newid, context=context)
+ towrite = []
+ for f in ('life_date','use_date','removal_date','alert_date'):
+ if not getattr(obj, f):
+ towrite.append(f)
+ context = context or {}
+ context['product_id'] = obj.product_id.id
+ self.write(cr, uid, [obj.id], self.default_get(cr, uid, towrite, context=context))
+ return newid
_defaults = {
- # 'life_date': _get_date('life_time'),
- # 'use_date': _get_date('use_time'),
- # 'removal_date': _get_date('removal_time'),
- # 'alert_date': _get_date('alert_time'),
+ 'life_date': _get_date('life_time'),
+ 'use_date': _get_date('use_time'),
+ 'removal_date': _get_date('removal_time'),
+ 'alert_date': _get_date('alert_time'),
}
stock_production_lot()
diff --git a/addons/product_expiry/report/report_stock.py b/addons/product_expiry/report/report_stock.py
deleted file mode 100644
index bef64eaffa6..00000000000
--- a/addons/product_expiry/report/report_stock.py
+++ /dev/null
@@ -1,121 +0,0 @@
-# -*- coding: utf-8 -*-
-##############################################################################
-#
-# OpenERP, Open Source Management Solution
-# Copyright (C) 2004-2010 Tiny SPRL ().
-#
-# 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 osv import osv, fields
-from tools.translate import _
-import tools
-from tools.sql import drop_view_if_exists
-
-class stock_report_prodlots(osv.osv):
- _name = "stock.report.prodlots1"
- _description = "Stock report by production lots"
- _auto = False
- _columns = {
- 'name': fields.float('Quantity', readonly=True),
- 'location_id': fields.many2one('stock.location', 'Location', readonly=True, select=True),
- 'product_id': fields.many2one('product.product', 'Product', readonly=True, select=True),
- 'prodlot_id': fields.many2one('stock.production.lot', 'Production lot', readonly=True, select=True),
- 'life_date': fields.date('End of Life Date',
- help='The date the lot may become dangerous and should not be consumed.'),
- 'use_date': fields.date('Best before Date',
- help='The date the lot starts deteriorating without becoming dangerous.'),
- 'removal_date': fields.date('Removal Date',
- help='The date the lot should be removed.'),
- 'alert_date': fields.date('Alert Date'),
-
- }
-
- def init(self, cr):
- drop_view_if_exists(cr, 'stock_report_prodlots1')
- cr.execute("""
- create or replace view stock_report_prodlots1 as (
- select max(id) as id,
- location_id,
- product_id,
- prodlot_id,
- life_date,
- use_date,
- removal_date,
- alert_date,
- sum(qty) as name
- from (
- select -max(sm.id) as id,
- sm.location_id,
- sm.product_id,
- sm.prodlot_id,
- spl.life_date,
- spl.use_date,
- spl.removal_date,
- spl.alert_date,
- -sum(sm.product_qty /uo.factor) as qty
- from stock_move as sm
- left join stock_location sl
- on (sl.id = sm.location_id)
- left join stock_production_lot spl
- on (sm.prodlot_id=spl.id)
- left join product_uom uo
- on (uo.id=sm.product_uom)
- where state = 'done'
- group by sm.location_id, sm.product_id, sm.product_uom, sm.prodlot_id,
- spl.life_date,
- spl.use_date,
- spl.removal_date,
- spl.alert_date
-
- union all
- select max(sm.id) as id,
- sm.location_dest_id as location_id,
- sm.product_id,
- sm.prodlot_id,
- spl.life_date,
- spl.use_date,
- spl.removal_date,
- spl.alert_date,
- sum(sm.product_qty /uo.factor) as qty
- from stock_move as sm
- left join stock_location sl
- on (sl.id = sm.location_dest_id)
- left join stock_production_lot spl
- on (sm.prodlot_id=spl.id)
- left join product_uom uo
- on (uo.id=sm.product_uom)
- where sm.state = 'done'
- group by sm.location_dest_id, sm.product_id, sm.product_uom, sm.prodlot_id,
- spl.life_date,
- spl.use_date,
- spl.removal_date,
- spl.alert_date
-
- ) as report
- group by location_id, product_id, prodlot_id,
- life_date,
- use_date,
- removal_date,
- alert_date
- )""")
-
- def unlink(self, cr, uid, ids, context={}):
- raise osv.except_osv(_('Error !'), _('You cannot delete any record!'))
-
-
-stock_report_prodlots()
-
-# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
diff --git a/addons/product_expiry/report/report_stock_view.xml b/addons/product_expiry/report/report_stock_view.xml
deleted file mode 100644
index 68198e87dd3..00000000000
--- a/addons/product_expiry/report/report_stock_view.xml
+++ /dev/null
@@ -1,103 +0,0 @@
-
-
-
-
-
- stock.report.prodlots.filter
- stock.report.prodlots1
- search
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- stock.report.prodlots.view
- stock.report.prodlots1
- form
-
-
-
-
-
-
- stock.report.prodlots.view
- stock.report.prodlots1
- tree
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- stock.report.prodlots.view
- stock.report.prodlots1
- graph
-
-
-
-
-
-
-
-
-
-
- Inventory by Location
- ir.actions.act_window
- stock.report.prodlots1
- form
- tree,form
- {'full':'1','search_default_internal_locations':1}
-
-
-
-
-
-
-
-
diff --git a/addons/product_expiry/wizard/__init__.py b/addons/product_expiry/wizard/__init__.py
deleted file mode 100644
index 2b1b55ed6e0..00000000000
--- a/addons/product_expiry/wizard/__init__.py
+++ /dev/null
@@ -1 +0,0 @@
-import stock_partial
diff --git a/addons/product_expiry/wizard/stock_partial.py b/addons/product_expiry/wizard/stock_partial.py
deleted file mode 100644
index 94adaa63452..00000000000
--- a/addons/product_expiry/wizard/stock_partial.py
+++ /dev/null
@@ -1,80 +0,0 @@
-# -*- coding: utf-8 -*-
-##############################################################################
-#
-# OpenERP, Open Source Management Solution
-# Copyright (C) 2004-2010 Tiny SPRL ().
-#
-# 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 osv import fields, osv
-from service import web_services
-from tools.misc import UpdateableStr, UpdateableDict
-from tools.translate import _
-import netsvc
-import pooler
-import time
-import datetime
-import wizard
-
-class stock_partial_lot_picking(osv.osv_memory):
- _inherit = "stock.partial.picking"
- _name = "stock.partial.picking"
- _description = "Partial Picking"
-
- def do_partial(self, cr, uid, ids, context):
- res = super(stock_partial_lot_picking, self).do_partial(cr, uid, ids, context=context)
- prodlot_obj = self.pool.get('stock.production.lot')
- pick_obj = self.pool.get('stock.picking')
- picking_ids = context.get('active_ids', False)
- partial = self.browse(cr, uid, ids[0], context)
- for pick in pick_obj.browse(cr, uid, picking_ids):
- for m in pick.move_lines:
- for pick in pick_obj.browse(cr, uid, picking_ids):
- for m in pick.move_lines:
- res = {}
- if (pick.type == 'in') and m.prodlot_id:
- if not m.prodlot_id.life_date:
- date_life = (datetime.datetime.strptime(partial.date, '%Y-%m-%d %H:%M:%S') + datetime.timedelta(days=m.product_id.life_time))
- res['life_date'] = date_life.strftime('%Y-%m-%d')
- if not m.prodlot_id.use_date:
- date_use = (datetime.datetime.strptime(partial.date, '%Y-%m-%d %H:%M:%S') + datetime.timedelta(days=m.product_id.use_time))
- res['use_date'] = date_use.strftime('%Y-%m-%d')
- if not m.prodlot_id.removal_date:
- date_removal = (datetime.datetime.strptime(partial.date, '%Y-%m-%d %H:%M:%S') + datetime.timedelta(days=m.product_id.removal_time))
- res['removal_date'] = date_removal.strftime('%Y-%m-%d')
- if not m.prodlot_id.alert_date:
- date_alert = (datetime.datetime.strptime(partial.date, '%Y-%m-%d %H:%M:%S') + datetime.timedelta(days=m.product_id.alert_time))
- res['alert_date'] = date_alert.strftime('%Y-%m-%d')
- prodlot_obj.write(cr, uid, [m.prodlot_id.id], res)
- return res
-stock_partial_lot_picking()
-
-class stock_move_split_lines_exist(osv.osv_memory):
- _name = "stock.move.split.lines.exist"
- _inherit = "stock.move.split.lines.exist"
- _columns = {
- 'date': fields.date('Expiry Date'),
- }
- def on_change_product(self, cr, uid, ids, product_id):
- if not product_id:
- return {'value':{'date': False}}
- day_life = self.pool.get('product.product').browse(cr, uid, product_id).life_time
- date_life = (datetime.datetime.now() + datetime.timedelta(days=day_life))
- return {'value':{'date': date_life.strftime('%Y-%m-%d')
-}}
-
-
-stock_move_split_lines_exist()
diff --git a/addons/product_expiry/wizard/stock_partial_view.xml b/addons/product_expiry/wizard/stock_partial_view.xml
deleted file mode 100644
index ca3554ea900..00000000000
--- a/addons/product_expiry/wizard/stock_partial_view.xml
+++ /dev/null
@@ -1,22 +0,0 @@
-
-
-
-
-
- Split in lots
- stock.move.split
- form
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/addons/product_manufacturer/__openerp__.py b/addons/product_manufacturer/__openerp__.py
index 5d7e8922520..bccabe95283 100644
--- a/addons/product_manufacturer/__openerp__.py
+++ b/addons/product_manufacturer/__openerp__.py
@@ -20,8 +20,8 @@
{
"name" : "Products Attributes & Manufacturers",
"version" : "1.0",
- "author" : "Tiny",
- "category" : "Enterprise Specific Modules/Industries",
+ "author" : "OpenERP SA",
+ "category" : "Enterprise Specific Modules/Manufacturer Industries",
"depends" : ["base", "account", "product", "stock"],
"init_xml" : [],
"demo_xml" : [],
diff --git a/addons/product_manufacturer/i18n/es.po b/addons/product_manufacturer/i18n/es.po
new file mode 100644
index 00000000000..42f8bdc2629
--- /dev/null
+++ b/addons/product_manufacturer/i18n/es.po
@@ -0,0 +1,108 @@
+# Spanish translation for openobject-addons
+# Copyright (c) 2010 Rosetta Contributors and Canonical Ltd 2010
+# This file is distributed under the same license as the openobject-addons package.
+# FIRST AUTHOR , 2010.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: openobject-addons\n"
+"Report-Msgid-Bugs-To: FULL NAME \n"
+"POT-Creation-Date: 2009-11-25 13:27+0000\n"
+"PO-Revision-Date: 2010-06-27 21:56+0000\n"
+"Last-Translator: Borja López Soilán (Pexego) \n"
+"Language-Team: Spanish \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Launchpad-Export-Date: 2010-06-28 03:48+0000\n"
+"X-Generator: Launchpad (build Unknown)\n"
+
+#. module: product_electronic
+#: model:ir.module.module,description:product_electronic.module_meta_information
+msgid "A module that add manufacturers and attributes on the product form"
+msgstr ""
+"Un módulo que añade fabricantes y atributos en el formulario de producto"
+
+#. module: product_electronic
+#: field:product.product,manufacturer_pref:0
+msgid "Manufacturer product code"
+msgstr "Código de producto del fabricante"
+
+#. module: product_electronic
+#: constraint:ir.ui.view:0
+msgid "Invalid XML for View Architecture!"
+msgstr "¡XML inválido para la estructura de la vista!"
+
+#. module: product_electronic
+#: view:product.electronic.attribute:0
+msgid "Product Template Name"
+msgstr "Nombre de plantilla de producto"
+
+#. module: product_electronic
+#: constraint:ir.model:0
+msgid ""
+"The Object name must start with x_ and not contain any special character !"
+msgstr ""
+"¡El nombre del objeto debe empezar con x_ y no puede contener ningún "
+"carácter especial!"
+
+#. module: product_electronic
+#: model:ir.model,name:product_electronic.model_product_electronic_attribute
+msgid "Product attributes"
+msgstr "Atributos de producto"
+
+#. module: product_electronic
+#: view:product.product:0
+msgid "Manufacturing data"
+msgstr "Datos de fabricación"
+
+#. module: product_electronic
+#: view:product.product:0
+msgid "Product reference"
+msgstr "Referencia del producto"
+
+#. module: product_electronic
+#: field:product.electronic.attribute,name:0
+msgid "Attribute"
+msgstr "Atributo"
+
+#. module: product_electronic
+#: field:product.electronic.attribute,product_id:0
+msgid "Product"
+msgstr "Producto"
+
+#. module: product_electronic
+#: field:product.electronic.attribute,value:0
+msgid "Value"
+msgstr "Valor"
+
+#. module: product_electronic
+#: view:product.product:0
+msgid "Manufacturing Data"
+msgstr "Datos de fabricación"
+
+#. module: product_electronic
+#: view:product.product:0
+msgid "Product name"
+msgstr "Nombre del producto"
+
+#. module: product_electronic
+#: view:product.product:0
+#: field:product.product,attribute_ids:0
+msgid "Attributes"
+msgstr "Atributos"
+
+#. module: product_electronic
+#: model:ir.module.module,shortdesc:product_electronic.module_meta_information
+msgid "Products Attributes & Manufacturers"
+msgstr "Fabricantes y atributos de los productos"
+
+#. module: product_electronic
+#: field:product.product,manufacturer_pname:0
+msgid "Manufacturer product name"
+msgstr "Nombre del fabricante del producto"
+
+#. module: product_electronic
+#: field:product.product,manufacturer:0
+msgid "Manufacturer"
+msgstr "Fabricante"
diff --git a/addons/product_manufacturer/i18n/product_manufacturer.pot b/addons/product_manufacturer/i18n/et.po
similarity index 62%
rename from addons/product_manufacturer/i18n/product_manufacturer.pot
rename to addons/product_manufacturer/i18n/et.po
index 2fc936e9dfc..9213df55e2b 100644
--- a/addons/product_manufacturer/i18n/product_manufacturer.pot
+++ b/addons/product_manufacturer/i18n/et.po
@@ -1,19 +1,21 @@
-# Translation of OpenERP Server.
-# This file contains the translation of the following modules:
-# * product_electronic
+# Estonian translation for openobject-addons
+# Copyright (c) 2010 Rosetta Contributors and Canonical Ltd 2010
+# This file is distributed under the same license as the openobject-addons package.
+# FIRST AUTHOR , 2010.
#
msgid ""
msgstr ""
-"Project-Id-Version: OpenERP Server 5.0.6\n"
-"Report-Msgid-Bugs-To: support@openerp.com\n"
-"POT-Creation-Date: 2009-11-25 13:27:55+0000\n"
-"PO-Revision-Date: 2009-11-25 13:27:55+0000\n"
-"Last-Translator: <>\n"
-"Language-Team: \n"
+"Project-Id-Version: openobject-addons\n"
+"Report-Msgid-Bugs-To: FULL NAME \n"
+"POT-Creation-Date: 2009-11-25 13:27+0000\n"
+"PO-Revision-Date: 2010-06-25 18:10+0000\n"
+"Last-Translator: lyyser \n"
+"Language-Team: Estonian \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: \n"
-"Plural-Forms: \n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Launchpad-Export-Date: 2010-06-26 03:58+0000\n"
+"X-Generator: Launchpad (build Unknown)\n"
#. module: product_electronic
#: model:ir.module.module,description:product_electronic.module_meta_information
@@ -23,68 +25,70 @@ msgstr ""
#. module: product_electronic
#: field:product.product,manufacturer_pref:0
msgid "Manufacturer product code"
-msgstr ""
+msgstr "Tootja tootekood"
#. module: product_electronic
#: constraint:ir.ui.view:0
msgid "Invalid XML for View Architecture!"
-msgstr ""
+msgstr "Vigane XML vaate arhitektuurile!"
#. module: product_electronic
#: view:product.electronic.attribute:0
msgid "Product Template Name"
-msgstr ""
+msgstr "Toote Malli nimi"
#. module: product_electronic
#: constraint:ir.model:0
-msgid "The Object name must start with x_ and not contain any special character !"
+msgid ""
+"The Object name must start with x_ and not contain any special character !"
msgstr ""
+"Objekti nimi peab algama x_'ga ja ei tohi sisaldada ühtegi erisümbolit !"
#. module: product_electronic
#: model:ir.model,name:product_electronic.model_product_electronic_attribute
msgid "Product attributes"
-msgstr ""
+msgstr "Toote omadused"
#. module: product_electronic
#: view:product.product:0
msgid "Manufacturing data"
-msgstr ""
+msgstr "Tootmise andmed"
#. module: product_electronic
#: view:product.product:0
msgid "Product reference"
-msgstr ""
+msgstr "Toote viide"
#. module: product_electronic
#: field:product.electronic.attribute,name:0
msgid "Attribute"
-msgstr ""
+msgstr "Atribuut"
#. module: product_electronic
#: field:product.electronic.attribute,product_id:0
msgid "Product"
-msgstr ""
+msgstr "Toode"
#. module: product_electronic
#: field:product.electronic.attribute,value:0
msgid "Value"
-msgstr ""
+msgstr "Väärtus"
#. module: product_electronic
#: view:product.product:0
msgid "Manufacturing Data"
-msgstr ""
+msgstr "Valmistusandmeid"
#. module: product_electronic
#: view:product.product:0
msgid "Product name"
-msgstr ""
+msgstr "Toote nimi"
#. module: product_electronic
#: view:product.product:0
#: field:product.product,attribute_ids:0
msgid "Attributes"
-msgstr ""
+msgstr "Omadused"
#. module: product_electronic
#: model:ir.module.module,shortdesc:product_electronic.module_meta_information
@@ -94,10 +98,9 @@ msgstr ""
#. module: product_electronic
#: field:product.product,manufacturer_pname:0
msgid "Manufacturer product name"
-msgstr ""
+msgstr "Toote nimetus"
#. module: product_electronic
#: field:product.product,manufacturer:0
msgid "Manufacturer"
-msgstr ""
-
+msgstr "Tootja"
diff --git a/addons/product_manufacturer/i18n/fr_BE.po b/addons/product_manufacturer/i18n/fr_BE.po
index 2fc936e9dfc..11351ba679d 100644
--- a/addons/product_manufacturer/i18n/fr_BE.po
+++ b/addons/product_manufacturer/i18n/fr_BE.po
@@ -1,6 +1,6 @@
# Translation of OpenERP Server.
# This file contains the translation of the following modules:
-# * product_electronic
+# * product_manufacturer
#
msgid ""
msgstr ""
@@ -15,88 +15,88 @@ msgstr ""
"Content-Transfer-Encoding: \n"
"Plural-Forms: \n"
-#. module: product_electronic
-#: model:ir.module.module,description:product_electronic.module_meta_information
+#. module: product_manufacturer
+#: model:ir.module.module,description:product_manufacturer.module_meta_information
msgid "A module that add manufacturers and attributes on the product form"
msgstr ""
-#. module: product_electronic
+#. module: product_manufacturer
#: field:product.product,manufacturer_pref:0
msgid "Manufacturer product code"
msgstr ""
-#. module: product_electronic
+#. module: product_manufacturer
#: constraint:ir.ui.view:0
msgid "Invalid XML for View Architecture!"
msgstr ""
-#. module: product_electronic
-#: view:product.electronic.attribute:0
+#. module: product_manufacturer
+#: view:product.manufacturer.attribute:0
msgid "Product Template Name"
msgstr ""
-#. module: product_electronic
+#. module: product_manufacturer
#: constraint:ir.model:0
msgid "The Object name must start with x_ and not contain any special character !"
msgstr ""
-#. module: product_electronic
-#: model:ir.model,name:product_electronic.model_product_electronic_attribute
+#. module: product_manufacturer
+#: model:ir.model,name:product_manufacturer.model_product_electronic_attribute
msgid "Product attributes"
msgstr ""
-#. module: product_electronic
+#. module: product_manufacturer
#: view:product.product:0
msgid "Manufacturing data"
msgstr ""
-#. module: product_electronic
+#. module: product_manufacturer
#: view:product.product:0
msgid "Product reference"
msgstr ""
-#. module: product_electronic
-#: field:product.electronic.attribute,name:0
+#. module: product_manufacturer
+#: field:product.manufacturer.attribute,name:0
msgid "Attribute"
msgstr ""
-#. module: product_electronic
-#: field:product.electronic.attribute,product_id:0
+#. module: product_manufacturer
+#: field:product.manufacturer.attribute,product_id:0
msgid "Product"
msgstr ""
-#. module: product_electronic
-#: field:product.electronic.attribute,value:0
+#. module: product_manufacturer
+#: field:product.manufacturer.attribute,value:0
msgid "Value"
msgstr ""
-#. module: product_electronic
+#. module: product_manufacturer
#: view:product.product:0
msgid "Manufacturing Data"
msgstr ""
-#. module: product_electronic
+#. module: product_manufacturer
#: view:product.product:0
msgid "Product name"
msgstr ""
-#. module: product_electronic
+#. module: product_manufacturer
#: view:product.product:0
#: field:product.product,attribute_ids:0
msgid "Attributes"
msgstr ""
-#. module: product_electronic
-#: model:ir.module.module,shortdesc:product_electronic.module_meta_information
+#. module: product_manufacturer
+#: model:ir.module.module,shortdesc:product_manufacturer.module_meta_information
msgid "Products Attributes & Manufacturers"
msgstr ""
-#. module: product_electronic
+#. module: product_manufacturer
#: field:product.product,manufacturer_pname:0
msgid "Manufacturer product name"
msgstr ""
-#. module: product_electronic
+#. module: product_manufacturer
#: field:product.product,manufacturer:0
msgid "Manufacturer"
msgstr ""
diff --git a/addons/product_manufacturer/i18n/product_electronic.pot b/addons/product_manufacturer/i18n/product_electronic.pot
new file mode 100644
index 00000000000..11351ba679d
--- /dev/null
+++ b/addons/product_manufacturer/i18n/product_electronic.pot
@@ -0,0 +1,103 @@
+# Translation of OpenERP Server.
+# This file contains the translation of the following modules:
+# * product_manufacturer
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: OpenERP Server 5.0.6\n"
+"Report-Msgid-Bugs-To: support@openerp.com\n"
+"POT-Creation-Date: 2009-11-25 13:27:55+0000\n"
+"PO-Revision-Date: 2009-11-25 13:27:55+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: product_manufacturer
+#: model:ir.module.module,description:product_manufacturer.module_meta_information
+msgid "A module that add manufacturers and attributes on the product form"
+msgstr ""
+
+#. module: product_manufacturer
+#: field:product.product,manufacturer_pref:0
+msgid "Manufacturer product code"
+msgstr ""
+
+#. module: product_manufacturer
+#: constraint:ir.ui.view:0
+msgid "Invalid XML for View Architecture!"
+msgstr ""
+
+#. module: product_manufacturer
+#: view:product.manufacturer.attribute:0
+msgid "Product Template Name"
+msgstr ""
+
+#. module: product_manufacturer
+#: constraint:ir.model:0
+msgid "The Object name must start with x_ and not contain any special character !"
+msgstr ""
+
+#. module: product_manufacturer
+#: model:ir.model,name:product_manufacturer.model_product_electronic_attribute
+msgid "Product attributes"
+msgstr ""
+
+#. module: product_manufacturer
+#: view:product.product:0
+msgid "Manufacturing data"
+msgstr ""
+
+#. module: product_manufacturer
+#: view:product.product:0
+msgid "Product reference"
+msgstr ""
+
+#. module: product_manufacturer
+#: field:product.manufacturer.attribute,name:0
+msgid "Attribute"
+msgstr ""
+
+#. module: product_manufacturer
+#: field:product.manufacturer.attribute,product_id:0
+msgid "Product"
+msgstr ""
+
+#. module: product_manufacturer
+#: field:product.manufacturer.attribute,value:0
+msgid "Value"
+msgstr ""
+
+#. module: product_manufacturer
+#: view:product.product:0
+msgid "Manufacturing Data"
+msgstr ""
+
+#. module: product_manufacturer
+#: view:product.product:0
+msgid "Product name"
+msgstr ""
+
+#. module: product_manufacturer
+#: view:product.product:0
+#: field:product.product,attribute_ids:0
+msgid "Attributes"
+msgstr ""
+
+#. module: product_manufacturer
+#: model:ir.module.module,shortdesc:product_manufacturer.module_meta_information
+msgid "Products Attributes & Manufacturers"
+msgstr ""
+
+#. module: product_manufacturer
+#: field:product.product,manufacturer_pname:0
+msgid "Manufacturer product name"
+msgstr ""
+
+#. module: product_manufacturer
+#: field:product.product,manufacturer:0
+msgid "Manufacturer"
+msgstr ""
+
diff --git a/addons/product_manufacturer/product_manufacturer.py b/addons/product_manufacturer/product_manufacturer.py
index d77ab518efe..969b4ce69cf 100644
--- a/addons/product_manufacturer/product_manufacturer.py
+++ b/addons/product_manufacturer/product_manufacturer.py
@@ -24,26 +24,13 @@ class product_product(osv.osv):
_inherit = 'product.product'
_name = 'product.product'
_columns = {
+ 'manufacturer' : fields.many2one('res.partner', 'Manufacturer'),
+ 'manufacturer_pname' : fields.char('Manufacturer Product Name', size=64),
+ 'manufacturer_pref' : fields.char('Manufacturer Product Code', size=64),
'attribute_ids': fields.one2many('product.manufacturer.attribute', 'product_id', 'Attributes'),
- 'manufacturer_ids': fields.one2many('res.partner.manufacturer', 'product_id', 'Manufacturers'),
}
product_product()
-class res_partner_manufacturer(osv.osv):
- _name = 'res.partner.manufacturer'
- _rec_name = 'manufacturer_id'
- _columns = {
- 'manufacturer_id' : fields.many2one('res.partner', 'Manufacturer'),
- 'country_id' : fields.many2one('res.country', 'Country'),
- 'authorized' : fields.boolean('Authorized'),
- 'product_id': fields.many2one('product.product', 'Product', ondelete='cascade'),
- }
- _defaults = {
- 'authorized': lambda *a: True,
- }
-
-res_partner_manufacturer()
-
class product_attribute(osv.osv):
_name = "product.manufacturer.attribute"
_description = "Product attributes"
diff --git a/addons/product_manufacturer/product_manufacturer_view.xml b/addons/product_manufacturer/product_manufacturer_view.xml
index cfd7f23ae8d..1d1f952cd4d 100644
--- a/addons/product_manufacturer/product_manufacturer_view.xml
+++ b/addons/product_manufacturer/product_manufacturer_view.xml
@@ -1,72 +1,56 @@
-
+
-
- product.normal.form
- product.product
-
- form
-
-
-
-
-
+
+ product.normal.form
+ product.product
+
+ form
+
+
+
+
+
+
+
+
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
-
- product.manufacturer.attribute.tree
- product.manufacturer.attribute
- tree
-
-
-
-
-
-
-
-
- product.manufacturer.attribute.form
- product.manufacturer.attribute
- form
-
-
-
-
+
+ product.manufacturer.attribute.tree
+ product.manufacturer.attribute
+ tree
+
+
+
+
+
+
+
+
+ product.manufacturer.attribute.form
+ product.manufacturer.attribute
+ form
+
+
+
+
-
- res.partner.manufacturer.tree
- res.partner.manufacturer
- tree
-
-
-
-
-
-
-
-
-
- res.partner.manufacturer.form
- res.partner.manufacturer
- form
-
-
-
-
-
+
diff --git a/addons/product_manufacturer/security/ir.model.access.csv b/addons/product_manufacturer/security/ir.model.access.csv
index 9a65d0355ff..6f07fb1dc94 100644
--- a/addons/product_manufacturer/security/ir.model.access.csv
+++ b/addons/product_manufacturer/security/ir.model.access.csv
@@ -1,5 +1,3 @@
"id","name","model_id:id","group_id:id","perm_read","perm_write","perm_create","perm_unlink"
-"access_product_manufacturer_attribute","product.manufacturer.attribute","model_product_manufacturer_attribute","product.group_uos",1,0,0,0
+"access_product_manufacturer_attribute","product.manufacturer.attribute","model_product_manufacturer_attribute",base.group_user,1,0,0,0
"access_product_manufacturer_attribute_manager","product.manufacturer.attribute","model_product_manufacturer_attribute","product.group_product_manager",1,1,1,1
-"access_partner_manufacturer","res.partner.manufacturer","model_res_partner_manufacturer","product.group_uos",1,0,0,0
-"access_partner_manufacturer_manager","res.partner.manufacturer","model_res_partner_manufacturer","product.group_uos",1,1,1,1
diff --git a/addons/product_margin/i18n/ar.po b/addons/product_margin/i18n/ar.po
index 926bd0bbf1e..4970a39c47a 100644
--- a/addons/product_margin/i18n/ar.po
+++ b/addons/product_margin/i18n/ar.po
@@ -13,7 +13,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-04-17 04:18+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 04:17+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: product_margin
diff --git a/addons/product_margin/i18n/bg.po b/addons/product_margin/i18n/bg.po
index ea940d7b2d6..7a3f812f306 100644
--- a/addons/product_margin/i18n/bg.po
+++ b/addons/product_margin/i18n/bg.po
@@ -13,7 +13,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-04-17 04:18+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 04:17+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: product_margin
diff --git a/addons/product_margin/i18n/bs.po b/addons/product_margin/i18n/bs.po
index cbcda65fc7e..7ec22230ddd 100644
--- a/addons/product_margin/i18n/bs.po
+++ b/addons/product_margin/i18n/bs.po
@@ -13,7 +13,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-04-17 04:18+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 04:17+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: product_margin
diff --git a/addons/product_margin/i18n/ca.po b/addons/product_margin/i18n/ca.po
index 733524fff02..01dbc2014d2 100644
--- a/addons/product_margin/i18n/ca.po
+++ b/addons/product_margin/i18n/ca.po
@@ -8,13 +8,12 @@ msgstr ""
"Report-Msgid-Bugs-To: support@openerp.com\n"
"POT-Creation-Date: 2009-08-28 16:01+0000\n"
"PO-Revision-Date: 2009-09-30 08:30+0000\n"
-"Last-Translator: Raimon Esteve - http://www.zikzakmedia.com "
-"\n"
+"Last-Translator: Raimon Esteve (Zikzakmedia) \n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-04-17 04:18+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 04:17+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: product_margin
diff --git a/addons/product_margin/i18n/cs.po b/addons/product_margin/i18n/cs.po
index 9dd8bc078e9..6ac2724045a 100644
--- a/addons/product_margin/i18n/cs.po
+++ b/addons/product_margin/i18n/cs.po
@@ -13,7 +13,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-04-17 04:18+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 04:17+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: product_margin
diff --git a/addons/product_margin/i18n/de.po b/addons/product_margin/i18n/de.po
index a3731e7e469..a1d4804b4c0 100644
--- a/addons/product_margin/i18n/de.po
+++ b/addons/product_margin/i18n/de.po
@@ -13,7 +13,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-04-17 04:18+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 04:17+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: product_margin
diff --git a/addons/product_margin/i18n/el.po b/addons/product_margin/i18n/el.po
index b580ec503f3..22ac6b3f731 100644
--- a/addons/product_margin/i18n/el.po
+++ b/addons/product_margin/i18n/el.po
@@ -13,7 +13,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-04-17 04:18+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 04:17+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
"X-Poedit-Country: GREECE\n"
"X-Poedit-Language: Greek\n"
diff --git a/addons/product_margin/i18n/es.po b/addons/product_margin/i18n/es.po
index 1e2a062760a..8cf9fdfc6f0 100644
--- a/addons/product_margin/i18n/es.po
+++ b/addons/product_margin/i18n/es.po
@@ -8,13 +8,13 @@ msgstr ""
"Report-Msgid-Bugs-To: support@openerp.com\n"
"POT-Creation-Date: 2009-08-28 16:01+0000\n"
"PO-Revision-Date: 2009-11-17 11:00+0000\n"
-"Last-Translator: Jordi Esteve - http://www.zikzakmedia.com "
+"Last-Translator: Jordi Esteve (www.zikzakmedia.com) "
"\n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-04-17 04:18+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 04:17+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: product_margin
diff --git a/addons/product_margin/i18n/es_AR.po b/addons/product_margin/i18n/es_AR.po
index a4bb673f2ff..d7b9bdae205 100644
--- a/addons/product_margin/i18n/es_AR.po
+++ b/addons/product_margin/i18n/es_AR.po
@@ -13,7 +13,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-04-17 04:18+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 04:17+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: product_margin
diff --git a/addons/product_margin/i18n/et.po b/addons/product_margin/i18n/et.po
index 73ba427fd83..05c632da919 100644
--- a/addons/product_margin/i18n/et.po
+++ b/addons/product_margin/i18n/et.po
@@ -13,7 +13,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-04-17 04:18+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 04:17+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: product_margin
diff --git a/addons/product_margin/i18n/fi.po b/addons/product_margin/i18n/fi.po
index 855e6a2ee39..44e65535de5 100644
--- a/addons/product_margin/i18n/fi.po
+++ b/addons/product_margin/i18n/fi.po
@@ -14,7 +14,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-04-17 04:18+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 04:17+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: product_margin
diff --git a/addons/product_margin/i18n/fr.po b/addons/product_margin/i18n/fr.po
index 96917669bff..6e6287e4a20 100644
--- a/addons/product_margin/i18n/fr.po
+++ b/addons/product_margin/i18n/fr.po
@@ -13,7 +13,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-04-17 04:18+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 04:17+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: product_margin
diff --git a/addons/product_margin/i18n/hr.po b/addons/product_margin/i18n/hr.po
index 926bd0bbf1e..4970a39c47a 100644
--- a/addons/product_margin/i18n/hr.po
+++ b/addons/product_margin/i18n/hr.po
@@ -13,7 +13,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-04-17 04:18+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 04:17+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: product_margin
diff --git a/addons/product_margin/i18n/hu.po b/addons/product_margin/i18n/hu.po
index 926bd0bbf1e..4970a39c47a 100644
--- a/addons/product_margin/i18n/hu.po
+++ b/addons/product_margin/i18n/hu.po
@@ -13,7 +13,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-04-17 04:18+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 04:17+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: product_margin
diff --git a/addons/product_margin/i18n/id.po b/addons/product_margin/i18n/id.po
index f98a1ad9744..78d51bf151b 100644
--- a/addons/product_margin/i18n/id.po
+++ b/addons/product_margin/i18n/id.po
@@ -13,7 +13,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-04-17 04:18+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 04:17+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: product_margin
diff --git a/addons/product_margin/i18n/it.po b/addons/product_margin/i18n/it.po
index f6ab42e73e3..9375473a5c6 100644
--- a/addons/product_margin/i18n/it.po
+++ b/addons/product_margin/i18n/it.po
@@ -8,12 +8,12 @@ msgstr ""
"Report-Msgid-Bugs-To: support@openerp.com\n"
"POT-Creation-Date: 2009-08-28 16:01+0000\n"
"PO-Revision-Date: 2009-12-29 16:51+0000\n"
-"Last-Translator: Carlo Vettore \n"
+"Last-Translator: Carlo - didotech.com \n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-04-17 04:18+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 04:17+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: product_margin
diff --git a/addons/product_margin/i18n/ko.po b/addons/product_margin/i18n/ko.po
index 6510ee640a8..2a1b0b6a576 100644
--- a/addons/product_margin/i18n/ko.po
+++ b/addons/product_margin/i18n/ko.po
@@ -14,7 +14,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-04-17 04:18+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 04:17+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: product_margin
diff --git a/addons/product_margin/i18n/lt.po b/addons/product_margin/i18n/lt.po
index 926bd0bbf1e..4970a39c47a 100644
--- a/addons/product_margin/i18n/lt.po
+++ b/addons/product_margin/i18n/lt.po
@@ -13,7 +13,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-04-17 04:18+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 04:17+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: product_margin
diff --git a/addons/product_margin/i18n/nl.po b/addons/product_margin/i18n/nl.po
index d0c7a83467f..31402c56e63 100644
--- a/addons/product_margin/i18n/nl.po
+++ b/addons/product_margin/i18n/nl.po
@@ -13,7 +13,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-04-17 04:18+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 04:17+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: product_margin
diff --git a/addons/product_margin/i18n/nl_BE.po b/addons/product_margin/i18n/nl_BE.po
index 0a268de2452..fd4ae1e08ca 100644
--- a/addons/product_margin/i18n/nl_BE.po
+++ b/addons/product_margin/i18n/nl_BE.po
@@ -13,7 +13,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-04-17 04:18+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 04:17+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: product_margin
diff --git a/addons/product_margin/i18n/pl.po b/addons/product_margin/i18n/pl.po
index 3a3b4fa0611..9ee0964a121 100644
--- a/addons/product_margin/i18n/pl.po
+++ b/addons/product_margin/i18n/pl.po
@@ -13,7 +13,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-04-17 04:18+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 04:17+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: product_margin
diff --git a/addons/product_margin/i18n/pt.po b/addons/product_margin/i18n/pt.po
index ee4d908df7d..78ed15e0636 100644
--- a/addons/product_margin/i18n/pt.po
+++ b/addons/product_margin/i18n/pt.po
@@ -13,7 +13,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-04-17 04:18+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 04:17+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: product_margin
diff --git a/addons/product_margin/i18n/pt_BR.po b/addons/product_margin/i18n/pt_BR.po
index 18a3aadca16..ccef56fa8d8 100644
--- a/addons/product_margin/i18n/pt_BR.po
+++ b/addons/product_margin/i18n/pt_BR.po
@@ -13,7 +13,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-04-17 04:18+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 04:17+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: product_margin
diff --git a/addons/product_margin/i18n/ro.po b/addons/product_margin/i18n/ro.po
index 926bd0bbf1e..4970a39c47a 100644
--- a/addons/product_margin/i18n/ro.po
+++ b/addons/product_margin/i18n/ro.po
@@ -13,7 +13,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-04-17 04:18+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 04:17+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: product_margin
diff --git a/addons/product_margin/i18n/ru.po b/addons/product_margin/i18n/ru.po
index 17908db9070..12dc76d040b 100644
--- a/addons/product_margin/i18n/ru.po
+++ b/addons/product_margin/i18n/ru.po
@@ -13,7 +13,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-04-17 04:18+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 04:17+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: product_margin
diff --git a/addons/product_margin/i18n/sl.po b/addons/product_margin/i18n/sl.po
index 520b76f4e7b..c9c313c4dbe 100644
--- a/addons/product_margin/i18n/sl.po
+++ b/addons/product_margin/i18n/sl.po
@@ -13,7 +13,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-04-17 04:18+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 04:17+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: product_margin
diff --git a/addons/product_margin/i18n/sv.po b/addons/product_margin/i18n/sv.po
index 1fc3012fecb..fc0d7209bea 100644
--- a/addons/product_margin/i18n/sv.po
+++ b/addons/product_margin/i18n/sv.po
@@ -13,7 +13,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-04-17 04:18+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 04:17+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: product_margin
diff --git a/addons/product_margin/i18n/tlh.po b/addons/product_margin/i18n/tlh.po
index 5791ae100c5..6c19a01fa88 100644
--- a/addons/product_margin/i18n/tlh.po
+++ b/addons/product_margin/i18n/tlh.po
@@ -13,7 +13,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-04-17 04:18+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 04:17+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: product_margin
diff --git a/addons/product_margin/i18n/tr.po b/addons/product_margin/i18n/tr.po
index 071c9e2d3b3..4f532cf2c5b 100644
--- a/addons/product_margin/i18n/tr.po
+++ b/addons/product_margin/i18n/tr.po
@@ -13,7 +13,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-04-17 04:18+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 04:17+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: product_margin
diff --git a/addons/product_margin/i18n/uk.po b/addons/product_margin/i18n/uk.po
index 850be67b5d9..26f7ba70ef7 100644
--- a/addons/product_margin/i18n/uk.po
+++ b/addons/product_margin/i18n/uk.po
@@ -13,7 +13,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-04-17 04:18+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 04:17+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: product_margin
diff --git a/addons/product_margin/i18n/zh_CN.po b/addons/product_margin/i18n/zh_CN.po
index e1aef43bf12..6cc14d4fa91 100644
--- a/addons/product_margin/i18n/zh_CN.po
+++ b/addons/product_margin/i18n/zh_CN.po
@@ -13,7 +13,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-04-17 04:18+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 04:18+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: product_margin
@@ -30,7 +30,7 @@ msgstr "从"
#: help:product.product,sale_expected:0
msgid ""
"Sum of Multification of Sale Catalog price and quantity of Customer Invoices"
-msgstr "客户发票(销售价×数量)合计"
+msgstr "客户发票 (标价 * 数量) 合计"
#. module: product_margin
#: wizard_field:product.margins,init,to_date:0
@@ -73,12 +73,12 @@ msgstr "产品利润"
#: help:product.product,total_cost:0
msgid ""
"Sum of Multification of Invoice price and quantity of Supplier Invoices "
-msgstr "供应商发票(发票价×数量)合计 "
+msgstr "供应商发票 (发票价 * 数量) 合计 "
#. module: product_margin
#: view:product.product:0
msgid "Catalog Price"
-msgstr "价目表"
+msgstr "(产品列表价格)标价"
#. module: product_margin
#: selection:product.margins,init,invoice_state:0
@@ -89,17 +89,17 @@ msgstr "支付"
#. module: product_margin
#: help:product.product,sales_gap:0
msgid "Excepted Sale - Turn Over"
-msgstr "额外销售-营业额"
+msgstr "预计销售 - 营业额"
#. module: product_margin
#: field:product.product,sale_expected:0
msgid "Expected Sale"
-msgstr "预销售"
+msgstr "预计销售"
#. module: product_margin
#: view:product.product:0
msgid "Standard Price"
-msgstr "标准价格"
+msgstr "成本价格"
#. module: product_margin
#: help:product.product,purchase_num_invoiced:0
@@ -109,7 +109,7 @@ msgstr "供应商发票数量合计"
#. module: product_margin
#: help:product.product,normal_cost:0
msgid "Sum of Multification of Cost price and quantity of Supplier Invoices"
-msgstr "供应商发票 (成本价×数量)合计"
+msgstr "供应商发票 (成本价格 * 数量) 合计"
#. module: product_margin
#: view:product.product:0
@@ -121,7 +121,7 @@ msgstr "营业额"
#: field:product.product,purchase_num_invoiced:0
#: field:product.product,sale_num_invoiced:0
msgid "# Invoiced"
-msgstr "已开票"
+msgstr "已开票数量"
#. module: product_margin
#: view:product.product:0
@@ -137,7 +137,7 @@ msgstr "无效XML视图结构!"
#. module: product_margin
#: help:product.product,expected_margin:0
msgid "Excepted Sale - Normal Cost"
-msgstr "额外销售-普通成本"
+msgstr "预计销售 - 正常成本"
#. module: product_margin
#: field:product.product,expected_margin:0
@@ -158,17 +158,17 @@ msgstr "采购"
#: help:product.product,turnover:0
msgid ""
"Sum of Multification of Invoice price and quantity of Customer Invoices"
-msgstr "客户发票(发票价×数量)合计"
+msgstr "客户发票 (发票价 * 数量) 合计"
#. module: product_margin
#: help:product.product,expected_margin_rate:0
msgid "Expected margin * 100 / Expected Sale"
-msgstr "预计利润率×100/预销售"
+msgstr "预计利润 / 预计销售 * 100"
#. module: product_margin
#: help:product.product,sale_avg_price:0
msgid "Avg. Price in Customer Invoices)"
-msgstr "客户发票价格"
+msgstr "客户发票的平均单价"
#. module: product_margin
#: wizard_view:product.margins,init:0
@@ -184,18 +184,18 @@ msgstr "发票状态"
#. module: product_margin
#: help:product.product,purchase_gap:0
msgid "Normal Cost - Total Cost"
-msgstr "普通成本-总成本"
+msgstr "正常成本 - 总成本"
#. module: product_margin
#: view:product.product:0
#: field:product.product,sales_gap:0
msgid "Sales Gap"
-msgstr "销售差距"
+msgstr "销售差额"
#. module: product_margin
#: field:product.product,normal_cost:0
msgid "Normal Cost"
-msgstr "普通成本"
+msgstr "正常成本"
#. module: product_margin
#: view:product.product:0
@@ -205,7 +205,7 @@ msgstr "采购"
#. module: product_margin
#: help:product.product,purchase_avg_price:0
msgid "Avg. Price in Supplier Invoices "
-msgstr "供应商发票价格 "
+msgstr "供应商发票平均单价 "
#. module: product_margin
#: field:product.product,total_margin:0
@@ -215,12 +215,12 @@ msgstr "总利润"
#. module: product_margin
#: help:product.product,total_margin_rate:0
msgid "Total margin * 100 / Turnover"
-msgstr "总利润×100/营业额"
+msgstr "总利润 / 营业额 * 100"
#. module: product_margin
#: view:product.product:0
msgid "Analysis Criteria"
-msgstr "分析标准"
+msgstr "分析准则"
#. module: product_margin
#: selection:product.margins,init,invoice_state:0
@@ -243,7 +243,7 @@ msgstr "产品利润"
#. module: product_margin
#: field:product.product,purchase_gap:0
msgid "Purchase Gap"
-msgstr "采购缺口"
+msgstr "采购差额"
#. module: product_margin
#: field:product.product,total_margin_rate:0
diff --git a/addons/product_margin/i18n/zh_TW.po b/addons/product_margin/i18n/zh_TW.po
index 7e045dd5dad..a993d658648 100644
--- a/addons/product_margin/i18n/zh_TW.po
+++ b/addons/product_margin/i18n/zh_TW.po
@@ -13,7 +13,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-04-17 04:18+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 04:18+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: product_margin
diff --git a/addons/product_price_unit/product_price_unit.py b/addons/product_price_unit/product_price_unit.py
deleted file mode 100644
index 64439056aca..00000000000
--- a/addons/product_price_unit/product_price_unit.py
+++ /dev/null
@@ -1,1051 +0,0 @@
-# -*- coding: utf-8 -*-
-##############################################################################
-#
-# OpenERP, Open Source Management Solution
-# Copyright (C) 2004-2010 Tiny SPRL ().
-#
-# 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 osv import osv
-from osv import fields
-from tools.translate import _
-import decimal_precision as dp
-import time
-from datetime import datetime
-from dateutil.relativedelta import relativedelta
-
-class product_price_unit(osv.osv):
- _name = "product.price.unit"
- _description = 'Product Price Unit'
- _order = "coefficient asc,name"
- _columns = {
- 'code': fields.char('PU', size=3, required=True, translate=True, help="A three characters code to be placed next to the price"),
- 'coefficient': fields.integer('Coefficient', required=True, help="Values will be calculated as price / coefficient"),
- 'name': fields.char('Price per Unit', size=32, required=True, translate=True, help="Enter something like: Price for 100 units"),
- }
-
-product_price_unit()
-
-class product_category(osv.osv):
- _inherit = "product.category"
- _name = "product.category"
-
- _columns = {
- 'property_stock_location': fields.property('stock.location',
- relation='stock.location', type='many2one',
- string='Stock Location', method=True, view_load=True,
- help="This location will be proposed for the stock move"),
- 'allow_negative_stock' : fields.boolean('Allow Negative Stock', help="Allows negative stock quantities for this category - use with care !"),
- }
-product_category()
-
-class product_template(osv.osv):
- _inherit = "product.template"
- _name = "product.template"
-
- def _get_price_unit_id(self, cr, uid, *args):
- cr.execute('select id from product_price_unit where coefficient = 1')
- res = cr.fetchone()
- return res and res[0] or False
-
- _columns = {
- 'price_unit_id': fields.many2one('product.price.unit','Price Unit', help="Use if Price is not defined for UoM"),
- 'standard_price_coeff': fields.float(string='Standard Price/Coeff',digits=(16,8)) ,
- 'list_price_coeff': fields.float(string='List Price/Coeff',digits=(16,8)),
- 'property_stock_location': fields.property('stock.location',
- relation='stock.location', type='many2one',
- string='Stock Location', method=True, view_load=True,
- help="This location will be proposed for the stock move"),
- 'allow_negative_stock' : fields.boolean('Allow Negative Stock', help="Allows negative stock quantities - use with care !"),
-
- }
-
- _defaults = {
- 'price_unit_id': _get_price_unit_id,
- }
-
- def init(self, cr):
- cr.execute("""
- update product_template
- set price_unit_id = (select id from product_price_unit where coefficient = 1)
- where price_unit_id is null
- and exists (select id from product_price_unit where coefficient = 1)"""
- )
-
-product_template()
-
-class product_product(osv.osv):
- _name = "product.product"
- _inherit = "product.product"
-
- def _avg_price(self, cr, uid, ids, field_names=None, arg=False, context={}):
- res = {}
- for product in self.browse(cr, uid, ids, context=context):
- avg_price = 0.0
- value = self._stock_value( cr, uid, [product.id], ['stock_value',], arg, context)[product.id]['stock_value']
- qty = self._product_available( cr, uid, ids, ['qty_available',], arg, context)[product.id]['qty_available']
- if qty > 0.0 and value > 0.0:
- pu = self.pool.get('product.price.unit').browse(cr, uid, product.price_unit_id.id)
- coeff = pu.coefficient
- avg_price = value / qty * coeff
- res[product.id] = avg_price
- return res
-
- def get_stock_value(self, cr, uid, ids, context=None):
- if not context:
- context = {}
- states=context.get('states',[])
- what=context.get('what',())
- if not ids:
- ids = self.search(cr, uid, [])
- res = {}.fromkeys(ids, 0.0)
- if not ids:
- return res
-
- if context.get('shop', False):
- cr.execute('select warehouse_id from sale_shop where id=%s', (int(context['shop']),))
- res2 = cr.fetchone()
- if res2:
- context['warehouse'] = res2[0]
-
- if context.get('warehouse', False):
- cr.execute('select lot_stock_id from stock_warehouse where id=%s', (int(context['warehouse']),))
- res2 = cr.fetchone()
- if res2:
- context['location'] = res2[0]
-
- if context.get('location', False):
- if type(context['location']) == type(1):
- location_ids = [context['location']]
- else:
- location_ids = context['location']
- else:
- cr.execute("select lot_stock_id from stock_warehouse")
- location_ids = [id for (id,) in cr.fetchall()]
-
- # build the list of ids of children of the location given by id
- if context.get('compute_child',True):
- child_location_ids = self.pool.get('stock.location').search(cr, uid, [('location_id', 'child_of', location_ids)])
- location_ids= len(child_location_ids) and child_location_ids or location_ids
- else:
- location_ids= location_ids
-
- states_str = ','.join(map(lambda s: "'%s'" % s, states))
-
- uoms_o = {}
- product2uom = {}
- for product in self.browse(cr, uid, ids, context=context):
- product2uom[product.id] = product.uom_id.id
- uoms_o[product.uom_id.id] = product.uom_id
-
- prod_ids_str = ','.join(map(str, ids))
- location_ids_str = ','.join(map(str, location_ids))
- results = []
- results2 = []
-
- from_date=context.get('from_date',False)
- to_date=context.get('to_date',False)
- date_str=False
- if from_date and to_date:
- date_str="date_planned>='%s' and date_planned<='%s'"%(from_date,to_date)
- elif from_date:
- date_str="date_planned>='%s'"%(from_date)
- elif to_date:
- date_str="date_planned<='%s'"%(to_date)
-
- cr.execute(
- 'select sum('\
- 'case when location_dest_id in ('+location_ids_str+') then move_value else 0 end + '\
- 'case when location_id in ('+location_ids_str+') then -move_value else 0 end '\
- '), product_id '\
- 'from stock_move '\
- 'where (location_id in ('+location_ids_str+') '\
- 'or location_dest_id in ('+location_ids_str+')) '\
- 'and product_id in ('+prod_ids_str+') '\
- 'and state in ('+states_str+') '+ (date_str and 'and '+date_str+' ' or '') +''\
- 'group by product_id'
- )
- results = cr.fetchall()
-
- for amount, prod_id in results:
- if amount: res[prod_id] += amount
- return res
-
- def _stock_value(self, cr, uid, ids, field_names=None, arg=False, context={}):
- if not field_names:
- field_names=[]
- res = {}
- for id in ids:
- res[id] = {}.fromkeys(field_names, 0.0)
- for f in field_names:
- c = context.copy()
- if f=='stock_value':
- c.update({ 'states':('done',), 'what':('in', 'out') })
- stock=self.get_stock_value(cr,uid,ids,context=c)
- for id in ids:
- res[id][f] = stock.get(id, 0.0)
- return res
-
- def _product_available(self, cr, uid, ids, field_names=None, arg=False, context={}):
- res = super(product_product, self)._product_available(cr, uid, ids, field_names, arg, context)
- for f in field_names:
- c = context.copy()
- if f=='stock_value':
- c.update({ 'states':('done',), 'what':('in', 'out') })
- stock = self.get_product_available(cr, uid, ids, context=c)
- for id in ids:
- res[id][f] = stock.get(id, 0.0)
- return res
-
- _columns = {
- 'stock_value': fields.function(_stock_value, method=True, type='float', string='Value', help="Current Value products in selected locations or all internal if none have been selected.", multi='stock_value'),
- 'average_price': fields.function(_avg_price, method=True, type='float', string='Average Price',digits=(16,4)),
- }
-
- def _check_allow_negative_stock(self, cr, uid, ids):
- for product in self.browse(cr, uid, ids):
- if product.qty_available < 0.0:
- allow_negative = product.allow_negative_stock
- if not allow_negative:
- allow_neagtive = product.categ_id.allow_negative_stock
- if allow_negative != True :
- return False
- return True
-
- _constraints = [(_check_allow_negative_stock, 'Error: Negative stock quantities are not allowed for this product or product category', ['name']),]
-
-
- def on_change_price_unit(self, cr, uid, ids,price_unit_id,standard_price,list_price):
- standard_price_coeff = ''
- list_price_coeff=''
- if price_unit_id:
- pu = self.pool.get('product.price.unit').browse(cr, uid, [price_unit_id])[0]
- coeff = pu.coefficient
- standard_price_coeff = standard_price / coeff
- list_price_coeff = list_price / coeff
- return {'value':{'standard_price_coeff': standard_price_coeff, 'list_price_coeff': list_price_coeff }}
-
- def name_get(self, cr, uid, ids, context={}):
- results = super(product_product, self).name_get(cr, uid, ids, context)
- new_results = []
- for product_id, product_name in results:
- product = self.browse(cr, uid, product_id, context)
- if product.price_unit_id and product.price_unit_id.name:
- product_name = "%s (%s)" %(product_name, product.price_unit_id.name)
- new_results.append((product_id, product_name))
- return new_results
-
- #
- # returns the price respecting the price unit for multiplications qty * price / coeff
- #
- def price_coeff_get(self, cr, uid, ids, ptype='list_price', context={}):
- res = {}
- for product in self.browse(cr, uid, ids, context=context):
- coeff = 1.0
- if product.price_unit_id:
- coeff = product.price_unit_id.coefficient
- res[product.id] = product.price_get(ptype, context)[product.id] / coeff
-
- return res
-
-product_product()
-
-class account_invoice_line(osv.osv):
- _name = "account.invoice.line"
- _inherit = "account.invoice.line"
-
- def _get_price_unit_id(self, cr, uid, *args):
- cr.execute('select id from product_price_unit where coefficient = 1')
- res = cr.fetchone()
- return res and res[0] or False
-
- def _amount_line(self, cr, uid, ids, prop, unknow_none, unknow_dict):
- res = super(account_invoice_line,self)._amount_line(cr, uid, ids, prop, unknow_none, unknow_dict)
- cur_obj = self.pool.get('res.currency')
- for line in self.browse(cr, uid, ids):
- if line.price_unit_id:
- if line.invoice_id:
- res[line.id] = line.price_unit * line.quantity * (1-(line.discount or 0.0)/100.0) / line.price_unit_id.coefficient
- cur = line.invoice_id.currency_id
- res[line.id] = cur_obj.round(cr, uid, cur, res[line.id])
- else:
- res[line.id] = round(line.price_unit * line.quantity * (1-(line.discount or 0.0)/100.0)/ line.price_unit_id.coefficient,self.pool.get('decimal.precision').precision_get(cr, uid, 'Account'))
- return res
-
- _columns = {
- 'price_unit_id': fields.many2one('product.price.unit','Price Unit', help="Use if Price is not defined for UoM"),
- 'price_subtotal': fields.function(_amount_line, method=True, string='Subtotal',store=True, type="float", digits_compute= dp.get_precision('Account')),
- }
- _defaults = {
- 'price_unit_id': _get_price_unit_id,
- }
-
- def price_product_id_change(self, cr, uid, ids, product, uom, qty=0, name='', type='out_invoice', partner_id=False, fposition_id=False, price_unit=False, price_unit_id=False, address_invoice_id=False, currency_id=False, context=None):
- result = super(account_invoice_line, self).product_id_change(cr, uid, ids, product, uom, qty, name, type, partner_id, fposition_id, price_unit, address_invoice_id, currency_id, context)
- if product and 'value' in result:
- pu = self.pool.get('product.product').browse(cr, uid, product)
- if pu.price_unit_id:
- result['value']['price_unit_id'] = pu.price_unit_id.id
- return result
-
-account_invoice_line()
-
-class account_analytic_line(osv.osv):
- _inherit = 'account.analytic.line'
-
- def on_change_unit_amount(self, cr, uid, id, prod_id, unit_amount,company_id,
- unit=False, context=None):
- res = super(account_analytic_line, self).on_change_unit_amount(cr, uid, id, prod_id, unit_amount, company_id, unit, context)
- product_obj = self.pool.get('product.product')
- if prod_id:
- prod = product_obj.browse(cr, uid, prod_id)
- amount_unit = prod.price_coeff_get()[prod.id]
- amount = amount_unit * unit_amount or 1.0
- res['value']['amount'] = - round(amount, 2)
- return res
-
-account_analytic_line()
-
-class account_invoice_tax(osv.osv):
- _inherit = "account.invoice.tax"
-
- def compute(self, cr, uid, invoice_id, context={}):
- tax_grouped = super(account_invoice_tax, self).compute(cr, uid, invoice_id, context)
- tax_obj = self.pool.get('account.tax')
- cur_obj = self.pool.get('res.currency')
- inv = self.pool.get('account.invoice').browse(cr, uid, invoice_id, context)
- company_currency = inv.company_id.currency_id.id
- for t in tax_grouped.values():
- t['base'] = 0.0
- t['base_amount'] = 0.0
- for line in inv.invoice_line:
- if line.price_unit_id:
- for tax in tax_obj.compute(cr, uid, line.invoice_line_tax_id, (line.price_unit* (1-(line.discount or 0.0)/100.0/line.price_unit_id.coefficient)), line.quantity, inv.address_invoice_id.id, line.product_id, inv.partner_id):
- for t in tax_grouped.values():
- t['base'] += tax['price_unit'] * line['quantity'] / line['price_unit_id'].coefficient
- if inv.type in ('out_invoice','in_invoice'):
- t['base_amount'] = cur_obj.compute(cr, uid, inv.currency_id.id, company_currency, t['base'] * tax['base_sign'], context={'date': inv.date_invoice or time.strftime('%Y-%m-%d')}, round=False)
- else:
- t['base_amount'] = cur_obj.compute(cr, uid, inv.currency_id.id, company_currency, t['base'] * tax['ref_base_sign'], context={'date': inv.date_invoice or time.strftime('%Y-%m-%d')}, round=False)
- return tax_grouped
-
-account_invoice_tax()
-
-class hr_expense_line(osv.osv):
- _name = "hr.expense.line"
- _inherit = "hr.expense.line"
-
- def _get_price_unit_id(self, cr, uid, *args):
- cr.execute('select id from product_price_unit where coefficient = 1')
- res = cr.fetchone()
- return res and res[0] or False
-
- def _amount(self, cr, uid, ids, field_name, arg, context):
- if not len(ids):
- return {}
- cr.execute("SELECT l.id,COALESCE(SUM(l.unit_amount*l.unit_quantity/pu.coefficient),0) AS amount FROM hr_expense_line l ,product_price_unit pu WHERE pu.id = l.price_unit_id and l.id =ANY(%s) GROUP BY l.id ",(ids,))
- res = dict(cr.fetchall())
- return res
-
- _columns = {
- 'price_unit_id': fields.many2one('product.price.unit','Price Unit', help="Use if Price is not defined for UoM"),
- 'total_amount': fields.function(_amount, method=True, string='Total'),
- }
- _defaults = {
- 'price_unit_id': _get_price_unit_id,
- }
-hr_expense_line()
-
-class hr_expense_expense(osv.osv):
- _name = "hr.expense.expense"
- _inherit = "hr.expense.expense"
-
- def _amount(self, cr, uid, ids, field_name, arg, context):
- if not len(ids):
- return {}
- cr.execute("SELECT s.id,COALESCE(SUM(l.unit_amount*l.unit_quantity/pu.coefficient),0) AS amount FROM hr_expense_expense s LEFT OUTER JOIN hr_expense_line l ON (s.id=l.expense_id) LEFT JOIN product_price_unit pu ON (pu.id=l.price_unit_id) WHERE s.id = ANY(%s) GROUP BY s.id ",(ids,))
- res = dict(cr.fetchall())
- return res
-
- _columns = {
- 'amount': fields.function(_amount, method=True, string='Total Amount'),
- }
-
-hr_expense_expense()
-
-class mrp_bom(osv.osv):
- _inherit = 'mrp.bom'
-
- def _get_price_unit_id(self, cr, uid, *args):
- cr.execute('select id from product_price_unit where coefficient = 1')
- res = cr.fetchone()
- return res and res[0] or False
-
- _columns = {
- 'price_unit_id': fields.many2one('product.price.unit','Price Unit' ),
- }
-
- _defaults = {
- 'price_unit_id': _get_price_unit_id,
- }
-mrp_bom()
-
-class stock_move(osv.osv):
- _inherit = 'stock.move'
- _columns = {
- 'price_unit_id': fields.many2one('product.price.unit','Price Unit internal'),
- 'price_unit_sale_id': fields.many2one('product.price.unit','Price Unit Sale' ),
- 'move_value': fields.float('Amount', digits_compute= dp.get_precision('Account')),
- 'move_value_sale': fields.float('Amount Sale',digits_compute= dp.get_precision('Account') ),
- }
-stock_move()
-
-class stock_avg_price(osv.osv):
- _name = "stock_avg_price"
- def init(self, cr):
- cr.execute("SELECT true FROM pg_catalog.pg_language WHERE lanname = 'plpgsql';")
- if not cr.fetchall():
- cr.execute("create language plpgsql;")
-
- cr.execute("""
-CREATE OR REPLACE FUNCTION get_stock_avg_price(product_id_i integer,location_id_i integer) RETURNS numeric AS $$
-DECLARE
- avg_price decimal(16,8);
- value float;
- qty float;
- usage_p varchar(32);
-
-BEGIN
-
-select into usage_p usage
- from stock_location
- where id = location_id_i;
-
-if usage_p = 'internal'
-then
-select into value,qty
- sum(case when location_id = location_id_i then -move_value
- when location_dest_id = location_id_i then move_value
- else 0 end),
- sum(case when location_id = location_id_i then -product_qty
- when location_dest_id = location_id_i then product_qty
- else 0 end)
- from stock_move
- where product_id = product_id_i
- and (location_id = location_id_i or location_dest_id = location_id_i)
- and state = 'done';
-
-if qty = 0
- then avg_price = 0;
- else avg_price = value/qty;
-end if;
-end if;
-
-if avg_price is null
- then avg_price = 0;
-end if;
-
-
-RETURN avg_price;
-END;
-$$ LANGUAGE plpgsql;""")
-stock_avg_price()
-
-class sale_order(osv.osv):
- _inherit = 'sale.order'
-
- def _amount_line_tax(self, cr, uid, line, context={}):
- val = super(sale_order,self)._amount_line_tax(cr, uid, line, context)
- if line.price_unit_id:
- for c in self.pool.get('account.tax').compute(cr, uid, line.tax_id, line.price_unit * (1-(line.discount or 0.0)/100.0)/ line.price_unit_id.coefficient, line.product_uom_qty, line.order_id.partner_invoice_id.id, line.product_id, line.order_id.partner_id):
- val+= c['amount']
- return val
-
- def action_ship_create(self, cr, uid, ids, *args):
- val = super(sale_order, self).action_ship_create(cr, uid, ids, *args)
- move_obj = self.pool.get('stock.move')
- for order in self.browse(cr, uid, ids, context={}):
- for line in order.order_line:
- now = datetime.now()
- order_date = datetime.strptime(order.date_order,"%Y-%m-%d")
- date_planned = order_date + relativedelta(days=line.delay or 0.0)
- if date_planned < now:
- date_planned = now
-
- users_roles = self.pool.get('res.users').browse(cr, uid, uid).roles_id
- for role in users_roles:
- if role.name=='Document date manual data':
- date_planned = order_date
- if line.product_id and line.product_id.product_tmpl_id.type in ('product', 'consu'):
- location_id = line.product_id.property_stock_location.id
- if not location_id:
- location_id = line.product_id.categ_id.property_stock_location.id
- if not location_id:
- location_id = order.shop_id.warehouse_id.lot_stock_id.id
- move_ids = move_obj.search(cr, uid, [('sale_line_id','=',line.id)])
- cr.execute("""select get_stock_avg_price(%s,%s) ; """ % (line.product_id.id,location_id))
- res = cr.fetchone()
- stock_avg_price = (res and res[0]) or False
- move_obj.write(cr, uid, move_ids, {
- 'date': line.order_id.date_order,
- 'price_unit' : stock_avg_price,
- 'price_unit_id': line.product_id.price_unit_id.id,
- 'price_unit_sale_id': line.price_unit_id.id,
- 'move_value' : line.product_uom_qty * stock_avg_price,
- 'move_value_sale': line.price_subtotal,
- })
- return True
-sale_order()
-
-class sale_order_line(osv.osv):
- _inherit = 'sale.order.line'
-
- def _get_price_unit_id(self, cr, uid, *args):
- cr.execute('select id from product_price_unit where coefficient = 1')
- res = cr.fetchone()
- return res and res[0] or False
-
- def _amount_line(self, cr, uid, ids, field_name, arg, context):
- res = {}
- cur_obj = self.pool.get('res.currency')
- for line in self.browse(cr, uid, ids):
- res[line.id] = line.price_unit * line.product_uom_qty * (1 - (line.discount or 0.0) / 100.0) / line.price_unit_id.coefficient
- cur = line.order_id.pricelist_id.currency_id
- res[line.id] = cur_obj.round(cr, uid, cur, res[line.id])
- return res
-
- _columns = {
- 'price_unit_id': fields.many2one('product.price.unit','Price Unit'),
- }
-
- _defaults = {
- 'price_unit_id': _get_price_unit_id,
- }
-
- def invoice_line_create(self, cr, uid, ids, context={}):
- created_ids = super(sale_order_line,self).invoice_line_create(cr, uid, ids, context=context)
- inv_line_obj = self.pool.get('account.invoice.line')
- def _get_line_pu_id(line):
- return line.price_unit_id.id
- for line in self.browse(cr, uid, ids, context):
- pu_id = _get_line_pu_id(line)
- inv_line_obj.write(cr, uid, created_ids, {'price_unit_id': pu_id})
- return created_ids
-
- def product_id_change(self, cr, uid, ids, pricelist, product, qty=0,
- uom=False, qty_uos=0, uos=False, name='', partner_id=False,
- lang=False, update_tax=True, date_order=False, packaging=False,
- fiscal_position=False, flag=False):
- result = super(sale_order_line, self).product_id_change(cr, uid, ids, pricelist,
- product, qty, uom, qty_uos, uos, name, partner_id, lang,
- update_tax, date_order, packaging, fiscal_position, flag)
- if not product:
- return result
-
- product_obj = self.pool.get('product.product')
- product_obj = product_obj.browse(cr, uid, product)
- pu_id = product_obj.price_unit_id.id
- result['value']['price_unit_id'] = pu_id
-
- pname = product_obj.name
- if product_obj.variants:
- pname = pname + ' ['+product_obj.variants + ']'
- if product_obj.price_unit_id and product_obj.price_unit_id.coefficient != 1.0:
- pname = pname + ' (' + product_obj.price_unit_id.name + ')'
- result['name'] = pname
- return result
-
-sale_order_line()
-
-class purchase_order(osv.osv):
- _name = "purchase.order"
- _inherit = "purchase.order"
-
- def _calc_amount(self, cr, uid, ids, prop, unknow_none, unknow_dict):
- res = {}
- for order in self.browse(cr, uid, ids):
- res[order.id] = 0
- for oline in order.order_line:
- res[order.id] += oline.price_unit * oline.product_qty / oline.price_unit_id.coefficient
- return res
-
- def _amount_all(self, cr, uid, ids, field_name, arg, context):
- res = super(purchase_order,self)._amount_all(cr, uid, ids, field_name, arg, context)
- cur_obj=self.pool.get('res.currency')
- for order in self.browse(cr, uid, ids):
- res[order.id] = {
- 'amount_untaxed': 0.0,
- 'amount_tax': 0.0,
- 'amount_total': 0.0,
- }
- val = val1 = 0.0
- cur = order.pricelist_id.currency_id
- for line in order.order_line:
- for c in self.pool.get('account.tax').compute(cr, uid, line.taxes_id, line.price_unit, line.product_qty, order.partner_address_id.id, line.product_id, order.partner_id):
- if line.price_unit_id:
- val+= c['amount'] / line.price_unit_id.coefficient
- val1 += line.price_subtotal
- res[order.id]['amount_tax']=cur_obj.round(cr, uid, cur, val)
- res[order.id]['amount_untaxed']=cur_obj.round(cr, uid, cur, val1)
- res[order.id]['amount_total']=res[order.id]['amount_untaxed'] + res[order.id]['amount_tax']
- return res
-
- def _get_order(self, cr, uid, ids, context={}):
- result = {}
- for line in self.pool.get('purchase.order.line').browse(cr, uid, ids, context=context):
- result[line.order_id.id] = True
- return result.keys()
-
- _columns = {
- 'amount_untaxed': fields.function(_amount_all, method=True, digits_compute= dp.get_precision('Purchase Price'), string='Untaxed Amount',
- store={
- 'purchase.order.line': (_get_order, None, 10),
- }, multi="sums"),
- 'amount_tax': fields.function(_amount_all, method=True, digits_compute= dp.get_precision('Purchase Price'), string='Taxes',
- store={
- 'purchase.order.line': (_get_order, None, 10),
- }, multi="sums"),
- 'amount_total': fields.function(_amount_all, method=True, digits_compute= dp.get_precision('Purchase Price'), string='Total',
- store={
- 'purchase.order.line': (_get_order, None, 10),
- }, multi="sums"),
- }
-
- def inv_line_create(self, cr, uid, a, ol):
- result = super(purchase_order, self).inv_line_create(cr, uid, a, ol)
- result[2].update({'price_unit_id': ol.price_unit_id.id})
- return result
-
- def action_picking_create(self,cr, uid, ids, *args):
- picking_id = super(purchase_order, self).action_picking_create(cr, uid, ids, *args)
- move_obj = self.pool.get('stock.move')
- for order in self.browse(cr, uid, ids):
- for line in order.order_line:
- move_ids = move_obj.search(cr, uid, [('purchase_line_id','=',line.id),('picking_id','=',picking_id)])
- move_obj.write(cr, uid, move_ids, {
- 'price_unit_id': line.price_unit_id.id,
- })
- return picking_id
-
-purchase_order()
-
-class purchase_order_line(osv.osv):
- _name = 'purchase.order.line'
- _inherit = 'purchase.order.line'
-
- def _get_price_unit_id(self, cr, uid, *args):
- cr.execute('select id from product_price_unit where coefficient = 1')
- res = cr.fetchone()
- return res and res[0] or False
-
- def _amount_line(self, cr, uid, ids, prop, unknow_none, unknow_dict):
- res = super(purchase_order_line,self)._amount_line(cr, uid, ids, prop, unknow_none, unknow_dict)
- cur_obj=self.pool.get('res.currency')
- for line in self.browse(cr, uid, ids):
- cur = line.order_id.pricelist_id.currency_id
- if line.price_unit_id:
- res[line.id] = cur_obj.round(cr, uid, cur, line.price_unit * line.product_qty / line.price_unit_id.coefficient)
- return res
-
- _columns = {
- 'price_unit_id' : fields.many2one('product.price.unit','Price Unit'),
- 'price_subtotal': fields.function(_amount_line, method=True, string='Subtotal', digits_compute= dp.get_precision('Purchase Price')),
- }
- _defaults = {
- 'price_unit_id': _get_price_unit_id,
- }
-
- def price_product_id_change(self, cr, uid, ids, pricelist, price_unit_id, product, qty, uom,
- partner_id, date_order=False, fiscal_position=False, date_planned=False,
- name=False, price_unit=False, notes=False):
- result = super(purchase_order_line, self).product_id_change(cr, uid, ids, pricelist, product, qty, uom,
- partner_id, date_order, fiscal_position, date_planned, name, price_unit, notes)
- if product and 'value' in result:
- pu = self.pool.get('product.product').browse(cr, uid, product)
- if pu.price_unit_id:
- result['value']['price_unit_id'] = pu.price_unit_id.id
- return result
-
-purchase_order_line()
-
-class stock_partial_move(osv.osv_memory):
- _inherit = "stock.partial.move"
-
- def view_init(self, cr, uid, fields_list, context=None):
- res = super(stock_partial_move, self).view_init(cr, uid, fields_list, context=context)
- move_obj = self.pool.get('stock.move')
- if not context:
- context={}
- moveids = []
- for m in move_obj.browse(cr, uid, context.get('active_ids', [])):
- if m.state in ('done', 'cancel'):
- continue
- if 'move%s_product_id'%(m.id) not in self._columns:
- self._columns['move%s_product_id'%(m.id)] = fields.many2one('product.product',string="Product")
- if 'move%s_product_qty'%(m.id) not in self._columns:
- self._columns['move%s_product_qty'%(m.id)] = fields.float("Quantity")
- if 'move%s_product_uom'%(m.id) not in self._columns:
- self._columns['move%s_product_uom'%(m.id)] = fields.many2one('product.uom',string="Product UOM")
-
- if (m.picking_id.type == 'in') and (m.product_id.cost_method == 'average'):
- if 'move%s_product_price'%(m.id) not in self._columns:
- self._columns['move%s_product_price'%(m.id)] = fields.float("Price")
- if 'move%s_product_currency'%(m.id) not in self._columns:
- self._columns['move%s_product_currency'%(m.id)] = fields.many2one('res.currency',string="Currency")
- if 'move%s_product_price_unit_id'%(m.id) not in self._columns:
- self._columns['move%s_product_price_unit_id'%(m.id)] = fields.float("Price Unit")
- return res
-
- def fields_view_get(self, cr, uid, view_id=None, view_type='form', context=None, toolbar=False,submenu=False):
- result = super(stock_partial_move, self).fields_view_get(cr, uid, view_id, view_type, context, toolbar,submenu)
- move_obj = self.pool.get('stock.move')
- move_ids = context.get('active_ids', False)
- move_ids = move_obj.search(cr, uid, [('id','in',move_ids)])
- _moves_arch_lst = """"""
- result['arch'] = _moves_arch_lst
- result['fields'] = _moves_fields
- return result
-
- def default_get(self, cr, uid, fields, context=None):
- res = super(stock_partial_move, self).default_get(cr, uid, fields, context=context)
- move_obj = self.pool.get('stock.move')
- if not context:
- context={}
- moveids = []
- if 'date' in fields:
- res.update({'date': time.strftime('%Y-%m-%d %H:%M:%S')})
- for m in move_obj.browse(cr, uid, context.get('active_ids', [])):
- if m.state in ('done', 'cancel'):
- continue
- if 'move%s_product_id'%(m.id) in fields:
- res['move%s_product_id'%(m.id)] = m.product_id.id
- if 'move%s_product_qty'%(m.id) in fields:
- res['move%s_product_qty'%(m.id)] = m.product_qty
- if 'move%s_product_uom'%(m.id) in fields:
- res['move%s_product_uom'%(m.id)] = m.product_uom.id
-
- if (m.picking_id.type == 'in') and (m.product_id.cost_method == 'average'):
- price = 0
- price_unit_id = False
- if hasattr(m, 'purchase_line_id') and m.purchase_line_id:
- price = m.purchase_line_id.price_unit
- if hasattr(m, 'purchase_line_id') and m.price_unit_id:
- price_unit_id = m.purchase_line_id.price_unit_id.id
-
- currency = False
- if hasattr(m.picking_id, 'purchase_id') and m.picking_id.purchase_id:
- currency = m.picking_id.purchase_id.pricelist_id.currency_id.id
-
- if 'move%s_product_price'%(m.id) in fields:
- res['move%s_product_price'%(m.id)] = price
- if 'move%s_product_currency'%(m.id) in fields:
- res['move%s_product_currency'%(m.id)] = currency
- if 'move%s_product_price_unit_id'%(m.id) in fields:
- res['move%s_product_price_unit_id'%(m.id)] = price_unit_id
- return res
-
- def do_partial(self, cr, uid, ids, context):
- move_obj = self.pool.get('stock.move')
- move_ids = context.get('active_ids', False)
- partial = self.browse(cr, uid, ids[0], context)
- partial_datas = {
- 'delivery_date' : partial.date
- }
- for m in move_obj.browse(cr, uid, move_ids):
- if m.state in ('done', 'cancel'):
- continue
- partial_datas['move%s'%(m.id)] = {
- 'product_id' : getattr(partial, 'move%s_product_id'%(m.id)).id,
- 'product_qty' : getattr(partial, 'move%s_product_qty'%(m.id)),
- 'product_uom' : getattr(partial, 'move%s_product_uom'%(m.id)).id
- }
-
- if (m.picking_id.type == 'in') and (m.product_id.cost_method == 'average'):
- partial_datas['move%s'%(m.id)].update({
- 'product_price' : getattr(partial, 'move%s_product_price'%(m.id)),
- 'product_currency': getattr(partial, 'move%s_product_currency'%(m.id)).id,
- 'product_price_unit_id' : getattr(partial, 'move%s_product_price_unit_id'%(m.id)),
- })
-
- res = move_obj.do_partial(cr, uid, move_ids, partial_datas, context=context)
- return {}
-
-stock_partial_move()
-
-class stock_partial_picking(osv.osv_memory):
- _inherit = "stock.partial.picking"
-
- def view_init(self, cr, uid, fields_list, context=None):
- res = super(stock_partial_picking, self).view_init(cr, uid, fields_list, context=context)
- pick_obj = self.pool.get('stock.picking')
- if not context:
- context={}
- moveids = []
- for pick in pick_obj.browse(cr, uid, context.get('active_ids', [])):
- for m in pick.move_lines:
- if m.state in ('done', 'cancel'):
- continue
- if 'move%s_product_id'%(m.id) not in self._columns:
- self._columns['move%s_product_id'%(m.id)] = fields.many2one('product.product',string="Product")
- if 'move%s_product_qty'%(m.id) not in self._columns:
- self._columns['move%s_product_qty'%(m.id)] = fields.float("Quantity")
- if 'move%s_product_uom'%(m.id) not in self._columns:
- self._columns['move%s_product_uom'%(m.id)] = fields.many2one('product.uom',string="Product UOM")
-
- if (pick.type == 'in') and (m.product_id.cost_method == 'average'):
- if 'move%s_product_price'%(m.id) not in self._columns:
- self._columns['move%s_product_price'%(m.id)] = fields.float("Price")
- if 'move%s_product_currency'%(m.id) not in self._columns:
- self._columns['move%s_product_currency'%(m.id)] = fields.many2one('res.currency',string="Currency")
- if 'move%s_product_price_unit_id'%(m.id) not in self._columns:
- self._columns['move%s_product_price_unit_id'%(m.id)] = fields.float("Price Unit")
- return res
-
- def fields_view_get(self, cr, uid, view_id=None, view_type='form', context=None, toolbar=False,submenu=False):
- result = super(stock_partial_picking, self).fields_view_get(cr, uid, view_id, view_type, context, toolbar,submenu)
- pick_obj = self.pool.get('stock.picking')
- picking_ids = context.get('active_ids', False)
- picking_ids = pick_obj.search(cr, uid, [('id', 'in', picking_ids)])
- _moves_arch_lst = """"""
- result['arch'] = _moves_arch_lst
- result['fields'] = _moves_fields
- return result
-
- def default_get(self, cr, uid, fields, context=None):
- res = super(stock_partial_picking, self).default_get(cr, uid, fields, context=context)
- pick_obj = self.pool.get('stock.picking')
- if not context:
- context={}
- moveids = []
- if 'date' in fields:
- res.update({'date': time.strftime('%Y-%m-%d %H:%M:%S')})
- for pick in pick_obj.browse(cr, uid, context.get('active_ids', [])):
- if 'partner_id' in fields:
- res.update({'partner_id': pick.address_id.partner_id.id})
- if 'address_id' in fields:
- res.update({'address_id': pick.address_id.id})
- for m in pick.move_lines:
- if m.state in ('done', 'cancel'):
- continue
- if 'move%s_product_id'%(m.id) in fields:
- res['move%s_product_id'%(m.id)] = m.product_id.id
- if 'move%s_product_qty'%(m.id) in fields:
- res['move%s_product_qty'%(m.id)] = m.product_qty
- if 'move%s_product_uom'%(m.id) in fields:
- res['move%s_product_uom'%(m.id)] = m.product_uom.id
-
- if (pick.type == 'in') and (m.product_id.cost_method == 'average'):
- price = 0
- price_unit_id = False
- if hasattr(m, 'purchase_line_id') and m.purchase_line_id:
- price = m.purchase_line_id.price_unit
- if hasattr(m, 'purchase_line_id') and m.price_unit_id:
- price_unit_id = m.purchase_line_id.price_unit_id.id
-
- currency = False
- if hasattr(pick, 'purchase_id') and pick.purchase_id:
- currency = pick.purchase_id.pricelist_id.currency_id.id
-
- if 'move%s_product_price'%(m.id) in fields:
- res['move%s_product_price'%(m.id)] = price
- if 'move%s_product_currency'%(m.id) in fields:
- res['move%s_product_currency'%(m.id)] = currency
- if 'move%s_product_price_unit_id'%(m.id) in fields:
- res['move%s_product_price_unit_id'%(m.id)] = price_unit_id
- return res
-
- def do_partial(self, cr, uid, ids, context):
- pick_obj = self.pool.get('stock.picking')
- picking_ids = context.get('active_ids', False)
- partial = self.browse(cr, uid, ids[0], context)
- partial_datas = {
- 'partner_id' : partial.partner_id and partial.partner_id.id or False,
- 'address_id' : partial.address_id and partial.address_id.id or False,
- 'delivery_date' : partial.date
- }
- for pick in pick_obj.browse(cr, uid, picking_ids):
- for m in pick.move_lines:
- if m.state in ('done', 'cancel'):
- continue
- partial_datas['move%s'%(m.id)] = {
- 'product_id' : getattr(partial, 'move%s_product_id'%(m.id)).id,
- 'product_qty' : getattr(partial, 'move%s_product_qty'%(m.id)),
- 'product_uom' : getattr(partial, 'move%s_product_uom'%(m.id)).id
- }
-
- if (pick.type == 'in') and (m.product_id.cost_method == 'average'):
- partial_datas['move%s'%(m.id)].update({
- 'product_price' : getattr(partial, 'move%s_product_price'%(m.id)),
- 'product_currency': getattr(partial, 'move%s_product_currency'%(m.id)).id,
- 'product_price_unit_id' : getattr(partial, 'move%s_product_price_unit_id'%(m.id)),
- })
- res = pick_obj.do_partial(cr, uid, picking_ids, partial_datas, context=context)
- return {}
-
-stock_partial_picking()
-# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
diff --git a/addons/product_price_unit/product_price_unit_data.xml b/addons/product_price_unit/product_price_unit_data.xml
deleted file mode 100644
index fca300c7009..00000000000
--- a/addons/product_price_unit/product_price_unit_data.xml
+++ /dev/null
@@ -1,32 +0,0 @@
-
-
-
-
-
- Price/Unit
-
- 1
-
-
-
- Price/100 Units
- %
- 100
-
-
-
- Price/1000 Units
- ‰
- 1000
-
-
-
- Price in Cents
- ¢
- 100
-
-
-
-
diff --git a/addons/product_price_unit/product_price_unit_view.xml b/addons/product_price_unit/product_price_unit_view.xml
deleted file mode 100644
index a0f94e841a7..00000000000
--- a/addons/product_price_unit/product_price_unit_view.xml
+++ /dev/null
@@ -1,196 +0,0 @@
-
-
-
-
-
- product_price_unit_form
- product.product
-
- form
-
-
-
-
-
-
-
-
-
-
-
- product.product.tree
- product.product
- tree
-
-
-
-
-
-
-
-
-
-
- product.category.stock.property.form.inherit
- product.category
- form
-
-
-
-
-
-
-
-
-
- product.category.stock.allow_negative.form.inherit
- product.category
- form
-
-
-
-
-
-
-
-
-
- product.normal.stock.property.form.inherit
- product.product
- form
-
-
-
-
-
-
-
-
-
- product.normal.stock.allow_negative.form.inherit
- product.product
- form
-
-
-
-
-
-
-
-
-
-
- invoice_price_unit_form
- account.invoice.line
-
- form
-
-
-
-
-
-
-
-
- invoice_price_unit_form1
- account.invoice.line
-
- form
-
-
-
-
-
-
-
-
-
- invoice_price_unit_tree
- account.invoice.line
-
- tree
-
-
-
-
-
-
-
-
-
- hr_expense_line_price_unit_form
- hr.expense.expense
-
- form
-
-
-
-
-
-
-
-
-
- hr_expense_line_price_unit_tree
- hr.expense.line
-
- tree
-
-
-
-
-
-
-
-
-
- mrp.bom.form.inherit
- mrp.bom
-
- form
-
-
-
-
-
-
-
-
- sale.order.form.inherit5
- sale.order
-
- form
-
-
-
-
-
-
-
-
-
- purchase_order_line_price_unit_form
- purchase.order.line
-
- form
-
-
-
-
-
-
-
-
- purchase_order_line_price_unit_form
- purchase.order.line
-
- form
-
-
-
-
-
-
-
-
-
diff --git a/addons/product_visible_discount/i18n/ca.po b/addons/product_visible_discount/i18n/ca.po
index abf326c2f2c..db4504fe9ef 100644
--- a/addons/product_visible_discount/i18n/ca.po
+++ b/addons/product_visible_discount/i18n/ca.po
@@ -8,13 +8,13 @@ msgstr ""
"Project-Id-Version: openobject-addons\n"
"Report-Msgid-Bugs-To: FULL NAME \n"
"POT-Creation-Date: 2009-03-25 12:11+0000\n"
-"PO-Revision-Date: 2010-01-04 05:40+0000\n"
+"PO-Revision-Date: 2010-06-21 15:58+0000\n"
"Last-Translator: FULL NAME \n"
"Language-Team: Catalan \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-05-21 03:45+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 04:20+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: product_visible_discount
diff --git a/addons/product_visible_discount/i18n/es.po b/addons/product_visible_discount/i18n/es.po
index 8e4ddbabdaf..3bd384ab6dc 100644
--- a/addons/product_visible_discount/i18n/es.po
+++ b/addons/product_visible_discount/i18n/es.po
@@ -8,13 +8,13 @@ msgstr ""
"Project-Id-Version: openobject-addons\n"
"Report-Msgid-Bugs-To: FULL NAME \n"
"POT-Creation-Date: 2009-03-25 12:11+0000\n"
-"PO-Revision-Date: 2010-01-10 09:18+0000\n"
-"Last-Translator: AlbertoGago \n"
+"PO-Revision-Date: 2010-06-21 15:58+0000\n"
+"Last-Translator: FULL NAME \n"
"Language-Team: Spanish \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-05-21 03:45+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 04:20+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: product_visible_discount
diff --git a/addons/product_visible_discount/i18n/fr.po b/addons/product_visible_discount/i18n/fr.po
index 405d8fa00d2..5f3f781e80e 100644
--- a/addons/product_visible_discount/i18n/fr.po
+++ b/addons/product_visible_discount/i18n/fr.po
@@ -1,21 +1,20 @@
-# translation of fr_FR.po to Français
-# Translation of OpenERP Server.
-# This file contains the translation of the following modules:
-# * product_visible_discount
+# French translation for openobject-addons
+# Copyright (c) 2010 Rosetta Contributors and Canonical Ltd 2010
+# This file is distributed under the same license as the openobject-addons package.
+# FIRST AUTHOR , 2010.
#
-# Numerigraphe , 2009.
msgid ""
msgstr ""
-"Project-Id-Version: fr_FR\n"
-"Report-Msgid-Bugs-To: support@openerp.com\n"
+"Project-Id-Version: openobject-addons\n"
+"Report-Msgid-Bugs-To: FULL NAME \n"
"POT-Creation-Date: 2009-03-25 12:11+0000\n"
-"PO-Revision-Date: 2010-01-19 06:12+0000\n"
-"Last-Translator: Numérigraphe \n"
-"Language-Team: Français\n"
+"PO-Revision-Date: 2010-06-21 15:58+0000\n"
+"Last-Translator: FULL NAME \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: 2010-05-21 03:45+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 04:20+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: product_visible_discount
diff --git a/addons/profile_accounting/i18n/ar.po b/addons/profile_accounting/i18n/ar.po
index c30b9033e64..02e092fcda6 100644
--- a/addons/profile_accounting/i18n/ar.po
+++ b/addons/profile_accounting/i18n/ar.po
@@ -13,7 +13,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-04-17 03:55+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 03:53+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: profile_accounting
diff --git a/addons/profile_accounting/i18n/bg.po b/addons/profile_accounting/i18n/bg.po
index 06a22742290..783bc7d61ff 100644
--- a/addons/profile_accounting/i18n/bg.po
+++ b/addons/profile_accounting/i18n/bg.po
@@ -13,7 +13,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-04-17 03:55+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 03:53+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: profile_accounting
diff --git a/addons/profile_accounting/i18n/bs.po b/addons/profile_accounting/i18n/bs.po
index 49a10a19622..da3d6d683b6 100644
--- a/addons/profile_accounting/i18n/bs.po
+++ b/addons/profile_accounting/i18n/bs.po
@@ -13,7 +13,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-04-17 03:55+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 03:53+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: profile_accounting
diff --git a/addons/profile_accounting/i18n/ca.po b/addons/profile_accounting/i18n/ca.po
index 0c36d4185b2..11f91f89bd1 100644
--- a/addons/profile_accounting/i18n/ca.po
+++ b/addons/profile_accounting/i18n/ca.po
@@ -8,13 +8,12 @@ msgstr ""
"Report-Msgid-Bugs-To: support@openerp.com\n"
"POT-Creation-Date: 2009-08-28 16:01+0000\n"
"PO-Revision-Date: 2009-11-17 10:59+0000\n"
-"Last-Translator: Raimon Esteve - http://www.zikzakmedia.com "
-"\n"
+"Last-Translator: Raimon Esteve (Zikzakmedia) \n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-04-17 03:55+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 03:53+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: profile_accounting
diff --git a/addons/profile_accounting/i18n/cs.po b/addons/profile_accounting/i18n/cs.po
index c30b9033e64..02e092fcda6 100644
--- a/addons/profile_accounting/i18n/cs.po
+++ b/addons/profile_accounting/i18n/cs.po
@@ -13,7 +13,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-04-17 03:55+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 03:53+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: profile_accounting
diff --git a/addons/profile_accounting/i18n/de.po b/addons/profile_accounting/i18n/de.po
index 8f467f8204e..96d4744e54e 100644
--- a/addons/profile_accounting/i18n/de.po
+++ b/addons/profile_accounting/i18n/de.po
@@ -13,7 +13,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-04-17 03:55+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 03:53+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: profile_accounting
diff --git a/addons/profile_accounting/i18n/el.po b/addons/profile_accounting/i18n/el.po
index bd433ea026c..4c1e6a98fdc 100644
--- a/addons/profile_accounting/i18n/el.po
+++ b/addons/profile_accounting/i18n/el.po
@@ -13,7 +13,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-04-17 03:55+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 03:53+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
"X-Poedit-Country: GREECE\n"
"X-Poedit-Language: Greek\n"
diff --git a/addons/profile_accounting/i18n/es.po b/addons/profile_accounting/i18n/es.po
index 287d43f5da9..e7af3c3b282 100644
--- a/addons/profile_accounting/i18n/es.po
+++ b/addons/profile_accounting/i18n/es.po
@@ -8,13 +8,13 @@ msgstr ""
"Report-Msgid-Bugs-To: support@openerp.com\n"
"POT-Creation-Date: 2009-08-28 16:01+0000\n"
"PO-Revision-Date: 2009-11-17 10:59+0000\n"
-"Last-Translator: Jordi Esteve - http://www.zikzakmedia.com "
+"Last-Translator: Jordi Esteve (www.zikzakmedia.com) "
"\n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-04-17 03:55+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 03:53+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: profile_accounting
diff --git a/addons/profile_accounting/i18n/es_AR.po b/addons/profile_accounting/i18n/es_AR.po
index fd91ff2de52..38fae65261a 100644
--- a/addons/profile_accounting/i18n/es_AR.po
+++ b/addons/profile_accounting/i18n/es_AR.po
@@ -13,7 +13,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-04-17 03:55+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 03:53+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: profile_accounting
diff --git a/addons/profile_accounting/i18n/et.po b/addons/profile_accounting/i18n/et.po
index a3c6fa78df1..ba2e8c959af 100644
--- a/addons/profile_accounting/i18n/et.po
+++ b/addons/profile_accounting/i18n/et.po
@@ -13,7 +13,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-04-17 03:55+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 03:53+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: profile_accounting
diff --git a/addons/profile_accounting/i18n/fr.po b/addons/profile_accounting/i18n/fr.po
index 1e06cf29db1..fafaa0d325e 100644
--- a/addons/profile_accounting/i18n/fr.po
+++ b/addons/profile_accounting/i18n/fr.po
@@ -13,7 +13,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-04-17 03:55+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 03:53+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: profile_accounting
diff --git a/addons/profile_accounting/i18n/hr.po b/addons/profile_accounting/i18n/hr.po
index c30b9033e64..02e092fcda6 100644
--- a/addons/profile_accounting/i18n/hr.po
+++ b/addons/profile_accounting/i18n/hr.po
@@ -13,7 +13,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-04-17 03:55+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 03:53+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: profile_accounting
diff --git a/addons/profile_accounting/i18n/hu.po b/addons/profile_accounting/i18n/hu.po
index c30b9033e64..02e092fcda6 100644
--- a/addons/profile_accounting/i18n/hu.po
+++ b/addons/profile_accounting/i18n/hu.po
@@ -13,7 +13,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-04-17 03:55+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 03:53+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: profile_accounting
diff --git a/addons/profile_accounting/i18n/id.po b/addons/profile_accounting/i18n/id.po
index 337d50b3d5f..e273596c5d6 100644
--- a/addons/profile_accounting/i18n/id.po
+++ b/addons/profile_accounting/i18n/id.po
@@ -13,7 +13,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-04-17 03:55+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 03:53+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: profile_accounting
diff --git a/addons/profile_accounting/i18n/it.po b/addons/profile_accounting/i18n/it.po
index b33d29d4ca8..72b9670a542 100644
--- a/addons/profile_accounting/i18n/it.po
+++ b/addons/profile_accounting/i18n/it.po
@@ -13,7 +13,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-04-17 03:55+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 03:53+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: profile_accounting
diff --git a/addons/profile_accounting/i18n/ko.po b/addons/profile_accounting/i18n/ko.po
index f05a2195479..b56e1cb7897 100644
--- a/addons/profile_accounting/i18n/ko.po
+++ b/addons/profile_accounting/i18n/ko.po
@@ -14,7 +14,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-04-17 03:55+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 03:53+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: profile_accounting
diff --git a/addons/profile_accounting/i18n/lt.po b/addons/profile_accounting/i18n/lt.po
index c30b9033e64..02e092fcda6 100644
--- a/addons/profile_accounting/i18n/lt.po
+++ b/addons/profile_accounting/i18n/lt.po
@@ -13,7 +13,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-04-17 03:55+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 03:53+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: profile_accounting
diff --git a/addons/profile_accounting/i18n/nl.po b/addons/profile_accounting/i18n/nl.po
index 37b28819b0c..ae6d67d2fc7 100644
--- a/addons/profile_accounting/i18n/nl.po
+++ b/addons/profile_accounting/i18n/nl.po
@@ -13,7 +13,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-04-17 03:55+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 03:53+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: profile_accounting
diff --git a/addons/profile_accounting/i18n/nl_BE.po b/addons/profile_accounting/i18n/nl_BE.po
index f52b6065836..3b4170d28a7 100644
--- a/addons/profile_accounting/i18n/nl_BE.po
+++ b/addons/profile_accounting/i18n/nl_BE.po
@@ -13,7 +13,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-04-17 03:55+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 03:53+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: profile_accounting
diff --git a/addons/profile_accounting/i18n/pl.po b/addons/profile_accounting/i18n/pl.po
index be89ead2d63..87953075c40 100644
--- a/addons/profile_accounting/i18n/pl.po
+++ b/addons/profile_accounting/i18n/pl.po
@@ -13,7 +13,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-05-27 03:42+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 03:53+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: profile_accounting
diff --git a/addons/profile_accounting/i18n/pt.po b/addons/profile_accounting/i18n/pt.po
index 604a2d49562..37cfe023fe0 100644
--- a/addons/profile_accounting/i18n/pt.po
+++ b/addons/profile_accounting/i18n/pt.po
@@ -13,7 +13,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-04-17 03:55+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 03:53+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: profile_accounting
diff --git a/addons/profile_accounting/i18n/pt_BR.po b/addons/profile_accounting/i18n/pt_BR.po
index 39a748c1814..4c56eb93b68 100644
--- a/addons/profile_accounting/i18n/pt_BR.po
+++ b/addons/profile_accounting/i18n/pt_BR.po
@@ -13,7 +13,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-04-17 03:55+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 03:53+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: profile_accounting
diff --git a/addons/profile_accounting/i18n/ro.po b/addons/profile_accounting/i18n/ro.po
index be505c014b1..5a2a07520ee 100644
--- a/addons/profile_accounting/i18n/ro.po
+++ b/addons/profile_accounting/i18n/ro.po
@@ -13,7 +13,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-04-17 03:55+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 03:53+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: profile_accounting
diff --git a/addons/profile_accounting/i18n/ru.po b/addons/profile_accounting/i18n/ru.po
index 5cbb1163ae4..cfc8b1a6b28 100644
--- a/addons/profile_accounting/i18n/ru.po
+++ b/addons/profile_accounting/i18n/ru.po
@@ -13,7 +13,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-04-17 03:55+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 03:53+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: profile_accounting
diff --git a/addons/profile_accounting/i18n/sl.po b/addons/profile_accounting/i18n/sl.po
index e3e1d9d836c..148f5c12894 100644
--- a/addons/profile_accounting/i18n/sl.po
+++ b/addons/profile_accounting/i18n/sl.po
@@ -13,7 +13,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-04-17 03:55+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 03:53+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: profile_accounting
diff --git a/addons/profile_accounting/i18n/sv.po b/addons/profile_accounting/i18n/sv.po
index 2ddc1b08b40..9f4b0c299f5 100644
--- a/addons/profile_accounting/i18n/sv.po
+++ b/addons/profile_accounting/i18n/sv.po
@@ -13,7 +13,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-04-17 03:55+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 03:53+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: profile_accounting
diff --git a/addons/profile_accounting/i18n/tlh.po b/addons/profile_accounting/i18n/tlh.po
index 0fe3d216163..d6a3c6f66e8 100644
--- a/addons/profile_accounting/i18n/tlh.po
+++ b/addons/profile_accounting/i18n/tlh.po
@@ -13,7 +13,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-04-17 03:55+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 03:53+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: profile_accounting
diff --git a/addons/profile_accounting/i18n/tr.po b/addons/profile_accounting/i18n/tr.po
index 881c62d907a..04d6a8a3fd0 100644
--- a/addons/profile_accounting/i18n/tr.po
+++ b/addons/profile_accounting/i18n/tr.po
@@ -13,7 +13,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-04-17 03:55+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 03:53+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: profile_accounting
diff --git a/addons/profile_accounting/i18n/uk.po b/addons/profile_accounting/i18n/uk.po
index 36e75ab8daa..c4234d70d91 100644
--- a/addons/profile_accounting/i18n/uk.po
+++ b/addons/profile_accounting/i18n/uk.po
@@ -13,7 +13,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-04-17 03:55+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 03:53+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: profile_accounting
diff --git a/addons/profile_accounting/i18n/zh_CN.po b/addons/profile_accounting/i18n/zh_CN.po
index d745deb256c..8282be3553c 100644
--- a/addons/profile_accounting/i18n/zh_CN.po
+++ b/addons/profile_accounting/i18n/zh_CN.po
@@ -13,7 +13,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-04-17 03:55+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 03:53+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: profile_accounting
diff --git a/addons/profile_accounting/i18n/zh_TW.po b/addons/profile_accounting/i18n/zh_TW.po
index 8ece6f304bb..470064334d4 100644
--- a/addons/profile_accounting/i18n/zh_TW.po
+++ b/addons/profile_accounting/i18n/zh_TW.po
@@ -13,7 +13,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-04-17 03:55+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 03:53+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: profile_accounting
diff --git a/addons/profile_manufacturing/i18n/ar.po b/addons/profile_manufacturing/i18n/ar.po
index fb71d8b0504..e0a7975fa4b 100644
--- a/addons/profile_manufacturing/i18n/ar.po
+++ b/addons/profile_manufacturing/i18n/ar.po
@@ -13,7 +13,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-04-17 04:15+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 04:14+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: profile_manufacturing
diff --git a/addons/profile_manufacturing/i18n/bg.po b/addons/profile_manufacturing/i18n/bg.po
index dbf6f093342..2f0335cae0f 100644
--- a/addons/profile_manufacturing/i18n/bg.po
+++ b/addons/profile_manufacturing/i18n/bg.po
@@ -13,7 +13,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-04-17 04:15+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 04:14+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: profile_manufacturing
diff --git a/addons/profile_manufacturing/i18n/bs.po b/addons/profile_manufacturing/i18n/bs.po
index 57ee09f02de..38a66b0d9ac 100644
--- a/addons/profile_manufacturing/i18n/bs.po
+++ b/addons/profile_manufacturing/i18n/bs.po
@@ -13,7 +13,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-04-17 04:15+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 04:14+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: profile_manufacturing
diff --git a/addons/profile_manufacturing/i18n/ca.po b/addons/profile_manufacturing/i18n/ca.po
index cb34864e9df..93ee8ce40d6 100644
--- a/addons/profile_manufacturing/i18n/ca.po
+++ b/addons/profile_manufacturing/i18n/ca.po
@@ -8,13 +8,12 @@ msgstr ""
"Report-Msgid-Bugs-To: support@openerp.com\n"
"POT-Creation-Date: 2009-08-28 16:01+0000\n"
"PO-Revision-Date: 2009-11-17 10:58+0000\n"
-"Last-Translator: Raimon Esteve - http://www.zikzakmedia.com "
-"\n"
+"Last-Translator: Raimon Esteve (Zikzakmedia) \n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-04-17 04:15+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 04:14+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: profile_manufacturing
diff --git a/addons/profile_manufacturing/i18n/cs.po b/addons/profile_manufacturing/i18n/cs.po
index fb71d8b0504..e0a7975fa4b 100644
--- a/addons/profile_manufacturing/i18n/cs.po
+++ b/addons/profile_manufacturing/i18n/cs.po
@@ -13,7 +13,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-04-17 04:15+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 04:14+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: profile_manufacturing
diff --git a/addons/profile_manufacturing/i18n/de.po b/addons/profile_manufacturing/i18n/de.po
index 7f7c972f5cd..d5c0a27afd1 100644
--- a/addons/profile_manufacturing/i18n/de.po
+++ b/addons/profile_manufacturing/i18n/de.po
@@ -13,7 +13,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-04-17 04:16+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 04:14+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: profile_manufacturing
diff --git a/addons/profile_manufacturing/i18n/el.po b/addons/profile_manufacturing/i18n/el.po
index 7db84baff89..5a7b7b781ea 100644
--- a/addons/profile_manufacturing/i18n/el.po
+++ b/addons/profile_manufacturing/i18n/el.po
@@ -13,7 +13,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-04-17 04:16+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 04:14+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
"X-Poedit-Country: GREECE\n"
"X-Poedit-Language: Greek\n"
diff --git a/addons/profile_manufacturing/i18n/es.po b/addons/profile_manufacturing/i18n/es.po
index 92ea8b19782..8f34431aa66 100644
--- a/addons/profile_manufacturing/i18n/es.po
+++ b/addons/profile_manufacturing/i18n/es.po
@@ -8,13 +8,13 @@ msgstr ""
"Report-Msgid-Bugs-To: support@openerp.com\n"
"POT-Creation-Date: 2009-08-28 16:01+0000\n"
"PO-Revision-Date: 2009-11-17 10:58+0000\n"
-"Last-Translator: Jordi Esteve - http://www.zikzakmedia.com "
+"Last-Translator: Jordi Esteve (www.zikzakmedia.com) "
"\n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-04-17 04:16+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 04:14+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: profile_manufacturing
diff --git a/addons/profile_manufacturing/i18n/es_AR.po b/addons/profile_manufacturing/i18n/es_AR.po
index d6f3c9ea1e1..53ca50958d3 100644
--- a/addons/profile_manufacturing/i18n/es_AR.po
+++ b/addons/profile_manufacturing/i18n/es_AR.po
@@ -13,7 +13,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-04-17 04:16+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 04:15+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: profile_manufacturing
diff --git a/addons/profile_manufacturing/i18n/et.po b/addons/profile_manufacturing/i18n/et.po
index 57a3ac58281..f8b47e57ffa 100644
--- a/addons/profile_manufacturing/i18n/et.po
+++ b/addons/profile_manufacturing/i18n/et.po
@@ -13,7 +13,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-04-17 04:15+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 04:14+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: profile_manufacturing
diff --git a/addons/profile_manufacturing/i18n/fr.po b/addons/profile_manufacturing/i18n/fr.po
index 0972a087674..1f20351c62d 100644
--- a/addons/profile_manufacturing/i18n/fr.po
+++ b/addons/profile_manufacturing/i18n/fr.po
@@ -13,7 +13,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-04-17 04:15+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 04:14+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: profile_manufacturing
diff --git a/addons/profile_manufacturing/i18n/hr.po b/addons/profile_manufacturing/i18n/hr.po
index ace2f27a881..ec7bb5baa4c 100644
--- a/addons/profile_manufacturing/i18n/hr.po
+++ b/addons/profile_manufacturing/i18n/hr.po
@@ -13,7 +13,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-04-17 04:16+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 04:14+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: profile_manufacturing
diff --git a/addons/profile_manufacturing/i18n/hu.po b/addons/profile_manufacturing/i18n/hu.po
index 9bb575c4a7e..e0a7975fa4b 100644
--- a/addons/profile_manufacturing/i18n/hu.po
+++ b/addons/profile_manufacturing/i18n/hu.po
@@ -13,7 +13,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-04-17 04:16+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 04:14+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: profile_manufacturing
diff --git a/addons/profile_manufacturing/i18n/id.po b/addons/profile_manufacturing/i18n/id.po
index baebccba30a..189ab19eac9 100644
--- a/addons/profile_manufacturing/i18n/id.po
+++ b/addons/profile_manufacturing/i18n/id.po
@@ -13,7 +13,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-04-17 04:16+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 04:14+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: profile_manufacturing
diff --git a/addons/profile_manufacturing/i18n/it.po b/addons/profile_manufacturing/i18n/it.po
index bb081a06bb5..41edfc41461 100644
--- a/addons/profile_manufacturing/i18n/it.po
+++ b/addons/profile_manufacturing/i18n/it.po
@@ -13,7 +13,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-04-17 04:16+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 04:14+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: profile_manufacturing
diff --git a/addons/profile_manufacturing/i18n/ko.po b/addons/profile_manufacturing/i18n/ko.po
index ac009ccad2f..a24cdffe5cb 100644
--- a/addons/profile_manufacturing/i18n/ko.po
+++ b/addons/profile_manufacturing/i18n/ko.po
@@ -14,7 +14,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-04-17 04:16+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 04:14+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: profile_manufacturing
diff --git a/addons/profile_manufacturing/i18n/lt.po b/addons/profile_manufacturing/i18n/lt.po
index 9bb575c4a7e..e0a7975fa4b 100644
--- a/addons/profile_manufacturing/i18n/lt.po
+++ b/addons/profile_manufacturing/i18n/lt.po
@@ -13,7 +13,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-04-17 04:16+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 04:14+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: profile_manufacturing
diff --git a/addons/profile_manufacturing/i18n/nl.po b/addons/profile_manufacturing/i18n/nl.po
index 43fc7db315a..44d4a54dbca 100644
--- a/addons/profile_manufacturing/i18n/nl.po
+++ b/addons/profile_manufacturing/i18n/nl.po
@@ -13,7 +13,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-04-23 03:45+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 04:14+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: profile_manufacturing
diff --git a/addons/profile_manufacturing/i18n/nl_BE.po b/addons/profile_manufacturing/i18n/nl_BE.po
index 9815cf87350..064f7813ca6 100644
--- a/addons/profile_manufacturing/i18n/nl_BE.po
+++ b/addons/profile_manufacturing/i18n/nl_BE.po
@@ -13,7 +13,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-04-17 04:16+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 04:15+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: profile_manufacturing
diff --git a/addons/profile_manufacturing/i18n/pl.po b/addons/profile_manufacturing/i18n/pl.po
index 9b653d520b3..33d2566706e 100644
--- a/addons/profile_manufacturing/i18n/pl.po
+++ b/addons/profile_manufacturing/i18n/pl.po
@@ -13,7 +13,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-05-27 03:42+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 04:14+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: profile_manufacturing
diff --git a/addons/profile_manufacturing/i18n/pt.po b/addons/profile_manufacturing/i18n/pt.po
index c29f1a06f74..c695728f1b3 100644
--- a/addons/profile_manufacturing/i18n/pt.po
+++ b/addons/profile_manufacturing/i18n/pt.po
@@ -13,7 +13,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-04-17 04:16+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 04:14+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: profile_manufacturing
diff --git a/addons/profile_manufacturing/i18n/pt_BR.po b/addons/profile_manufacturing/i18n/pt_BR.po
index ca245a1e0dd..1e1829fdee9 100644
--- a/addons/profile_manufacturing/i18n/pt_BR.po
+++ b/addons/profile_manufacturing/i18n/pt_BR.po
@@ -13,7 +13,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-05-05 03:48+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 04:14+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: profile_manufacturing
diff --git a/addons/profile_manufacturing/i18n/ro.po b/addons/profile_manufacturing/i18n/ro.po
index 9bb575c4a7e..e0a7975fa4b 100644
--- a/addons/profile_manufacturing/i18n/ro.po
+++ b/addons/profile_manufacturing/i18n/ro.po
@@ -13,7 +13,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-04-17 04:16+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 04:14+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: profile_manufacturing
diff --git a/addons/profile_manufacturing/i18n/ru.po b/addons/profile_manufacturing/i18n/ru.po
index af21de1057b..87151cc881a 100644
--- a/addons/profile_manufacturing/i18n/ru.po
+++ b/addons/profile_manufacturing/i18n/ru.po
@@ -13,7 +13,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-04-17 04:16+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 04:14+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: profile_manufacturing
diff --git a/addons/profile_manufacturing/i18n/sl.po b/addons/profile_manufacturing/i18n/sl.po
index 9de117d7c24..1472941af75 100644
--- a/addons/profile_manufacturing/i18n/sl.po
+++ b/addons/profile_manufacturing/i18n/sl.po
@@ -13,7 +13,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-04-17 04:16+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 04:14+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: profile_manufacturing
diff --git a/addons/profile_manufacturing/i18n/sv.po b/addons/profile_manufacturing/i18n/sv.po
index f1755f9fd47..9a051418285 100644
--- a/addons/profile_manufacturing/i18n/sv.po
+++ b/addons/profile_manufacturing/i18n/sv.po
@@ -13,7 +13,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-04-17 04:16+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 04:14+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: profile_manufacturing
diff --git a/addons/profile_manufacturing/i18n/tlh.po b/addons/profile_manufacturing/i18n/tlh.po
index 0d5a9823038..c5c229a8b2d 100644
--- a/addons/profile_manufacturing/i18n/tlh.po
+++ b/addons/profile_manufacturing/i18n/tlh.po
@@ -13,7 +13,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-04-17 04:16+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 04:14+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: profile_manufacturing
diff --git a/addons/profile_manufacturing/i18n/tr.po b/addons/profile_manufacturing/i18n/tr.po
index 7cfce567c4d..cd22bf5507d 100644
--- a/addons/profile_manufacturing/i18n/tr.po
+++ b/addons/profile_manufacturing/i18n/tr.po
@@ -13,7 +13,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-04-17 04:16+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 04:14+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: profile_manufacturing
diff --git a/addons/profile_manufacturing/i18n/uk.po b/addons/profile_manufacturing/i18n/uk.po
index 24ab6e34ce9..06f52ce1490 100644
--- a/addons/profile_manufacturing/i18n/uk.po
+++ b/addons/profile_manufacturing/i18n/uk.po
@@ -13,7 +13,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-04-17 04:16+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 04:14+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: profile_manufacturing
diff --git a/addons/profile_manufacturing/i18n/zh_CN.po b/addons/profile_manufacturing/i18n/zh_CN.po
index dab36fed3b4..b35db514fec 100644
--- a/addons/profile_manufacturing/i18n/zh_CN.po
+++ b/addons/profile_manufacturing/i18n/zh_CN.po
@@ -13,7 +13,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-04-17 04:16+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 04:15+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: profile_manufacturing
diff --git a/addons/profile_manufacturing/i18n/zh_TW.po b/addons/profile_manufacturing/i18n/zh_TW.po
index 64001b07c8e..a4fa057e6c4 100644
--- a/addons/profile_manufacturing/i18n/zh_TW.po
+++ b/addons/profile_manufacturing/i18n/zh_TW.po
@@ -13,7 +13,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-04-17 04:16+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 04:15+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: profile_manufacturing
diff --git a/addons/project/__init__.py b/addons/project/__init__.py
index 6347cd9dd29..44154c8ae05 100644
--- a/addons/project/__init__.py
+++ b/addons/project/__init__.py
@@ -25,6 +25,7 @@ import installer
import project_mailgate
import report
import wizard
+import res_partner
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
diff --git a/addons/project/__openerp__.py b/addons/project/__openerp__.py
index 5d535963422..03b72e09e38 100644
--- a/addons/project/__openerp__.py
+++ b/addons/project/__openerp__.py
@@ -46,6 +46,7 @@ work done on tasks, eso. It is able to render planning, order tasks, eso.
"project_report.xml",
"process/task_process.xml",
"project_installer.xml",
+ "res_partner_view.xml",
"report/project_report_view.xml",
"wizard/project_close_task_view.xml",
"board_project_view.xml",
diff --git a/addons/project/board_project_demo.xml b/addons/project/board_project_demo.xml
index fa92e92f092..2a160b4454f 100644
--- a/addons/project/board_project_demo.xml
+++ b/addons/project/board_project_demo.xml
@@ -7,13 +7,13 @@
Administrator shortcut
Demo user startup menu
-->
-
+
diff --git a/addons/project/i18n/ar.po b/addons/project/i18n/ar.po
index 76bd2597cfe..4950c13eed8 100644
--- a/addons/project/i18n/ar.po
+++ b/addons/project/i18n/ar.po
@@ -13,7 +13,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-04-17 03:54+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 03:52+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: project
diff --git a/addons/project/i18n/bg.po b/addons/project/i18n/bg.po
index 9c49ba0f28a..06450cbac8e 100644
--- a/addons/project/i18n/bg.po
+++ b/addons/project/i18n/bg.po
@@ -13,7 +13,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-05-17 05:01+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 03:52+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: project
diff --git a/addons/project/i18n/bs.po b/addons/project/i18n/bs.po
index 38821f10eec..df712b7c29e 100644
--- a/addons/project/i18n/bs.po
+++ b/addons/project/i18n/bs.po
@@ -13,7 +13,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-04-17 03:54+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 03:52+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: project
diff --git a/addons/project/i18n/ca.po b/addons/project/i18n/ca.po
index 078d4ccbcf9..3495ba67bd1 100644
--- a/addons/project/i18n/ca.po
+++ b/addons/project/i18n/ca.po
@@ -14,7 +14,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-04-17 03:54+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 03:52+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: project
diff --git a/addons/project/i18n/cs.po b/addons/project/i18n/cs.po
index d61610b77d9..e26336d46c9 100644
--- a/addons/project/i18n/cs.po
+++ b/addons/project/i18n/cs.po
@@ -13,7 +13,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-04-17 03:54+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 03:52+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: project
diff --git a/addons/project/i18n/de.po b/addons/project/i18n/de.po
index 30934319ef5..02e4175939d 100644
--- a/addons/project/i18n/de.po
+++ b/addons/project/i18n/de.po
@@ -13,7 +13,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-04-17 03:54+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 03:52+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: project
diff --git a/addons/project/i18n/el.po b/addons/project/i18n/el.po
index 32dc23e61fa..7e4d3040364 100644
--- a/addons/project/i18n/el.po
+++ b/addons/project/i18n/el.po
@@ -13,7 +13,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-04-17 03:54+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 03:52+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
"X-Poedit-Country: GREECE\n"
"X-Poedit-Language: Greek\n"
diff --git a/addons/project/i18n/es.po b/addons/project/i18n/es.po
index 0a07247c901..7f5b605cdf1 100644
--- a/addons/project/i18n/es.po
+++ b/addons/project/i18n/es.po
@@ -7,14 +7,14 @@ msgstr ""
"Project-Id-Version: OpenERP Server 5.0.0\n"
"Report-Msgid-Bugs-To: support@openerp.com\n"
"POT-Creation-Date: 2009-08-28 16:01+0000\n"
-"PO-Revision-Date: 2009-12-31 12:49+0000\n"
-"Last-Translator: Albert Cervera i Areny - http://www.NaN-tic.com \n"
+"PO-Revision-Date: 2010-06-23 17:31+0000\n"
+"Last-Translator: Jordi Esteve (www.zikzakmedia.com) "
+"\n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-04-17 03:55+0000\n"
+"X-Launchpad-Export-Date: 2010-06-26 03:57+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: project
@@ -185,7 +185,7 @@ msgstr ""
#: model:ir.actions.act_window,name:project.action_view_task5_prog_prog
#: model:ir.ui.menu,name:project.menu_tasks_yours_prog_prog
msgid "My Tasks in Progress"
-msgstr "Mis tareas en proceso"
+msgstr "Mis tareas en progreso"
#. module: project
#: view:project.project:0
@@ -480,7 +480,7 @@ msgstr "Mis tareas pendientes"
#: model:ir.actions.act_window,name:project.action_view_task6_prog
#: model:ir.ui.menu,name:project.menu_action_view_task6_prog
msgid "Tasks in Progress"
-msgstr "Tareas en proceso"
+msgstr "Tareas en progreso"
#. module: project
#: model:ir.actions.act_window,name:project.action_view_task7
@@ -1043,7 +1043,7 @@ msgstr "Trabajo realizado"
#. module: project
#: selection:project.project,state:0
msgid "Running"
-msgstr "En proceso"
+msgstr "En progreso"
#. module: project
#: help:project.project,parent_id:0
diff --git a/addons/project/i18n/es_AR.po b/addons/project/i18n/es_AR.po
index df44c6c9c38..a4029961aa2 100644
--- a/addons/project/i18n/es_AR.po
+++ b/addons/project/i18n/es_AR.po
@@ -13,7 +13,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-04-17 03:55+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 03:53+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: project
diff --git a/addons/project/i18n/es_EC.po b/addons/project/i18n/es_EC.po
index 49443b434be..3d0020195e4 100644
--- a/addons/project/i18n/es_EC.po
+++ b/addons/project/i18n/es_EC.po
@@ -14,7 +14,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-04-17 03:55+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 03:53+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: project
diff --git a/addons/project/i18n/et.po b/addons/project/i18n/et.po
index 81893655905..74de3ee15ab 100644
--- a/addons/project/i18n/et.po
+++ b/addons/project/i18n/et.po
@@ -13,7 +13,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-04-17 03:54+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 03:52+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: project
diff --git a/addons/project/i18n/fi.po b/addons/project/i18n/fi.po
index f1c120a4c90..f2eb2d7844d 100644
--- a/addons/project/i18n/fi.po
+++ b/addons/project/i18n/fi.po
@@ -14,7 +14,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-04-17 03:54+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 03:52+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: project
diff --git a/addons/project/i18n/fr.po b/addons/project/i18n/fr.po
index 2c2ed96286d..ab9147bd805 100644
--- a/addons/project/i18n/fr.po
+++ b/addons/project/i18n/fr.po
@@ -13,7 +13,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-04-17 03:54+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 03:52+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: project
diff --git a/addons/project/i18n/hr.po b/addons/project/i18n/hr.po
index ea51f087741..3df3a010215 100644
--- a/addons/project/i18n/hr.po
+++ b/addons/project/i18n/hr.po
@@ -13,7 +13,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-04-17 03:54+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 03:53+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
"Language: hr\n"
diff --git a/addons/project/i18n/hu.po b/addons/project/i18n/hu.po
index 76bd2597cfe..4950c13eed8 100644
--- a/addons/project/i18n/hu.po
+++ b/addons/project/i18n/hu.po
@@ -13,7 +13,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-04-17 03:54+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 03:52+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: project
diff --git a/addons/project/i18n/id.po b/addons/project/i18n/id.po
index 67e3496e269..c47ea975855 100644
--- a/addons/project/i18n/id.po
+++ b/addons/project/i18n/id.po
@@ -13,7 +13,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-04-17 03:54+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 03:52+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: project
diff --git a/addons/project/i18n/it.po b/addons/project/i18n/it.po
index 106c705c508..96bdf09cfc6 100644
--- a/addons/project/i18n/it.po
+++ b/addons/project/i18n/it.po
@@ -8,12 +8,12 @@ msgstr ""
"Report-Msgid-Bugs-To: support@openerp.com\n"
"POT-Creation-Date: 2009-08-28 16:01+0000\n"
"PO-Revision-Date: 2010-03-09 14:12+0000\n"
-"Last-Translator: Carlo Vettore \n"
+"Last-Translator: Carlo - didotech.com \n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-04-17 03:54+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 03:52+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: project
diff --git a/addons/project/i18n/ko.po b/addons/project/i18n/ko.po
index 8f810fe9e13..21e7cc0db09 100644
--- a/addons/project/i18n/ko.po
+++ b/addons/project/i18n/ko.po
@@ -14,7 +14,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-04-17 03:54+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 03:52+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: project
diff --git a/addons/project/i18n/lt.po b/addons/project/i18n/lt.po
index 27d4cb3fc9f..77812053e24 100644
--- a/addons/project/i18n/lt.po
+++ b/addons/project/i18n/lt.po
@@ -13,7 +13,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-05-20 05:23+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 03:52+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: project
diff --git a/addons/project/i18n/lv.po b/addons/project/i18n/lv.po
index 6dfb8dd80e1..7325dfe1a2a 100644
--- a/addons/project/i18n/lv.po
+++ b/addons/project/i18n/lv.po
@@ -14,7 +14,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-04-17 03:54+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 03:52+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: project
diff --git a/addons/project/i18n/nl.po b/addons/project/i18n/nl.po
index a401f752ea9..c91e7739a7d 100644
--- a/addons/project/i18n/nl.po
+++ b/addons/project/i18n/nl.po
@@ -13,7 +13,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-04-17 03:54+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 03:52+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: project
diff --git a/addons/project/i18n/nl_BE.po b/addons/project/i18n/nl_BE.po
index e15937205ec..5eed7107407 100644
--- a/addons/project/i18n/nl_BE.po
+++ b/addons/project/i18n/nl_BE.po
@@ -13,7 +13,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-04-17 03:55+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 03:53+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: project
diff --git a/addons/project/i18n/pl.po b/addons/project/i18n/pl.po
index 386eb18b18e..54e4aa93b07 100644
--- a/addons/project/i18n/pl.po
+++ b/addons/project/i18n/pl.po
@@ -13,7 +13,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-05-27 03:42+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 03:52+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: project
diff --git a/addons/project/i18n/pt.po b/addons/project/i18n/pt.po
index 354d85bb5d7..cf5fe168fb0 100644
--- a/addons/project/i18n/pt.po
+++ b/addons/project/i18n/pt.po
@@ -13,7 +13,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-04-17 03:54+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 03:52+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: project
diff --git a/addons/project/i18n/pt_BR.po b/addons/project/i18n/pt_BR.po
index 7ec6b3a0dfd..eb3cf17a23e 100644
--- a/addons/project/i18n/pt_BR.po
+++ b/addons/project/i18n/pt_BR.po
@@ -14,7 +14,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-04-28 03:44+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 03:53+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: project
diff --git a/addons/project/i18n/ro.po b/addons/project/i18n/ro.po
index 76bd2597cfe..4950c13eed8 100644
--- a/addons/project/i18n/ro.po
+++ b/addons/project/i18n/ro.po
@@ -13,7 +13,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-04-17 03:54+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 03:52+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: project
diff --git a/addons/project/i18n/ru.po b/addons/project/i18n/ru.po
index 94c3d58de8f..c06e6298e50 100644
--- a/addons/project/i18n/ru.po
+++ b/addons/project/i18n/ru.po
@@ -13,7 +13,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-04-17 03:54+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 03:53+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: project
diff --git a/addons/project/i18n/sk.po b/addons/project/i18n/sk.po
index 3121db20fc3..423bdb0e3e7 100644
--- a/addons/project/i18n/sk.po
+++ b/addons/project/i18n/sk.po
@@ -14,7 +14,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-04-17 03:54+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 03:53+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: project
diff --git a/addons/project/i18n/sl.po b/addons/project/i18n/sl.po
index 8a2e7bcc2a7..d48a25fcc7c 100644
--- a/addons/project/i18n/sl.po
+++ b/addons/project/i18n/sl.po
@@ -13,7 +13,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-04-17 03:54+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 03:53+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: project
diff --git a/addons/project/i18n/sv.po b/addons/project/i18n/sv.po
index f8cca022ba4..049389484c8 100644
--- a/addons/project/i18n/sv.po
+++ b/addons/project/i18n/sv.po
@@ -13,7 +13,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-04-17 03:55+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 03:53+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: project
diff --git a/addons/project/i18n/tlh.po b/addons/project/i18n/tlh.po
index 8b05adb3492..427c1a403ce 100644
--- a/addons/project/i18n/tlh.po
+++ b/addons/project/i18n/tlh.po
@@ -13,7 +13,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-04-17 03:55+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 03:53+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: project
diff --git a/addons/project/i18n/tr.po b/addons/project/i18n/tr.po
index 21fb9b3904f..a86e22c61ca 100644
--- a/addons/project/i18n/tr.po
+++ b/addons/project/i18n/tr.po
@@ -13,7 +13,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-04-17 03:55+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 03:53+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: project
diff --git a/addons/project/i18n/uk.po b/addons/project/i18n/uk.po
index b4edc362e72..7ededd3f759 100644
--- a/addons/project/i18n/uk.po
+++ b/addons/project/i18n/uk.po
@@ -13,7 +13,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-04-17 03:55+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 03:53+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: project
diff --git a/addons/project/i18n/zh_CN.po b/addons/project/i18n/zh_CN.po
index 0b18ea34b98..38b3733dac5 100644
--- a/addons/project/i18n/zh_CN.po
+++ b/addons/project/i18n/zh_CN.po
@@ -13,7 +13,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-04-17 03:55+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 03:53+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: project
diff --git a/addons/project/i18n/zh_TW.po b/addons/project/i18n/zh_TW.po
index d9b05aebafc..5bffe0f2dd0 100644
--- a/addons/project/i18n/zh_TW.po
+++ b/addons/project/i18n/zh_TW.po
@@ -13,7 +13,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-04-17 03:55+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 03:53+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: project
diff --git a/addons/project/project_mailgate.py b/addons/project/project_mailgate.py
index 93c9732c720..5409aa4e752 100644
--- a/addons/project/project_mailgate.py
+++ b/addons/project/project_mailgate.py
@@ -77,7 +77,7 @@ class project_tasks(osv.osv):
getattr(self,act)(cr, uid, [id])
return True
- def emails_get(self, cr, uid, ids, context={}):
+ def message_followers(self, cr, uid, ids, context={}):
res = []
if isinstance(ids, (str, int, long)):
select = [ids]
diff --git a/addons/project/project_view.xml b/addons/project/project_view.xml
index cbb7b9d7337..3147e392f0d 100644
--- a/addons/project/project_view.xml
+++ b/addons/project/project_view.xml
@@ -1,7 +1,11 @@
-
+
+
diff --git a/addons/product_expiry/report/__init__.py b/addons/project/res_partner.py
similarity index 79%
rename from addons/product_expiry/report/__init__.py
rename to addons/project/res_partner.py
index a6006ed47b3..f0297cf6a72 100644
--- a/addons/product_expiry/report/__init__.py
+++ b/addons/project/res_partner.py
@@ -19,7 +19,15 @@
#
##############################################################################
-import report_stock
+from osv import fields,osv
+
+class res_partner(osv.osv):
+ """ Inherits partner and adds CRM information in the partner form """
+ _inherit = 'res.partner'
+ _columns = {
+ 'task_ids': fields.one2many('project.task', 'partner_id', 'Tasks'),
+ }
+res_partner()
+
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
-
diff --git a/addons/project/res_partner_view.xml b/addons/project/res_partner_view.xml
new file mode 100644
index 00000000000..4778c0f1017
--- /dev/null
+++ b/addons/project/res_partner_view.xml
@@ -0,0 +1,25 @@
+
+
+
+
+
+
+
+ res.partner.task.info.inherit
+ res.partner
+ form
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/addons/project/security/ir.model.access.csv b/addons/project/security/ir.model.access.csv
index 502c8af0596..0c030e0c701 100644
--- a/addons/project/security/ir.model.access.csv
+++ b/addons/project/security/ir.model.access.csv
@@ -23,3 +23,5 @@
"access_partner_task manager","base.res.partner manager","base.model_res_partner","project.group_project_manager",1,0,0,0
"access_partner_address_task user","base.res.partner.address user","base.model_res_partner_address","project.group_project_user",1,0,0,0
"access_partner_address_task manager","base.res.partner.address manager","base.model_res_partner_address","project.group_project_manager",1,0,0,0
+"access_task_on_partner","project.task on partners","model_project_task","base.group_user",1,0,0,0
+"access_project_on_partner","project.project on partners","model_project_project","base.group_user",1,0,0,0
diff --git a/addons/project_gtd/i18n/ar.po b/addons/project_gtd/i18n/ar.po
index 9b363766268..bb62352925c 100644
--- a/addons/project_gtd/i18n/ar.po
+++ b/addons/project_gtd/i18n/ar.po
@@ -13,7 +13,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-04-17 04:14+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 04:13+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: project_gtd
diff --git a/addons/project_gtd/i18n/bg.po b/addons/project_gtd/i18n/bg.po
index 86d6b8d952a..6279142ed69 100644
--- a/addons/project_gtd/i18n/bg.po
+++ b/addons/project_gtd/i18n/bg.po
@@ -13,7 +13,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-04-17 04:14+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 04:13+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: project_gtd
diff --git a/addons/project_gtd/i18n/bs.po b/addons/project_gtd/i18n/bs.po
index 642e95d35dc..57600360b69 100644
--- a/addons/project_gtd/i18n/bs.po
+++ b/addons/project_gtd/i18n/bs.po
@@ -13,7 +13,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-04-17 04:14+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 04:13+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: project_gtd
diff --git a/addons/project_gtd/i18n/ca.po b/addons/project_gtd/i18n/ca.po
index f54651348aa..72d9f6881b8 100644
--- a/addons/project_gtd/i18n/ca.po
+++ b/addons/project_gtd/i18n/ca.po
@@ -8,13 +8,12 @@ msgstr ""
"Report-Msgid-Bugs-To: support@openerp.com\n"
"POT-Creation-Date: 2009-08-28 16:01+0000\n"
"PO-Revision-Date: 2009-11-17 10:33+0000\n"
-"Last-Translator: Raimon Esteve - http://www.zikzakmedia.com "
-"\n"
+"Last-Translator: Raimon Esteve (Zikzakmedia) \n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-04-17 04:14+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 04:13+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: project_gtd
diff --git a/addons/project_gtd/i18n/cs.po b/addons/project_gtd/i18n/cs.po
index 12a12079427..d24ec9b1061 100644
--- a/addons/project_gtd/i18n/cs.po
+++ b/addons/project_gtd/i18n/cs.po
@@ -13,7 +13,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-04-17 04:14+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 04:13+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: project_gtd
diff --git a/addons/project_gtd/i18n/de.po b/addons/project_gtd/i18n/de.po
index ed881221078..0aeea615f83 100644
--- a/addons/project_gtd/i18n/de.po
+++ b/addons/project_gtd/i18n/de.po
@@ -13,7 +13,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-04-17 04:14+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 04:13+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: project_gtd
diff --git a/addons/project_gtd/i18n/el.po b/addons/project_gtd/i18n/el.po
index 379f359944e..864f7d03b8b 100644
--- a/addons/project_gtd/i18n/el.po
+++ b/addons/project_gtd/i18n/el.po
@@ -12,7 +12,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-04-17 04:14+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 04:13+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
"X-Poedit-Country: GREECE\n"
"X-Poedit-Language: Greek\n"
diff --git a/addons/project_gtd/i18n/es.po b/addons/project_gtd/i18n/es.po
index ec0bbde2a50..b1c5253cd36 100644
--- a/addons/project_gtd/i18n/es.po
+++ b/addons/project_gtd/i18n/es.po
@@ -13,7 +13,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-04-17 04:15+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 04:13+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: project_gtd
diff --git a/addons/project_gtd/i18n/es_AR.po b/addons/project_gtd/i18n/es_AR.po
index 6960d40bc3e..95785b1e3da 100644
--- a/addons/project_gtd/i18n/es_AR.po
+++ b/addons/project_gtd/i18n/es_AR.po
@@ -13,7 +13,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-04-17 04:15+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 04:13+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: project_gtd
diff --git a/addons/project_gtd/i18n/et.po b/addons/project_gtd/i18n/et.po
index 92053020f2b..b44fc2f28aa 100644
--- a/addons/project_gtd/i18n/et.po
+++ b/addons/project_gtd/i18n/et.po
@@ -13,7 +13,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-04-17 04:14+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 04:13+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: project_gtd
diff --git a/addons/project_gtd/i18n/fi.po b/addons/project_gtd/i18n/fi.po
index e3be2a76df8..de4a3d48462 100644
--- a/addons/project_gtd/i18n/fi.po
+++ b/addons/project_gtd/i18n/fi.po
@@ -14,7 +14,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-04-17 04:14+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 04:13+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: project_gtd
diff --git a/addons/project_gtd/i18n/fr.po b/addons/project_gtd/i18n/fr.po
index abbd2e8dec7..520c74db899 100644
--- a/addons/project_gtd/i18n/fr.po
+++ b/addons/project_gtd/i18n/fr.po
@@ -13,7 +13,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-05-22 04:00+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 04:13+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: project_gtd
diff --git a/addons/project_gtd/i18n/hr.po b/addons/project_gtd/i18n/hr.po
index 5456625f6b8..b121df05982 100644
--- a/addons/project_gtd/i18n/hr.po
+++ b/addons/project_gtd/i18n/hr.po
@@ -13,7 +13,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-04-17 04:15+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 04:13+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
"Language: hr\n"
diff --git a/addons/project_gtd/i18n/hu.po b/addons/project_gtd/i18n/hu.po
index 9b363766268..bb62352925c 100644
--- a/addons/project_gtd/i18n/hu.po
+++ b/addons/project_gtd/i18n/hu.po
@@ -13,7 +13,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-04-17 04:14+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 04:13+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: project_gtd
diff --git a/addons/project_gtd/i18n/id.po b/addons/project_gtd/i18n/id.po
index 51098eee4cc..a8219a2e7e9 100644
--- a/addons/project_gtd/i18n/id.po
+++ b/addons/project_gtd/i18n/id.po
@@ -13,7 +13,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-04-17 04:14+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 04:13+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: project_gtd
diff --git a/addons/project_gtd/i18n/it.po b/addons/project_gtd/i18n/it.po
index b6da96894db..a61686a1864 100644
--- a/addons/project_gtd/i18n/it.po
+++ b/addons/project_gtd/i18n/it.po
@@ -13,7 +13,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-04-17 04:15+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 04:13+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: project_gtd
diff --git a/addons/project_gtd/i18n/ko.po b/addons/project_gtd/i18n/ko.po
index 65a61e103e3..58912d597fb 100644
--- a/addons/project_gtd/i18n/ko.po
+++ b/addons/project_gtd/i18n/ko.po
@@ -14,7 +14,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-04-17 04:15+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 04:13+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: project_gtd
diff --git a/addons/project_gtd/i18n/lt.po b/addons/project_gtd/i18n/lt.po
index 58880334a31..bb62352925c 100644
--- a/addons/project_gtd/i18n/lt.po
+++ b/addons/project_gtd/i18n/lt.po
@@ -13,7 +13,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-04-17 04:15+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 04:13+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: project_gtd
diff --git a/addons/project_gtd/i18n/nl.po b/addons/project_gtd/i18n/nl.po
index 9e1c6378df5..3e14be5fa84 100644
--- a/addons/project_gtd/i18n/nl.po
+++ b/addons/project_gtd/i18n/nl.po
@@ -13,7 +13,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-04-17 04:14+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 04:13+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: project_gtd
diff --git a/addons/project_gtd/i18n/nl_BE.po b/addons/project_gtd/i18n/nl_BE.po
index 8b81b450f58..26c6f29b374 100644
--- a/addons/project_gtd/i18n/nl_BE.po
+++ b/addons/project_gtd/i18n/nl_BE.po
@@ -13,7 +13,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-04-17 04:15+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 04:13+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: project_gtd
diff --git a/addons/project_gtd/i18n/pl.po b/addons/project_gtd/i18n/pl.po
index d5271fc913e..3a039b5efb9 100644
--- a/addons/project_gtd/i18n/pl.po
+++ b/addons/project_gtd/i18n/pl.po
@@ -13,7 +13,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-05-27 03:42+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 04:13+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: project_gtd
diff --git a/addons/project_gtd/i18n/pt.po b/addons/project_gtd/i18n/pt.po
index dc608703161..68353b77481 100644
--- a/addons/project_gtd/i18n/pt.po
+++ b/addons/project_gtd/i18n/pt.po
@@ -13,7 +13,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-04-17 04:15+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 04:13+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: project_gtd
diff --git a/addons/project_gtd/i18n/pt_BR.po b/addons/project_gtd/i18n/pt_BR.po
index 45f16a73cbd..6e1478979af 100644
--- a/addons/project_gtd/i18n/pt_BR.po
+++ b/addons/project_gtd/i18n/pt_BR.po
@@ -13,7 +13,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-04-17 04:15+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 04:13+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: project_gtd
diff --git a/addons/project_gtd/i18n/ro.po b/addons/project_gtd/i18n/ro.po
index 58880334a31..bb62352925c 100644
--- a/addons/project_gtd/i18n/ro.po
+++ b/addons/project_gtd/i18n/ro.po
@@ -13,7 +13,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-04-17 04:15+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 04:13+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: project_gtd
diff --git a/addons/project_gtd/i18n/ru.po b/addons/project_gtd/i18n/ru.po
index a268bd5e705..c91f8c2aa76 100644
--- a/addons/project_gtd/i18n/ru.po
+++ b/addons/project_gtd/i18n/ru.po
@@ -13,7 +13,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-04-17 04:15+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 04:13+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: project_gtd
diff --git a/addons/project_gtd/i18n/sl.po b/addons/project_gtd/i18n/sl.po
index 0107247be3b..2b77240a9dd 100644
--- a/addons/project_gtd/i18n/sl.po
+++ b/addons/project_gtd/i18n/sl.po
@@ -13,7 +13,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-04-17 04:15+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 04:13+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: project_gtd
diff --git a/addons/project_gtd/i18n/sv.po b/addons/project_gtd/i18n/sv.po
index 95ea5c82414..28ccb0724c4 100644
--- a/addons/project_gtd/i18n/sv.po
+++ b/addons/project_gtd/i18n/sv.po
@@ -13,7 +13,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-04-17 04:15+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 04:13+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: project_gtd
diff --git a/addons/project_gtd/i18n/tlh.po b/addons/project_gtd/i18n/tlh.po
index bb8a6a022b1..70314bcbbdf 100644
--- a/addons/project_gtd/i18n/tlh.po
+++ b/addons/project_gtd/i18n/tlh.po
@@ -13,7 +13,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-04-17 04:15+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 04:13+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: project_gtd
diff --git a/addons/project_gtd/i18n/tr.po b/addons/project_gtd/i18n/tr.po
index d579b8b9dfa..a2d3f8508bd 100644
--- a/addons/project_gtd/i18n/tr.po
+++ b/addons/project_gtd/i18n/tr.po
@@ -13,7 +13,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-04-17 04:15+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 04:13+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: project_gtd
diff --git a/addons/project_gtd/i18n/uk.po b/addons/project_gtd/i18n/uk.po
index a490f487d59..cc3a2a7cc57 100644
--- a/addons/project_gtd/i18n/uk.po
+++ b/addons/project_gtd/i18n/uk.po
@@ -13,7 +13,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-04-17 04:15+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 04:13+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: project_gtd
diff --git a/addons/project_gtd/i18n/zh_CN.po b/addons/project_gtd/i18n/zh_CN.po
index 408679949f6..cc32edbe876 100644
--- a/addons/project_gtd/i18n/zh_CN.po
+++ b/addons/project_gtd/i18n/zh_CN.po
@@ -7,13 +7,13 @@ msgstr ""
"Project-Id-Version: OpenERP Server 5.0.4\n"
"Report-Msgid-Bugs-To: support@openerp.com\n"
"POT-Creation-Date: 2009-08-28 16:01+0000\n"
-"PO-Revision-Date: 2010-03-20 09:47+0000\n"
-"Last-Translator: Black Jack \n"
+"PO-Revision-Date: 2010-06-27 22:23+0000\n"
+"Last-Translator: Fan.Khiyon \n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-04-17 04:15+0000\n"
+"X-Launchpad-Export-Date: 2010-06-28 03:48+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: project_gtd
@@ -30,7 +30,7 @@ msgstr "对象名必须以x_开头并且不能包含特殊字符"
#. module: project_gtd
#: model:ir.model,name:project_gtd.model_project_gtd_timebox
msgid "project.gtd.timebox"
-msgstr ""
+msgstr "project.gtd.timebox"
#. module: project_gtd
#: model:ir.actions.act_window,name:project_gtd.act_timebox_tasks_my_deadline_open
diff --git a/addons/project_gtd/i18n/zh_TW.po b/addons/project_gtd/i18n/zh_TW.po
index e8fc13e2f8f..0973f3a67b3 100644
--- a/addons/project_gtd/i18n/zh_TW.po
+++ b/addons/project_gtd/i18n/zh_TW.po
@@ -13,7 +13,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-04-17 04:15+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 04:13+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: project_gtd
diff --git a/addons/project_issue/__openerp__.py b/addons/project_issue/__openerp__.py
index 7339399cc08..97f9e96afa0 100644
--- a/addons/project_issue/__openerp__.py
+++ b/addons/project_issue/__openerp__.py
@@ -34,7 +34,7 @@
'crm',
'project',
'hr_timesheet_sheet',
- 'project_long_term',
+ 'resource'
],
'init_xml': [
'project_issue_data.xml'
diff --git a/addons/project_issue/project_issue.py b/addons/project_issue/project_issue.py
index c763306e602..b9d7baed6dd 100644
--- a/addons/project_issue/project_issue.py
+++ b/addons/project_issue/project_issue.py
@@ -31,12 +31,15 @@ from crm import crm
from osv import fields,osv,orm
from osv.orm import except_orm
from tools.translate import _
+import collections
+import binascii
+import tools
class project_issue(osv.osv, crm.crm_case):
_name = "project.issue"
_description = "Project Issue"
_order = "priority, id desc"
- _inherits = {'mailgate.thread': 'thread_id'}
+ _inherit = ['mailgate.thread']
def case_open(self, cr, uid, ids, *args):
"""
@@ -121,7 +124,6 @@ class project_issue(osv.osv, crm.crm_case):
return res
_columns = {
- 'thread_id': fields.many2one('mailgate.thread', 'Thread', required=False),
'id': fields.integer('ID'),
'name': fields.char('Name', size=128, required=True),
'active': fields.boolean('Active', required=False),
@@ -179,6 +181,10 @@ class project_issue(osv.osv, crm.crm_case):
method=True, multi='working_days_open', type="float", store=True),
'working_hours_close': fields.function(_compute_day, string='Working Hours to Close the Issue', \
method=True, multi='working_days_close', type="float", store=True),
+ 'message_ids': fields.one2many('mailgate.message', 'res_id', 'Messages', domain=[('history', '=', True),('model','=',_name)]),
+ 'log_ids': fields.one2many('mailgate.message', 'res_id', 'Logs', domain=[('history', '=', False),('model','=',_name)]),
+ 'date_action_last': fields.datetime('Last Action', readonly=1),
+ 'date_action_next': fields.datetime('Next Action', readonly=1),
}
def _get_project(self, cr, uid, context):
@@ -298,5 +304,107 @@ class project_issue(osv.osv, crm.crm_case):
self.write(cr, uid, [case.id], data)
return True
+ def message_new(self, cr, uid, msg, context):
+ """
+ Automatically calls when new email message arrives
+
+ @param self: The object pointer
+ @param cr: the current row, from the database cursor,
+ @param uid: the current user’s ID for security checks
+ """
+
+ mailgate_pool = self.pool.get('email.server.tools')
+
+ subject = msg.get('subject')
+ body = msg.get('body')
+ msg_from = msg.get('from')
+ priority = msg.get('priority')
+
+ vals = {
+ 'name': subject,
+ 'email_from': msg_from,
+ 'email_cc': msg.get('cc'),
+ 'description': body,
+ 'user_id': False,
+ }
+ if msg.get('priority', False):
+ vals['priority'] = priority
+
+ res = mailgate_pool.get_partner(cr, uid, msg.get('from'))
+ if res:
+ vals.update(res)
+ res = self.create(cr, uid, vals, context)
+ self.convert_to_bug(cr, uid, [res], context=context)
+
+ attachents = msg.get('attachments', [])
+ for attactment in attachents or []:
+ data_attach = {
+ 'name': attactment,
+ 'datas':binascii.b2a_base64(str(attachents.get(attactment))),
+ 'datas_fname': attactment,
+ 'description': 'Mail attachment',
+ 'res_model': self._name,
+ 'res_id': res,
+ }
+ self.pool.get('ir.attachment').create(cr, uid, data_attach)
+
+ return res
+
+ def message_update(self, cr, uid, ids, vals={}, msg="", default_act='pending', context={}):
+ """
+ @param self: The object pointer
+ @param cr: the current row, from the database cursor,
+ @param uid: the current user’s ID for security checks,
+ @param ids: List of update mail’s IDs
+ """
+
+ if isinstance(ids, (str, int, long)):
+ ids = [ids]
+
+ msg_from = msg['from']
+ vals.update({
+ 'description': msg['body']
+ })
+ if msg.get('priority', False):
+ vals['priority'] = msg.get('priority')
+
+ maps = {
+ 'cost':'planned_cost',
+ 'revenue': 'planned_revenue',
+ 'probability':'probability'
+ }
+ vls = { }
+ for line in msg['body'].split('\n'):
+ line = line.strip()
+ res = tools.misc.command_re.match(line)
+ if res and maps.get(res.group(1).lower(), False):
+ key = maps.get(res.group(1).lower())
+ vls[key] = res.group(2).lower()
+
+ vals.update(vls)
+ res = self.write(cr, uid, ids, vals)
+ return res
+
+
+ def msg_send(self, cr, uid, id, *args, **argv):
+
+ """ Send The Message
+ @param self: The object pointer
+ @param cr: the current row, from the database cursor,
+ @param uid: the current user’s ID for security checks,
+ @param ids: List of email’s IDs
+ @param *args: Return Tuple Value
+ @param **args: Return Dictionary of Keyword Value
+ """
+ return True
+
project_issue()
+class project(osv.osv):
+ _inherit = "project.project"
+ _columns = {
+ 'resource_calendar_id': fields.many2one('resource.calendar', 'Working Time', help="Timetable working hours to adjust the gantt diagram report"),
+ }
+project()
+
+
diff --git a/addons/project_issue/project_issue_demo.xml b/addons/project_issue/project_issue_demo.xml
index ed031672360..aee12ccf01e 100644
--- a/addons/project_issue/project_issue_demo.xml
+++ b/addons/project_issue/project_issue_demo.xml
@@ -1,290 +1,278 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/addons/project_issue/project_issue_menu.xml b/addons/project_issue/project_issue_menu.xml
index ea902ea599f..fefdd496559 100644
--- a/addons/project_issue/project_issue_menu.xml
+++ b/addons/project_issue/project_issue_menu.xml
@@ -1,6 +1,6 @@
-
+
######################## ISSUE TRACKING (menu) ###########################
diff --git a/addons/project_issue/project_issue_view.xml b/addons/project_issue/project_issue_view.xml
index 973e0a1a20c..fd523ad7774 100644
--- a/addons/project_issue/project_issue_view.xml
+++ b/addons/project_issue/project_issue_view.xml
@@ -95,7 +95,7 @@
diff --git a/addons/project_mrp/i18n/ar.po b/addons/project_mrp/i18n/ar.po
index b95b5685ca6..fc034caa0ea 100644
--- a/addons/project_mrp/i18n/ar.po
+++ b/addons/project_mrp/i18n/ar.po
@@ -13,7 +13,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-04-17 04:13+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 04:11+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: project_mrp
diff --git a/addons/project_mrp/i18n/bg.po b/addons/project_mrp/i18n/bg.po
index b95b5685ca6..fc034caa0ea 100644
--- a/addons/project_mrp/i18n/bg.po
+++ b/addons/project_mrp/i18n/bg.po
@@ -13,7 +13,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-04-17 04:13+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 04:11+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: project_mrp
diff --git a/addons/project_mrp/i18n/bs.po b/addons/project_mrp/i18n/bs.po
index b95b5685ca6..fc034caa0ea 100644
--- a/addons/project_mrp/i18n/bs.po
+++ b/addons/project_mrp/i18n/bs.po
@@ -13,7 +13,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-04-17 04:13+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 04:11+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: project_mrp
diff --git a/addons/project_mrp/i18n/ca.po b/addons/project_mrp/i18n/ca.po
index b7dcba16707..d65039d293f 100644
--- a/addons/project_mrp/i18n/ca.po
+++ b/addons/project_mrp/i18n/ca.po
@@ -8,13 +8,12 @@ msgstr ""
"Report-Msgid-Bugs-To: support@openerp.com\n"
"POT-Creation-Date: 2009-08-28 16:01+0000\n"
"PO-Revision-Date: 2009-09-30 08:22+0000\n"
-"Last-Translator: Raimon Esteve - http://www.zikzakmedia.com "
-"\n"
+"Last-Translator: Raimon Esteve (Zikzakmedia) \n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-04-17 04:13+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 04:11+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: project_mrp
diff --git a/addons/project_mrp/i18n/cs.po b/addons/project_mrp/i18n/cs.po
index b95b5685ca6..fc034caa0ea 100644
--- a/addons/project_mrp/i18n/cs.po
+++ b/addons/project_mrp/i18n/cs.po
@@ -13,7 +13,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-04-17 04:13+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 04:11+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: project_mrp
diff --git a/addons/project_mrp/i18n/de.po b/addons/project_mrp/i18n/de.po
index 3a1904b68b4..b7631597377 100644
--- a/addons/project_mrp/i18n/de.po
+++ b/addons/project_mrp/i18n/de.po
@@ -13,7 +13,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-04-17 04:13+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 04:11+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: project_mrp
diff --git a/addons/project_mrp/i18n/el.po b/addons/project_mrp/i18n/el.po
index 6965f270fef..7255e5b4366 100644
--- a/addons/project_mrp/i18n/el.po
+++ b/addons/project_mrp/i18n/el.po
@@ -13,7 +13,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-04-17 04:13+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 04:11+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
"X-Poedit-Country: GREECE\n"
"X-Poedit-Language: Greek\n"
diff --git a/addons/project_mrp/i18n/es.po b/addons/project_mrp/i18n/es.po
index 913ec20eeec..0097162af98 100644
--- a/addons/project_mrp/i18n/es.po
+++ b/addons/project_mrp/i18n/es.po
@@ -13,7 +13,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-04-17 04:13+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 04:11+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: project_mrp
diff --git a/addons/project_mrp/i18n/es_AR.po b/addons/project_mrp/i18n/es_AR.po
index 3f955a5b59d..6ca592ca2ec 100644
--- a/addons/project_mrp/i18n/es_AR.po
+++ b/addons/project_mrp/i18n/es_AR.po
@@ -13,7 +13,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-04-17 04:13+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 04:11+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: project_mrp
diff --git a/addons/project_mrp/i18n/et.po b/addons/project_mrp/i18n/et.po
index ea5a85063c3..cdcd26614a2 100644
--- a/addons/project_mrp/i18n/et.po
+++ b/addons/project_mrp/i18n/et.po
@@ -13,7 +13,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-04-17 04:13+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 04:11+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: project_mrp
diff --git a/addons/project_mrp/i18n/fr.po b/addons/project_mrp/i18n/fr.po
index 70927a778b4..b7ecccda2c3 100644
--- a/addons/project_mrp/i18n/fr.po
+++ b/addons/project_mrp/i18n/fr.po
@@ -13,7 +13,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-04-17 04:13+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 04:11+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: project_mrp
diff --git a/addons/project_mrp/i18n/hr.po b/addons/project_mrp/i18n/hr.po
index e651ba4ae5e..490ff42dc5c 100644
--- a/addons/project_mrp/i18n/hr.po
+++ b/addons/project_mrp/i18n/hr.po
@@ -13,7 +13,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-04-17 04:13+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 04:11+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
"Language: hr\n"
diff --git a/addons/project_mrp/i18n/hu.po b/addons/project_mrp/i18n/hu.po
index b95b5685ca6..fc034caa0ea 100644
--- a/addons/project_mrp/i18n/hu.po
+++ b/addons/project_mrp/i18n/hu.po
@@ -13,7 +13,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-04-17 04:13+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 04:11+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: project_mrp
diff --git a/addons/project_mrp/i18n/id.po b/addons/project_mrp/i18n/id.po
index f8869ddaf2a..f3f915ad012 100644
--- a/addons/project_mrp/i18n/id.po
+++ b/addons/project_mrp/i18n/id.po
@@ -13,7 +13,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-04-17 04:13+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 04:11+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: project_mrp
diff --git a/addons/project_mrp/i18n/it.po b/addons/project_mrp/i18n/it.po
index 92bdbcc7cf6..1d5982fdfe5 100644
--- a/addons/project_mrp/i18n/it.po
+++ b/addons/project_mrp/i18n/it.po
@@ -13,7 +13,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-04-17 04:13+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 04:11+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: project_mrp
diff --git a/addons/project_mrp/i18n/ko.po b/addons/project_mrp/i18n/ko.po
index ce853c40617..2ed1a2c7dce 100644
--- a/addons/project_mrp/i18n/ko.po
+++ b/addons/project_mrp/i18n/ko.po
@@ -14,7 +14,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-04-17 04:13+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 04:11+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: project_mrp
diff --git a/addons/project_mrp/i18n/lt.po b/addons/project_mrp/i18n/lt.po
index b95b5685ca6..fc034caa0ea 100644
--- a/addons/project_mrp/i18n/lt.po
+++ b/addons/project_mrp/i18n/lt.po
@@ -13,7 +13,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-04-17 04:13+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 04:11+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: project_mrp
diff --git a/addons/project_mrp/i18n/nl.po b/addons/project_mrp/i18n/nl.po
index b7f0b0e3dfc..a26d52950f3 100644
--- a/addons/project_mrp/i18n/nl.po
+++ b/addons/project_mrp/i18n/nl.po
@@ -13,7 +13,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-04-17 04:13+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 04:11+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: project_mrp
diff --git a/addons/project_mrp/i18n/nl_BE.po b/addons/project_mrp/i18n/nl_BE.po
index 742120d6f67..37b80e08f32 100644
--- a/addons/project_mrp/i18n/nl_BE.po
+++ b/addons/project_mrp/i18n/nl_BE.po
@@ -13,7 +13,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-04-17 04:13+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 04:11+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: project_mrp
diff --git a/addons/project_mrp/i18n/pl.po b/addons/project_mrp/i18n/pl.po
index 7fd2d0f39f7..6cac1caae84 100644
--- a/addons/project_mrp/i18n/pl.po
+++ b/addons/project_mrp/i18n/pl.po
@@ -13,7 +13,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-05-27 03:42+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 04:11+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: project_mrp
diff --git a/addons/project_mrp/i18n/pt.po b/addons/project_mrp/i18n/pt.po
index 04541f65886..5c851097814 100644
--- a/addons/project_mrp/i18n/pt.po
+++ b/addons/project_mrp/i18n/pt.po
@@ -13,7 +13,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-04-17 04:13+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 04:11+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: project_mrp
diff --git a/addons/project_mrp/i18n/pt_BR.po b/addons/project_mrp/i18n/pt_BR.po
index cd1dd6a9738..ffde68c9d97 100644
--- a/addons/project_mrp/i18n/pt_BR.po
+++ b/addons/project_mrp/i18n/pt_BR.po
@@ -14,7 +14,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-04-17 04:13+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 04:11+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: project_mrp
diff --git a/addons/project_mrp/i18n/ro.po b/addons/project_mrp/i18n/ro.po
index b95b5685ca6..fc034caa0ea 100644
--- a/addons/project_mrp/i18n/ro.po
+++ b/addons/project_mrp/i18n/ro.po
@@ -13,7 +13,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-04-17 04:13+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 04:11+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: project_mrp
diff --git a/addons/project_mrp/i18n/ru.po b/addons/project_mrp/i18n/ru.po
index 96344f5c8bd..54812791a3a 100644
--- a/addons/project_mrp/i18n/ru.po
+++ b/addons/project_mrp/i18n/ru.po
@@ -13,7 +13,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-04-17 04:13+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 04:11+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: project_mrp
diff --git a/addons/project_mrp/i18n/sl.po b/addons/project_mrp/i18n/sl.po
index ef50b9b499f..b0e263b4bf3 100644
--- a/addons/project_mrp/i18n/sl.po
+++ b/addons/project_mrp/i18n/sl.po
@@ -13,7 +13,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-04-17 04:13+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 04:11+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: project_mrp
diff --git a/addons/project_mrp/i18n/sv.po b/addons/project_mrp/i18n/sv.po
index b95b5685ca6..fc034caa0ea 100644
--- a/addons/project_mrp/i18n/sv.po
+++ b/addons/project_mrp/i18n/sv.po
@@ -13,7 +13,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-04-17 04:13+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 04:11+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: project_mrp
diff --git a/addons/project_mrp/i18n/tlh.po b/addons/project_mrp/i18n/tlh.po
index cf170552a25..45f0c04eeb9 100644
--- a/addons/project_mrp/i18n/tlh.po
+++ b/addons/project_mrp/i18n/tlh.po
@@ -13,7 +13,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-04-17 04:13+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 04:11+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: project_mrp
diff --git a/addons/project_mrp/i18n/tr.po b/addons/project_mrp/i18n/tr.po
index 2194dc747f2..393952e375f 100644
--- a/addons/project_mrp/i18n/tr.po
+++ b/addons/project_mrp/i18n/tr.po
@@ -13,7 +13,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-04-17 04:13+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 04:11+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: project_mrp
diff --git a/addons/project_mrp/i18n/uk.po b/addons/project_mrp/i18n/uk.po
index cf170552a25..45f0c04eeb9 100644
--- a/addons/project_mrp/i18n/uk.po
+++ b/addons/project_mrp/i18n/uk.po
@@ -13,7 +13,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-04-17 04:13+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 04:11+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: project_mrp
diff --git a/addons/project_mrp/i18n/zh_CN.po b/addons/project_mrp/i18n/zh_CN.po
index 58d586d72fb..0269a2c5336 100644
--- a/addons/project_mrp/i18n/zh_CN.po
+++ b/addons/project_mrp/i18n/zh_CN.po
@@ -13,7 +13,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-04-17 04:13+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 04:11+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: project_mrp
diff --git a/addons/project_mrp/i18n/zh_TW.po b/addons/project_mrp/i18n/zh_TW.po
index 96ea9f1ce51..2ea8d22ad01 100644
--- a/addons/project_mrp/i18n/zh_TW.po
+++ b/addons/project_mrp/i18n/zh_TW.po
@@ -13,7 +13,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-04-17 04:13+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 04:11+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: project_mrp
diff --git a/addons/project_planning/project_planning.py b/addons/project_planning/project_planning.py
index 2124b59b5c3..23fb780f334 100644
--- a/addons/project_planning/project_planning.py
+++ b/addons/project_planning/project_planning.py
@@ -383,7 +383,7 @@ class report_account_analytic_planning_account(osv.osv):
FROM report_account_analytic_planning_line
WHERE planning_id = %s AND account_id=%s
)""", (line.planning_id.id,line.account_id.id ))
- result[line.id] = cr.fetchall()[0][0] / div *div2
+ result[line.id] = cr.fetchall()[0][0] / div * div2
return result
def _get_timesheets(self, cr, uid, ids, name, args, context):
@@ -493,13 +493,13 @@ where user_id=%s and account_id=%s and date>=%s and date<=%s''', (line.user_id.i
for line in self.browse(cr, uid, ids, context):
where = ''
if line.user_id:
- where='user_id='+str(line.user_id.id)+' and '
+ where = 'user_id=' + str(line.user_id.id) + ' and '
cr.execute('''select
sum(planned_hours)
from
project_task
where
- '''+where+'''
+ ''' + where + '''
project_id in (select id from project_project where category_id=%s) and
date_close>=%s and
date_close<=%s''', (
diff --git a/addons/project_retro_planning/i18n/ar.po b/addons/project_retro_planning/i18n/ar.po
index eb19027f631..92d1701d8c2 100644
--- a/addons/project_retro_planning/i18n/ar.po
+++ b/addons/project_retro_planning/i18n/ar.po
@@ -13,7 +13,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-04-17 04:20+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 04:19+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: project_retro_planning
diff --git a/addons/project_retro_planning/i18n/bg.po b/addons/project_retro_planning/i18n/bg.po
index eb19027f631..92d1701d8c2 100644
--- a/addons/project_retro_planning/i18n/bg.po
+++ b/addons/project_retro_planning/i18n/bg.po
@@ -13,7 +13,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-04-17 04:20+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 04:19+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: project_retro_planning
diff --git a/addons/project_retro_planning/i18n/bs.po b/addons/project_retro_planning/i18n/bs.po
index eff103ba4f9..fdd6f2d3b5b 100644
--- a/addons/project_retro_planning/i18n/bs.po
+++ b/addons/project_retro_planning/i18n/bs.po
@@ -13,7 +13,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-04-17 04:20+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 04:19+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: project_retro_planning
diff --git a/addons/project_retro_planning/i18n/ca.po b/addons/project_retro_planning/i18n/ca.po
index 3c9fc6f0f7d..b3f0fd98dd5 100644
--- a/addons/project_retro_planning/i18n/ca.po
+++ b/addons/project_retro_planning/i18n/ca.po
@@ -8,13 +8,12 @@ msgstr ""
"Report-Msgid-Bugs-To: support@openerp.com\n"
"POT-Creation-Date: 2009-08-28 16:01+0000\n"
"PO-Revision-Date: 2009-09-30 08:22+0000\n"
-"Last-Translator: Raimon Esteve - http://www.zikzakmedia.com "
-"\n"
+"Last-Translator: Raimon Esteve (Zikzakmedia) \n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-04-17 04:20+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 04:19+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: project_retro_planning
diff --git a/addons/project_retro_planning/i18n/cs.po b/addons/project_retro_planning/i18n/cs.po
index 38123feb922..3147ebe2496 100644
--- a/addons/project_retro_planning/i18n/cs.po
+++ b/addons/project_retro_planning/i18n/cs.po
@@ -13,7 +13,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-04-17 04:20+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 04:19+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: project_retro_planning
diff --git a/addons/project_retro_planning/i18n/de.po b/addons/project_retro_planning/i18n/de.po
index 07bcc7ad6af..13d0992805a 100644
--- a/addons/project_retro_planning/i18n/de.po
+++ b/addons/project_retro_planning/i18n/de.po
@@ -13,7 +13,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-04-17 04:20+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 04:19+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: project_retro_planning
diff --git a/addons/project_retro_planning/i18n/es.po b/addons/project_retro_planning/i18n/es.po
index ecac27de6ce..f62eb4ceb3b 100644
--- a/addons/project_retro_planning/i18n/es.po
+++ b/addons/project_retro_planning/i18n/es.po
@@ -13,7 +13,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-04-17 04:20+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 04:19+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: project_retro_planning
diff --git a/addons/project_retro_planning/i18n/es_AR.po b/addons/project_retro_planning/i18n/es_AR.po
index e5da49fefbf..e78199bd93f 100644
--- a/addons/project_retro_planning/i18n/es_AR.po
+++ b/addons/project_retro_planning/i18n/es_AR.po
@@ -13,7 +13,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-04-17 04:20+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 04:19+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: project_retro_planning
diff --git a/addons/project_retro_planning/i18n/et.po b/addons/project_retro_planning/i18n/et.po
index 18a597664ad..3fc6149b093 100644
--- a/addons/project_retro_planning/i18n/et.po
+++ b/addons/project_retro_planning/i18n/et.po
@@ -13,7 +13,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-04-17 04:20+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 04:19+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: project_retro_planning
diff --git a/addons/project_retro_planning/i18n/fr.po b/addons/project_retro_planning/i18n/fr.po
index 250b496e5d3..50a0a3ec87a 100644
--- a/addons/project_retro_planning/i18n/fr.po
+++ b/addons/project_retro_planning/i18n/fr.po
@@ -13,7 +13,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-04-17 04:20+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 04:19+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: project_retro_planning
diff --git a/addons/project_retro_planning/i18n/gl.po b/addons/project_retro_planning/i18n/gl.po
index 04d258e1ad5..a5433903930 100644
--- a/addons/project_retro_planning/i18n/gl.po
+++ b/addons/project_retro_planning/i18n/gl.po
@@ -15,7 +15,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-04-17 04:20+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 04:19+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: project_retro_planning
diff --git a/addons/project_retro_planning/i18n/hr.po b/addons/project_retro_planning/i18n/hr.po
index ce3f35f9c08..7b8f99eb7ce 100644
--- a/addons/project_retro_planning/i18n/hr.po
+++ b/addons/project_retro_planning/i18n/hr.po
@@ -13,7 +13,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-04-17 04:20+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 04:19+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
"Language: hr\n"
diff --git a/addons/project_retro_planning/i18n/hu.po b/addons/project_retro_planning/i18n/hu.po
index eb19027f631..92d1701d8c2 100644
--- a/addons/project_retro_planning/i18n/hu.po
+++ b/addons/project_retro_planning/i18n/hu.po
@@ -13,7 +13,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-04-17 04:20+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 04:19+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: project_retro_planning
diff --git a/addons/project_retro_planning/i18n/id.po b/addons/project_retro_planning/i18n/id.po
index 9365463f596..558a411cd18 100644
--- a/addons/project_retro_planning/i18n/id.po
+++ b/addons/project_retro_planning/i18n/id.po
@@ -13,7 +13,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-04-17 04:20+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 04:19+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: project_retro_planning
diff --git a/addons/project_retro_planning/i18n/it.po b/addons/project_retro_planning/i18n/it.po
index 406120cebbf..2817e79c9cd 100644
--- a/addons/project_retro_planning/i18n/it.po
+++ b/addons/project_retro_planning/i18n/it.po
@@ -13,7 +13,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-04-17 04:20+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 04:19+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: project_retro_planning
diff --git a/addons/project_retro_planning/i18n/ko.po b/addons/project_retro_planning/i18n/ko.po
index 1def13d105c..75a84234e81 100644
--- a/addons/project_retro_planning/i18n/ko.po
+++ b/addons/project_retro_planning/i18n/ko.po
@@ -14,7 +14,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-04-17 04:20+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 04:19+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: project_retro_planning
diff --git a/addons/project_retro_planning/i18n/lt.po b/addons/project_retro_planning/i18n/lt.po
index eb19027f631..92d1701d8c2 100644
--- a/addons/project_retro_planning/i18n/lt.po
+++ b/addons/project_retro_planning/i18n/lt.po
@@ -13,7 +13,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-04-17 04:20+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 04:19+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: project_retro_planning
diff --git a/addons/project_retro_planning/i18n/nl.po b/addons/project_retro_planning/i18n/nl.po
index cbe34ce4852..ef689689a93 100644
--- a/addons/project_retro_planning/i18n/nl.po
+++ b/addons/project_retro_planning/i18n/nl.po
@@ -13,7 +13,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-04-17 04:20+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 04:19+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: project_retro_planning
diff --git a/addons/project_retro_planning/i18n/nl_BE.po b/addons/project_retro_planning/i18n/nl_BE.po
index 47ae32f0e5b..bf56f4e1850 100644
--- a/addons/project_retro_planning/i18n/nl_BE.po
+++ b/addons/project_retro_planning/i18n/nl_BE.po
@@ -13,7 +13,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-04-17 04:20+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 04:19+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: project_retro_planning
diff --git a/addons/project_retro_planning/i18n/pl.po b/addons/project_retro_planning/i18n/pl.po
index b6d03844595..0846a670762 100644
--- a/addons/project_retro_planning/i18n/pl.po
+++ b/addons/project_retro_planning/i18n/pl.po
@@ -13,7 +13,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-06-01 03:44+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 04:19+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: project_retro_planning
diff --git a/addons/project_retro_planning/i18n/pt.po b/addons/project_retro_planning/i18n/pt.po
index 1c579b03768..8db86b7b5cd 100644
--- a/addons/project_retro_planning/i18n/pt.po
+++ b/addons/project_retro_planning/i18n/pt.po
@@ -13,7 +13,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-04-17 04:20+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 04:19+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: project_retro_planning
diff --git a/addons/project_retro_planning/i18n/pt_BR.po b/addons/project_retro_planning/i18n/pt_BR.po
index a70756015f7..b87c61bd408 100644
--- a/addons/project_retro_planning/i18n/pt_BR.po
+++ b/addons/project_retro_planning/i18n/pt_BR.po
@@ -13,7 +13,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-04-17 04:20+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 04:19+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: project_retro_planning
diff --git a/addons/project_retro_planning/i18n/ro.po b/addons/project_retro_planning/i18n/ro.po
index eb19027f631..92d1701d8c2 100644
--- a/addons/project_retro_planning/i18n/ro.po
+++ b/addons/project_retro_planning/i18n/ro.po
@@ -13,7 +13,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-04-17 04:20+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 04:19+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: project_retro_planning
diff --git a/addons/project_retro_planning/i18n/ru.po b/addons/project_retro_planning/i18n/ru.po
index 9ed26d0bb20..eebb906d239 100644
--- a/addons/project_retro_planning/i18n/ru.po
+++ b/addons/project_retro_planning/i18n/ru.po
@@ -13,7 +13,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-04-17 04:20+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 04:19+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: project_retro_planning
diff --git a/addons/project_retro_planning/i18n/sl.po b/addons/project_retro_planning/i18n/sl.po
index 4ec00a913eb..d412aa80d89 100644
--- a/addons/project_retro_planning/i18n/sl.po
+++ b/addons/project_retro_planning/i18n/sl.po
@@ -13,7 +13,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-04-17 04:20+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 04:19+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: project_retro_planning
diff --git a/addons/project_retro_planning/i18n/sv.po b/addons/project_retro_planning/i18n/sv.po
index eb19027f631..92d1701d8c2 100644
--- a/addons/project_retro_planning/i18n/sv.po
+++ b/addons/project_retro_planning/i18n/sv.po
@@ -13,7 +13,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-04-17 04:20+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 04:19+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: project_retro_planning
diff --git a/addons/project_retro_planning/i18n/tlh.po b/addons/project_retro_planning/i18n/tlh.po
index 8824c2d206e..b534625a53d 100644
--- a/addons/project_retro_planning/i18n/tlh.po
+++ b/addons/project_retro_planning/i18n/tlh.po
@@ -13,7 +13,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-04-17 04:20+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 04:19+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: project_retro_planning
diff --git a/addons/project_retro_planning/i18n/tr.po b/addons/project_retro_planning/i18n/tr.po
index a4b91baa764..b889a200642 100644
--- a/addons/project_retro_planning/i18n/tr.po
+++ b/addons/project_retro_planning/i18n/tr.po
@@ -13,7 +13,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-04-17 04:20+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 04:19+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: project_retro_planning
diff --git a/addons/project_retro_planning/i18n/uk.po b/addons/project_retro_planning/i18n/uk.po
index 8824c2d206e..b534625a53d 100644
--- a/addons/project_retro_planning/i18n/uk.po
+++ b/addons/project_retro_planning/i18n/uk.po
@@ -13,7 +13,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-04-17 04:20+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 04:19+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: project_retro_planning
diff --git a/addons/project_retro_planning/i18n/ur.po b/addons/project_retro_planning/i18n/ur.po
index c94a464eb06..2f0226371e4 100644
--- a/addons/project_retro_planning/i18n/ur.po
+++ b/addons/project_retro_planning/i18n/ur.po
@@ -14,7 +14,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-04-17 04:20+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 04:19+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: project_retro_planning
diff --git a/addons/project_retro_planning/i18n/zh_CN.po b/addons/project_retro_planning/i18n/zh_CN.po
index 82aae5ba777..fe5c6bded9e 100644
--- a/addons/project_retro_planning/i18n/zh_CN.po
+++ b/addons/project_retro_planning/i18n/zh_CN.po
@@ -13,7 +13,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-04-17 04:20+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 04:19+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: project_retro_planning
diff --git a/addons/project_retro_planning/i18n/zh_TW.po b/addons/project_retro_planning/i18n/zh_TW.po
index a70756015f7..f5f267875ca 100644
--- a/addons/project_retro_planning/i18n/zh_TW.po
+++ b/addons/project_retro_planning/i18n/zh_TW.po
@@ -7,16 +7,16 @@ msgstr ""
"Project-Id-Version: OpenERP Server 5.0.4\n"
"Report-Msgid-Bugs-To: support@openerp.com\n"
"POT-Creation-Date: 2009-08-28 16:01+0000\n"
-"PO-Revision-Date: 2009-01-30 12:44+0000\n"
-"Last-Translator: <>\n"
+"PO-Revision-Date: 2010-06-27 14:09+0000\n"
+"Last-Translator: Rossi Liu \n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-04-17 04:20+0000\n"
+"X-Launchpad-Export-Date: 2010-06-28 03:48+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: project_retro_planning
#: model:ir.module.module,shortdesc:project_retro_planning.module_meta_information
msgid "Project Retro planning"
-msgstr ""
+msgstr "舊有的規劃項目"
diff --git a/addons/project_timesheet/i18n/ar.po b/addons/project_timesheet/i18n/ar.po
index 6e6c72247c8..2ae627f2593 100644
--- a/addons/project_timesheet/i18n/ar.po
+++ b/addons/project_timesheet/i18n/ar.po
@@ -13,7 +13,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-04-17 04:16+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 04:15+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: project_timesheet
diff --git a/addons/project_timesheet/i18n/bg.po b/addons/project_timesheet/i18n/bg.po
index 6e6c72247c8..2ae627f2593 100644
--- a/addons/project_timesheet/i18n/bg.po
+++ b/addons/project_timesheet/i18n/bg.po
@@ -13,7 +13,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-04-17 04:16+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 04:15+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: project_timesheet
diff --git a/addons/project_timesheet/i18n/bs.po b/addons/project_timesheet/i18n/bs.po
index 0d9582ba1b1..b659eab001e 100644
--- a/addons/project_timesheet/i18n/bs.po
+++ b/addons/project_timesheet/i18n/bs.po
@@ -13,7 +13,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-04-17 04:16+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 04:15+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: project_timesheet
diff --git a/addons/project_timesheet/i18n/ca.po b/addons/project_timesheet/i18n/ca.po
index b91d88c4cf1..1c8beb12ace 100644
--- a/addons/project_timesheet/i18n/ca.po
+++ b/addons/project_timesheet/i18n/ca.po
@@ -8,13 +8,12 @@ msgstr ""
"Report-Msgid-Bugs-To: support@openerp.com\n"
"POT-Creation-Date: 2009-08-28 16:01+0000\n"
"PO-Revision-Date: 2009-09-30 08:23+0000\n"
-"Last-Translator: Raimon Esteve - http://www.zikzakmedia.com "
-"\n"
+"Last-Translator: Raimon Esteve (Zikzakmedia) \n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-04-17 04:16+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 04:15+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: project_timesheet
diff --git a/addons/project_timesheet/i18n/cs.po b/addons/project_timesheet/i18n/cs.po
index 9aa951d8782..9e7aa40017e 100644
--- a/addons/project_timesheet/i18n/cs.po
+++ b/addons/project_timesheet/i18n/cs.po
@@ -13,7 +13,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-04-17 04:16+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 04:15+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: project_timesheet
diff --git a/addons/project_timesheet/i18n/de.po b/addons/project_timesheet/i18n/de.po
index 25a31cd5917..c53178e766b 100644
--- a/addons/project_timesheet/i18n/de.po
+++ b/addons/project_timesheet/i18n/de.po
@@ -13,7 +13,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-04-17 04:16+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 04:15+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: project_timesheet
diff --git a/addons/project_timesheet/i18n/el.po b/addons/project_timesheet/i18n/el.po
index f970c3321eb..e8ec232d71e 100644
--- a/addons/project_timesheet/i18n/el.po
+++ b/addons/project_timesheet/i18n/el.po
@@ -13,7 +13,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-04-17 04:16+0000\n"
+"X-Launchpad-Export-Date: 2010-06-22 04:15+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
"X-Poedit-Country: GREECE\n"
"X-Poedit-Language: Greek\n"
diff --git a/addons/project_timesheet/i18n/es.po b/addons/project_timesheet/i18n/es.po
index e1d575adb36..28dd6ec6d3c 100644
--- a/addons/project_timesheet/i18n/es.po
+++ b/addons/project_timesheet/i18n/es.po
@@ -7,13 +7,14 @@ msgstr ""
"Project-Id-Version: OpenERP Server 5.0.0\n"
"Report-Msgid-Bugs-To: support@openerp.com\n"
"POT-Creation-Date: 2009-08-28 16:01+0000\n"
-"PO-Revision-Date: 2009-11-09 19:37+0000\n"
-"Last-Translator: Fabien (Open ERP) \n"
+"PO-Revision-Date: 2010-06-23 17:32+0000\n"
+"Last-Translator: Jordi Esteve (www.zikzakmedia.com) "
+"