diff --git a/addons/account/account_analytic_line.py b/addons/account/account_analytic_line.py
index 1fa0a5c6cfa..ba33185119e 100644
--- a/addons/account/account_analytic_line.py
+++ b/addons/account/account_analytic_line.py
@@ -167,7 +167,7 @@ class res_partner(osv.osv):
_columns = {
'contract_ids': fields.one2many('account.analytic.account', \
- 'partner_id', 'Contracts'),
+ 'partner_id', 'Contracts', readonly=True),
}
res_partner()
diff --git a/addons/account/account_invoice_view.xml b/addons/account/account_invoice_view.xml
index da6a5777658..ac11b019ec2 100644
--- a/addons/account/account_invoice_view.xml
+++ b/addons/account/account_invoice_view.xml
@@ -351,7 +351,7 @@
-
+
@@ -481,21 +481,5 @@
-
-
-
- res.partner.invoice.info.inherit
- res.partner
- form
-
-
-
-
-
-
-
-
-
-
diff --git a/addons/account/invoice.py b/addons/account/invoice.py
index dbaa321f329..4af3b43d54c 100644
--- a/addons/account/invoice.py
+++ b/addons/account/invoice.py
@@ -23,7 +23,6 @@ import time
import decimal_precision as dp
import netsvc
-
from osv import fields, osv, orm
import pooler
from tools import config
@@ -1525,7 +1524,7 @@ class res_partner(osv.osv):
_inherit = 'res.partner'
_columns = {
- 'invoice_ids': fields.one2many('account.invoice.line', 'partner_id', 'Invoices'),
+ 'invoice_ids': fields.one2many('account.invoice.line', 'partner_id', 'Invoices', readonly=True),
}
res_partner()
diff --git a/addons/account/partner_view.xml b/addons/account/partner_view.xml
index eb24af577ac..286d0f1d79e 100644
--- a/addons/account/partner_view.xml
+++ b/addons/account/partner_view.xml
@@ -74,13 +74,13 @@
-
+
-
+
@@ -118,10 +118,27 @@
+
+
+
+
+ res.partner.account.info.inherit
+ res.partner
+ form
+
+
+
+
+
+
+
+
+
+
diff --git a/addons/account/project/project_view.xml b/addons/account/project/project_view.xml
index ade59116947..b4a7b67a05a 100644
--- a/addons/account/project/project_view.xml
+++ b/addons/account/project/project_view.xml
@@ -443,21 +443,6 @@
-
-
-
-
- res.partner.contract.info.inherit
- res.partner
- form
-
-
-
-
-
-
-
-
diff --git a/addons/account/report/account_account_report_view.xml b/addons/account/report/account_account_report_view.xml
index 6553d761a01..f2d6338c951 100644
--- a/addons/account/report/account_account_report_view.xml
+++ b/addons/account/report/account_account_report_view.xml
@@ -57,7 +57,7 @@
-
+
@@ -67,7 +67,8 @@
-
+
+
diff --git a/addons/account/report/account_analytic_entries_report_view.xml b/addons/account/report/account_analytic_entries_report_view.xml
index b824ebcf7c3..e1cd7967b8d 100644
--- a/addons/account/report/account_analytic_entries_report_view.xml
+++ b/addons/account/report/account_analytic_entries_report_view.xml
@@ -55,7 +55,7 @@
-
+
@@ -71,14 +71,15 @@
-
+
+
-
+
diff --git a/addons/account/report/account_analytic_report_view.xml b/addons/account/report/account_analytic_report_view.xml
index 0d05d5f0d76..9a60b8a7bd0 100644
--- a/addons/account/report/account_analytic_report_view.xml
+++ b/addons/account/report/account_analytic_report_view.xml
@@ -58,7 +58,7 @@
-
+
-
-
@@ -95,7 +95,7 @@
-
+
@@ -118,7 +118,7 @@
-
+
diff --git a/addons/account_followup/__openerp__.py b/addons/account_followup/__openerp__.py
index 2fc950d9e0c..df3955d8180 100644
--- a/addons/account_followup/__openerp__.py
+++ b/addons/account_followup/__openerp__.py
@@ -30,7 +30,7 @@
You can define your multiple levels of recall through the menu:
Financial Management/Configuration/Payment Terms/Follow-Ups
- Once it's defined, you can automatically prints recall every days
+ Once it's defined, you can automatically print recalls every day
through simply clicking on the menu:
Financial_Management/Periodical_Processing/Print_Follow-Ups
diff --git a/addons/account_invoice_layout/__openerp__.py b/addons/account_invoice_layout/__openerp__.py
index f2df124dc75..8692385179e 100644
--- a/addons/account_invoice_layout/__openerp__.py
+++ b/addons/account_invoice_layout/__openerp__.py
@@ -32,7 +32,7 @@
* add titles, comment lines, sub total lines
* draw horizontal lines and put page breaks
- Moreover, there is one option which allow you to print all the selected invoices with a given special message at the bottom of it. This feature can be very useful for printing your invoices with end-of-year wishes, special punctual conditions...
+ Moreover, there is one option which allows you to print all the selected invoices with a given special message at the bottom of it. This feature can be very useful for printing your invoices with end-of-year wishes, special punctual conditions...
""",
'author': 'Tiny',
diff --git a/addons/account_payment/__openerp__.py b/addons/account_payment/__openerp__.py
index 0388bc2d4e4..5cdc1254976 100644
--- a/addons/account_payment/__openerp__.py
+++ b/addons/account_payment/__openerp__.py
@@ -28,7 +28,7 @@
"depends": ["account"],
"init_xml": [],
"description": """
- This module provide :
+ This module provides :
* a more efficient way to manage invoice payment.
* a basic mechanism to easily plug various automated payment.
""",
diff --git a/addons/account_voucher/__openerp__.py b/addons/account_voucher/__openerp__.py
index a3813f47fee..892f05caa4b 100644
--- a/addons/account_voucher/__openerp__.py
+++ b/addons/account_voucher/__openerp__.py
@@ -24,8 +24,8 @@
"version" : "1.0",
"author" : 'Tiny & Axelor',
"description": """
- India Accounting module includes all the basic requirenment of
- Basic Accounting, plus new things which available are
+ Indian Accounting module includes all the basic requirenments of
+ Basic Accounting, plus new things which are available :
* Indian Account Chart
* New Invoice - (Local, Retail)
* Invoice Report
diff --git a/addons/analytic_journal_billing_rate/__openerp__.py b/addons/analytic_journal_billing_rate/__openerp__.py
index 0049d03f3c5..f77f5ad625c 100644
--- a/addons/analytic_journal_billing_rate/__openerp__.py
+++ b/addons/analytic_journal_billing_rate/__openerp__.py
@@ -25,7 +25,7 @@
'category': 'Generic Modules/Others',
'description': """
- This module allows you to define what is the default invoicing rate for a specific journal on a given account. This is mostly used when a user encode his timesheet: the values are retrieved and the fields are auto-filled... but the possibility to change these values is still available.
+ This module allows you to define what is the default invoicing rate for a specific journal on a given account. This is mostly used when a user encodes his timesheet: the values are retrieved and the fields are auto-filled... but the possibility to change these values is still available.
Obviously if no data has been recorded for the current account, the default value is given as usual by the account data so that this module is perfectly compatible with older configurations.
diff --git a/addons/analytic_user_function/__openerp__.py b/addons/analytic_user_function/__openerp__.py
index a6149cabb7c..072d6cfc4f9 100644
--- a/addons/analytic_user_function/__openerp__.py
+++ b/addons/analytic_user_function/__openerp__.py
@@ -26,7 +26,7 @@
'category': 'Generic Modules/Others',
'description': """
- This module allows you to define what is the default function of a specific user on a given account. This is mostly used when a user encode his timesheet: the values are retrieved and the fields are auto-filled... but the possibility to change these values is still available.
+ This module allows you to define what is the default function of a specific user on a given account. This is mostly used when a user encodes his timesheet: the values are retrieved and the fields are auto-filled... but the possibility to change these values is still available.
Obviously if no data has been recorded for the current account, the default value is given as usual by the employee data so that this module is perfectly compatible with older configurations.
diff --git a/addons/audittrail/audittrail.py b/addons/audittrail/audittrail.py
index a4d6904c4ca..80166298edb 100644
--- a/addons/audittrail/audittrail.py
+++ b/addons/audittrail/audittrail.py
@@ -33,25 +33,25 @@ class audittrail_rule(osv.osv):
_name = 'audittrail.rule'
_description = "Audittrail Rule"
_columns = {
- "name": fields.char("Rule Name", size=32, required=True),
- "object_id": fields.many2one('ir.model', 'Object', required=True),
- "user_id": fields.many2many('res.users', 'audittail_rules_users',
- 'user_id', 'rule_id', 'Users'),
- "log_read": fields.boolean("Log reads"),
- "log_write": fields.boolean("Log writes"),
- "log_unlink": fields.boolean("Log deletes"),
- "log_create": fields.boolean("Log creates"),
- "state": fields.selection((("draft", "Draft"),
- ("subscribed", "Subscribed")),
- "State", required=True),
- "action_id": fields.many2one('ir.actions.act_window', "Action ID"),
+ "name": fields.char("Rule Name", size=32, required=True),
+ "object_id": fields.many2one('ir.model', 'Object', required=True),
+ "user_id": fields.many2many('res.users', 'audittail_rules_users',
+ 'user_id', 'rule_id', 'Users'),
+ "log_read": fields.boolean("Log reads"),
+ "log_write": fields.boolean("Log writes"),
+ "log_unlink": fields.boolean("Log deletes"),
+ "log_create": fields.boolean("Log creates"),
+ "state": fields.selection((("draft", "Draft"),
+ ("subscribed", "Subscribed")),
+ "State", required=True),
+ "action_id": fields.many2one('ir.actions.act_window', "Action ID"),
}
_defaults = {
- 'state': lambda *a: 'draft',
- 'log_create': lambda *a: 1,
- 'log_unlink': lambda *a: 1,
- 'log_write': lambda *a: 1,
+ 'state': lambda *a: 'draft',
+ 'log_create': lambda *a: 1,
+ 'log_unlink': lambda *a: 1,
+ 'log_write': lambda *a: 1,
}
_sql_constraints = [
@@ -65,7 +65,7 @@ class audittrail_rule(osv.osv):
@param cr: the current row, from the database cursor,
@param uid: the current user’s ID for security checks,
@param ids: List of Auddittrail Rule’s IDs.
- @return: True
+ @return: True
"""
obj_action = self.pool.get('ir.actions.act_window')
obj_model = self.pool.get('ir.model.data')
@@ -74,13 +74,13 @@ class audittrail_rule(osv.osv):
obj = self.pool.get(thisrule.object_id.model)
if not obj:
raise osv.except_osv(
- _('WARNING: audittrail is not part of the pool'),
+ _('WARNING: audittrail is not part of the pool'),
_('Change audittrail depends -- Setting rule as DRAFT'))
self.write(cr, uid, [thisrule.id], {"state": "draft"})
val = {
- "name": 'View Log',
- "res_model": 'audittrail.log',
- "src_model": thisrule.object_id.model,
+ "name": 'View Log',
+ "res_model": 'audittrail.log',
+ "src_model": thisrule.object_id.model,
"domain": "[('object_id','=', " + str(thisrule.object_id.id) + "), ('res_id', '=', active_id)]"
}
@@ -98,7 +98,7 @@ class audittrail_rule(osv.osv):
@param cr: the current row, from the database cursor,
@param uid: the current user’s ID for security checks,
@param ids: List of Auddittrail Rule’s IDs.
- @return: True
+ @return: True
"""
obj_action = self.pool.get('ir.actions.act_window')
val_obj = self.pool.get('ir.values')
@@ -128,16 +128,16 @@ class audittrail_log(osv.osv):
_description = "Audittrail Log"
_columns = {
- "name": fields.char("Name", size=32),
- "object_id": fields.many2one('ir.model', 'Object'),
- "user_id": fields.many2one('res.users', 'User'),
- "method": fields.selection((('read', 'Read'),
- ('write', 'Write'),
- ('unlink', 'Delete'),
- ('create', 'Create')), "Method"),
- "timestamp": fields.datetime("Date"),
- "res_id": fields.integer('Resource Id'),
- "line_ids": fields.one2many('audittrail.log.line', 'log_id', 'Log lines'),
+ "name": fields.char("Name", size=32),
+ "object_id": fields.many2one('ir.model', 'Object'),
+ "user_id": fields.many2one('res.users', 'User'),
+ "method": fields.selection((('read', 'Read'),
+ ('write', 'Write'),
+ ('unlink', 'Delete'),
+ ('create', 'Create')), "Method"),
+ "timestamp": fields.datetime("Date"),
+ "res_id": fields.integer('Resource Id'),
+ "line_ids": fields.one2many('audittrail.log.line', 'log_id', 'Log lines'),
}
_defaults = {
@@ -155,14 +155,14 @@ class audittrail_log_line(osv.osv):
_name = 'audittrail.log.line'
_description = "Log Line"
_columns = {
- 'field_id': fields.many2one('ir.model.fields', 'Fields', required=True),
- 'log_id': fields.many2one('audittrail.log', 'Log'),
- 'log': fields.integer("Log ID"),
- 'old_value': fields.text("Old Value"),
- 'new_value': fields.text("New Value"),
- 'old_value_text': fields.text('Old value Text'),
- 'new_value_text': fields.text('New value Text'),
- 'field_description': fields.char('Field Description', size=64),
+ 'field_id': fields.many2one('ir.model.fields', 'Fields', required=True),
+ 'log_id': fields.many2one('audittrail.log', 'Log'),
+ 'log': fields.integer("Log ID"),
+ 'old_value': fields.text("Old Value"),
+ 'new_value': fields.text("New Value"),
+ 'old_value_text': fields.text('Old value Text'),
+ 'new_value_text': fields.text('New value Text'),
+ 'field_description': fields.char('Field Description', size=64),
}
audittrail_log_line()
@@ -170,7 +170,7 @@ audittrail_log_line()
class audittrail_objects_proxy(osv_pool):
""" Uses Object proxy for auditing changes on object of subscribed Rules"""
-
+
def get_value_text(self, cr, uid, field_name, values, object, context=None):
"""
Gets textual values for the fields
@@ -178,9 +178,9 @@ class audittrail_objects_proxy(osv_pool):
@param cr: the current row, from the database cursor,
@param uid: the current user’s ID for security checks,
- @param field_name: List of fields for text values
- @param values: Values for field to be converted into textual values
- @return: values: List of textual values for given fields
+ @param field_name: List of fields for text values
+ @param values: Values for field to be converted into textual values
+ @return: values: List of textual values for given fields
"""
if not context:
context = {}
@@ -226,7 +226,7 @@ class audittrail_objects_proxy(osv_pool):
@param object: Object who's values are being changed
@param lines: List of values for line is to be created
"""
-
+
pool = pooler.get_pool(cr.dbname)
obj = pool.get(object.model)
#start Loop
@@ -242,7 +242,7 @@ class audittrail_objects_proxy(osv_pool):
new_value = 'new_value' in line and line['new_value'] or ''
old_value_text = 'old_value_text' in line and line['old_value_text'] or ''
new_value_text = 'new_value_text' in line and line['new_value_text'] or ''
-
+
if old_value_text == new_value_text:
continue
if fields[0]['ttype'] == 'many2one':
@@ -251,12 +251,12 @@ class audittrail_objects_proxy(osv_pool):
if type(new_value) == tuple:
new_value = new_value[0]
vals = {
- "log_id": id,
- "field_id": f_id[0],
- "old_value": old_value,
- "new_value": new_value,
- "old_value_text": old_value_text,
- "new_value_text": new_value_text,
+ "log_id": id,
+ "field_id": f_id[0],
+ "old_value": old_value,
+ "new_value": new_value,
+ "old_value_text": old_value_text,
+ "new_value_text": new_value_text,
"field_description": fields[0]['field_description']
}
line_id = pool.get('audittrail.log.line').create(cr, uid, vals)
@@ -270,10 +270,10 @@ class audittrail_objects_proxy(osv_pool):
@param db: the current database
@param uid: the current user’s ID for security checks,
@param object: Object who's values are being changed
- @param method: method to log: create, read, write, unlink
+ @param method: method to log: create, read, write, unlink
@param fct_src: execute method of Object proxy
-
- @return: Returns result as per method of Object proxy
+
+ @return: Returns result as per method of Object proxy
"""
logged_uids = []
pool = pooler.get_pool(db)
@@ -290,9 +290,9 @@ class audittrail_objects_proxy(osv_pool):
resource_name = pool.get(model_object.model).name_get(cr, uid, [res_id])
resource_name = resource_name and resource_name[0][1] or ''
vals = {
- "method": method,
- "object_id": model_object.id,
- "user_id": uid, "res_id": res_id,
+ "method": method,
+ "object_id": model_object.id,
+ "user_id": uid, "res_id": res_id,
"name": resource_name
}
id = pool.get('audittrail.log').create(cr, uid, vals)
@@ -300,8 +300,8 @@ class audittrail_objects_proxy(osv_pool):
for field in new_value:
if new_value[field]:
line = {
- 'name': field,
- 'new_value': new_value[field],
+ 'name': field,
+ 'new_value': new_value[field],
'new_value_text': self.get_value_text(cr, uid, field, new_value[field], model_object)
}
lines.append(line)
@@ -329,10 +329,10 @@ class audittrail_objects_proxy(osv_pool):
for field in args[1].keys():
if args[1].keys():
line = {
- 'name': field,
- 'new_value': field in new_values and new_values[field] or '',
- 'old_value': field in old_values and old_values[field] or '',
- 'new_value_text': self.get_value_text(cr, uid, field, new_values[field], model_object),
+ 'name': field,
+ 'new_value': field in new_values and new_values[field] or '',
+ 'old_value': field in old_values and old_values[field] or '',
+ 'new_value_text': self.get_value_text(cr, uid, field, new_values[field], model_object),
'old_value_text': old_values_text[field]
}
lines.append(line)
@@ -360,8 +360,8 @@ class audittrail_objects_proxy(osv_pool):
for field in old_values[res_id]:
if old_values[res_id][field]:
line = {
- 'name': field,
- 'old_value': old_values[res_id][field],
+ 'name': field,
+ 'old_value': old_values[res_id][field],
'old_value_text': self.get_value_text(cr, uid, field, old_values[res_id][field], model_object)
}
lines.append(line)
@@ -385,8 +385,8 @@ class audittrail_objects_proxy(osv_pool):
for field in old_values[res_id]:
if old_values[res_id][field]:
line = {
- 'name': field,
- 'old_value': old_values[res_id][field],
+ 'name': field,
+ 'old_value': old_values[res_id][field],
'old_value_text': self.get_value_text(cr, uid, field, old_values[res_id][field], model_object)
}
lines.append(line)
@@ -403,9 +403,9 @@ class audittrail_objects_proxy(osv_pool):
@param db: the current database
@param uid: the current user’s ID for security checks,
@param object: Object who's values are being changed
- @param method: method to log: create, read, write, unlink
-
- @return: Returns result as per method of Object proxy
+ @param method: method to log: create, read, write, unlink
+
+ @return: Returns result as per method of Object proxy
"""
pool = pooler.get_pool(db)
cr = pooler.get_db(db).cursor()
@@ -433,7 +433,7 @@ class audittrail_objects_proxy(osv_pool):
logged_uids.append(user.id)
if not logged_uids or uid in logged_uids:
if field in ('read', 'write', 'create', 'unlink'):
- if getattr(thisrule, 'log_',''):
+ if getattr(thisrule, 'log_' + field):
return self.log_fct(db, uid, object, method, fct_src, *args)
return fct_src(db, uid, object, method, *args)
res = my_fct(db, uid, object, method, *args)
diff --git a/addons/base_calendar/__openerp__.py b/addons/base_calendar/__openerp__.py
index de44f6e0333..2c6c8bf3f9b 100644
--- a/addons/base_calendar/__openerp__.py
+++ b/addons/base_calendar/__openerp__.py
@@ -20,10 +20,11 @@
##############################################################################
{
- "name" : "Basic Calendar Functionality",
- "version" : "1.0",
- "depends" : ["base"],
- 'description': """Full featured calendar system that support:
+ "name" : "Basic Calendar Functionality",
+ "version" : "1.0",
+ "depends" : ["base"],
+ 'description': """Full featured calendar system that supports:
+
- Alerts (create requests)
- Recurring events (*)
- Invitations to others people""",
diff --git a/addons/base_calendar/base_calendar.py b/addons/base_calendar/base_calendar.py
index 4c3940301b3..bf93c9c775d 100644
--- a/addons/base_calendar/base_calendar.py
+++ b/addons/base_calendar/base_calendar.py
@@ -1660,9 +1660,10 @@ class ir_model(osv.osv):
@param ids: List of IR Model’s IDs.
@param context: A standard dictionary for contextual values
"""
+ new_ids = isinstance(ids, (str, int, long)) and [ids] or ids
if not context:
context = {}
- data = super(ir_model, self).read(cr, uid, ids, fields=fields, \
+ data = super(ir_model, self).read(cr, uid, new_ids, fields=fields, \
context=context, load=load)
if data:
for val in data:
diff --git a/addons/base_calendar/base_calendar_view.xml b/addons/base_calendar/base_calendar_view.xml
index c596ffc261e..a5afddc9823 100644
--- a/addons/base_calendar/base_calendar_view.xml
+++ b/addons/base_calendar/base_calendar_view.xml
@@ -108,7 +108,7 @@
-
+
-
+ context="{'group_by':'partner_address_id'}" />
@@ -400,7 +398,7 @@
-
+
\n"
+"PO-Revision-Date: 2010-05-25 16:41+0000\n"
+"Last-Translator: Grzegorz Grzelak (Cirrus.pl) \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-05-27 03:42+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: board_account
#: view:board.board:0
msgid "Analytic accounts to close"
-msgstr ""
+msgstr "Konta analityczne do zamknięcia"
#. module: board_account
#: view:board.board:0
msgid "Draft invoices"
-msgstr ""
+msgstr "Projekty faktur"
#. module: board_account
#: constraint:ir.ui.view:0
@@ -35,61 +35,61 @@ msgstr "XML niewłaściwy dla tej architektury wyświetlania!"
#: model:ir.actions.act_window,name:board_account.open_board_account
#: model:ir.ui.menu,name:board_account.menu_board_account
msgid "Accounting Dashboard"
-msgstr ""
+msgstr "Konsola księgowości"
#. module: board_account
#: model:ir.actions.act_window,name:board_account.action_aged_receivable
msgid "Receivable Accounts"
-msgstr ""
+msgstr "Konta wierzytelności"
#. module: board_account
#: view:board.board:0
#: model:ir.actions.act_window,name:board_account.act_my_account
msgid "Accounts to invoice"
-msgstr ""
+msgstr "Konta do faktur"
#. module: board_account
#: view:board.board:0
#: model:ir.actions.act_window,name:board_account.action_account_analytic_line_to_invoice
msgid "Costs to invoice"
-msgstr ""
+msgstr "Koszty do faktur"
#. module: board_account
#: view:board.board:0
msgid "Aged receivables"
-msgstr ""
+msgstr "Przeterminowane wierzytelności"
#. module: board_account
#: model:ir.module.module,shortdesc:board_account.module_meta_information
msgid "Board for accountant"
-msgstr ""
+msgstr "Konsola dla księgowści"
#. module: board_account
#: model:ir.actions.act_window,name:board_account.action_aged_income
msgid "Income Accounts"
-msgstr ""
+msgstr "Konta przychodowe"
#. module: board_account
#: view:board.board:0
msgid "My indicators"
-msgstr ""
+msgstr "Moje wskaźniki"
#. module: board_account
#: constraint:ir.actions.act_window:0
msgid "Invalid model name in the action definition."
-msgstr ""
+msgstr "Nieprawidłowa nazwa modelu w definicji akcji."
#. module: board_account
#: model:ir.ui.menu,name:board_account.next_id_68
msgid "Accounting"
-msgstr ""
+msgstr "Księgowość"
#. module: board_account
#: view:board.board:0
msgid "Account Board"
-msgstr ""
+msgstr "Konsola kont"
#. module: board_account
#: view:board.board:0
msgid "Aged income"
-msgstr ""
+msgstr "Przeterminowany dochód"
diff --git a/addons/board_manufacturing/__openerp__.py b/addons/board_manufacturing/__openerp__.py
index 50afa0d6cbc..e61a1c08fcf 100644
--- a/addons/board_manufacturing/__openerp__.py
+++ b/addons/board_manufacturing/__openerp__.py
@@ -25,7 +25,7 @@
'version': '1.0',
'category': 'Board/Manufacturing',
'description': """
- This module creates a dashboards for Manufaturing that includes:
+ This module creates a dashboard for Manufaturing that includes:
* List of next production orders
* List of deliveries (out picking)
* Graph of work center load
diff --git a/addons/board_project/__openerp__.py b/addons/board_project/__openerp__.py
index f934c7d3bc5..6d5518b17f2 100644
--- a/addons/board_project/__openerp__.py
+++ b/addons/board_project/__openerp__.py
@@ -25,7 +25,7 @@
'version': '1.0',
'category': 'Board/Projects & Services',
'description': """
-This module implements a dashboard for project member that includes:
+This module implements a dashboard for project members that includes:
* List of my open tasks
* List of messages
* Members list of project
diff --git a/addons/board_purchase/__terp__.py b/addons/board_purchase/__terp__.py
index f5ada7cfe46..bd31ee75d56 100644
--- a/addons/board_purchase/__terp__.py
+++ b/addons/board_purchase/__terp__.py
@@ -25,7 +25,7 @@
'version': '1.0',
'category': 'Board/Purchase',
'description': """
-This module implements a dashboard for purcgase management that includes:
+This module implements a dashboard for purchase management that includes:
* Current Purchase Orders
* Draft Purchase Orders
* Graph for quantity and amount per month
diff --git a/addons/board_sale/__openerp__.py b/addons/board_sale/__openerp__.py
index 1c9d01d376a..4c2ae1e88c3 100644
--- a/addons/board_sale/__openerp__.py
+++ b/addons/board_sale/__openerp__.py
@@ -26,7 +26,7 @@
'category': 'Board/Sales & Purchase',
'description': """
This module implements a dashboard for salesman that includes:
- * You open quotations
+ * Your open quotations
* Top 10 sales of the month
* Cases statistics
* Graph of sales by product
diff --git a/addons/crm/__init__.py b/addons/crm/__init__.py
index de0fac56e29..362444ccc2c 100644
--- a/addons/crm/__init__.py
+++ b/addons/crm/__init__.py
@@ -33,6 +33,7 @@ import crm_installer
import report
import wizard
+import res_partner
diff --git a/addons/crm/__openerp__.py b/addons/crm/__openerp__.py
index 3bc1f703454..386387b1157 100644
--- a/addons/crm/__openerp__.py
+++ b/addons/crm/__openerp__.py
@@ -32,12 +32,12 @@ assignment, resolution and notification.
Open ERP ensures that all cases are successfully tracked by users, customers and
suppliers. It can automatically send reminders, escalate the request, trigger
-specific methods and lots of others actions based on your enterprise own rules.
+specific methods and lots of other actions based on your own enterprise rules.
The greatest thing about this system is that users don't need to do anything
special. They can just send email to the request tracker. Open ERP will take
care of thanking them for their message, automatically routing it to the
-appropriate staff, and making sure all future correspondence gets to the right
+appropriate staff, and make sure all future correspondence gets to the right
place.
The CRM module has a email gateway for the synchronisation interface
@@ -96,7 +96,9 @@ between mails and Open ERP.""",
'report/crm_phonecall_report_view.xml',
'process/crm_configuration_process.xml',
- 'crm_installer_view.xml'
+ 'crm_installer_view.xml',
+
+ 'res_partner_view.xml'
],
'demo_xml': [
'crm_demo.xml',
diff --git a/addons/crm/crm_lead_view.xml b/addons/crm/crm_lead_view.xml
index ab8bc1de303..9c24e306154 100644
--- a/addons/crm/crm_lead_view.xml
+++ b/addons/crm/crm_lead_view.xml
@@ -2,7 +2,7 @@
-
+
Lead Stages
@@ -16,7 +16,7 @@
groups="base.group_extended"
parent="crm.menu_crm_case_stage" />
-
+
Lead Resource Type
@@ -31,7 +31,7 @@
groups="base.group_extended"
parent="crm.menu_crm_case_resource_type" />
-
+
CRM - Leads Form
@@ -190,7 +190,7 @@
-
+
CRM - Leads Tree
@@ -239,7 +239,7 @@
-
+
CRM - Leads Calendar
@@ -257,7 +257,7 @@
-
+
CRM - Leads Search
@@ -306,7 +306,7 @@
help="Show Sales Team"/>
-
+
@@ -322,6 +322,5 @@
-
diff --git a/addons/crm/crm_meeting.py b/addons/crm/crm_meeting.py
index 20ae1176ca6..e45ee85b31d 100644
--- a/addons/crm/crm_meeting.py
+++ b/addons/crm/crm_meeting.py
@@ -175,16 +175,4 @@ class res_users(osv.osv):
res_users()
-class res_partner(osv.osv):
- """ Inherits partner and adds meetings information in the partner form """
- _inherit = 'res.partner'
-
- _columns = {
- 'meeting_ids': fields.one2many('crm.meeting', 'partner_id',\
- 'Meetings'),
- }
-
-res_partner()
-
-
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
diff --git a/addons/crm/crm_meeting_view.xml b/addons/crm/crm_meeting_view.xml
index bab9be8733e..e84bbb673ee 100644
--- a/addons/crm/crm_meeting_view.xml
+++ b/addons/crm/crm_meeting_view.xml
@@ -2,7 +2,7 @@
-
+
Meeting Categories
@@ -16,7 +16,7 @@
-
+
CRM - Meetings Form
@@ -204,7 +204,7 @@
-
+
CRM - Meetings Tree
@@ -222,7 +222,7 @@
-
+
CRM - Meetings Calendar
@@ -238,7 +238,7 @@
-
+
CRM - Meetings Gantt
@@ -254,7 +254,7 @@
-
+
CRM - Meetings Search
@@ -277,7 +277,7 @@
-
+
-
+
calendar.attendee.form.inherit
@@ -310,7 +310,7 @@
-
+
calendar.attendee.tree.inherit
@@ -324,21 +324,5 @@
-
-
-
- res.partner.meeting.info.inherit
- res.partner
- form
-
-
-
-
-
-
-
-
-
-
diff --git a/addons/crm/crm_opportunity.py b/addons/crm/crm_opportunity.py
index 3bc9fdd6d81..98e4c6f3ded 100644
--- a/addons/crm/crm_opportunity.py
+++ b/addons/crm/crm_opportunity.py
@@ -163,16 +163,4 @@ class crm_opportunity(osv.osv):
crm_opportunity()
-class res_partner(osv.osv):
- """ Inherits partner and adds Opportunities information in the partner form """
- _inherit = 'res.partner'
-
- _columns = {
- 'opportunity_ids': fields.one2many('crm.lead', 'partner_id',\
- 'Opportunities', domain=[('type', '=', 'opportunity')]),
- }
-
-res_partner()
-
-
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
diff --git a/addons/crm/crm_opportunity_view.xml b/addons/crm/crm_opportunity_view.xml
index 38af54200ef..6f34e42324d 100644
--- a/addons/crm/crm_opportunity_view.xml
+++ b/addons/crm/crm_opportunity_view.xml
@@ -2,7 +2,7 @@
-
+
Opportunity Categories
@@ -17,7 +17,7 @@
id="menu_crm_case_opportunity-act"
parent="crm.menu_crm_case_categ" />
-
+
Opportunity Stages
@@ -32,7 +32,7 @@
id="menu_crm_opportunity_stage_act"
parent="crm.menu_crm_case_stage" />
-
+
Opportunity Resource Type
@@ -47,7 +47,7 @@
id="menu_crm_opportunity_resource_act"
parent="crm.menu_crm_case_resource_type" />
-
+
Opportunities
@@ -204,7 +204,7 @@
-
+
Opportunities Tree
@@ -246,7 +246,7 @@
-
+
CRM - Opportunity Graph
@@ -261,7 +261,7 @@
-
+
CRM - Opportunities Search
@@ -293,11 +293,10 @@
+ help="My Opportunities" default="1"/>
+ help="Unassigned Opportunities"/>
-
+
+ context="{'group_by':'stage_id'}"/>
+ context="{'group_by':'priority'}"/>
+ domain="[]" context="{'group_by':'categ_id'}"/>
-
+
-
+ domain="[('user_id','=',uid)]" context="{'group_by':'user_id'}"/>
+
+ domain="[]" context="{'group_by':'create_date'}"/>
+ domain="[]" context="{'group_by':'date_deadline'}"/>
-
-
-
- res.partner.opportunity.info.inherit
- res.partner
- form
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/addons/crm/crm_phonecall.py b/addons/crm/crm_phonecall.py
index 7131a3730d2..205b30d39dc 100644
--- a/addons/crm/crm_phonecall.py
+++ b/addons/crm/crm_phonecall.py
@@ -178,15 +178,5 @@ class crm_phonecall(osv.osv, crm_case):
crm_phonecall()
-class res_partner(osv.osv):
- """ Inherits partner and adds Phonecalls information in the partner form """
- _inherit = 'res.partner'
-
- _columns = {
- 'phonecall_ids': fields.one2many('crm.phonecall', 'partner_id', 'Phonecalls'),
- }
-
-res_partner()
-
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
diff --git a/addons/crm/crm_phonecall_view.xml b/addons/crm/crm_phonecall_view.xml
index b7b8dd31cc5..65b77ed5abe 100644
--- a/addons/crm/crm_phonecall_view.xml
+++ b/addons/crm/crm_phonecall_view.xml
@@ -75,23 +75,24 @@
-
-
-
-
-
+
+
+
+
+
+
@@ -136,7 +137,7 @@
-
+
@@ -149,17 +150,18 @@
-
-
-
-
+
+
+
+
+
-
+
-
+
CRM - Inbound Phone Calls Tree
crm.phonecall
@@ -272,7 +274,7 @@
help="My Sale Team" />
-
+
-
-
-
-
- res.partner.phonecall.info.inherit
- res.partner
- form
-
-
-
-
-
-
-
-
+
diff --git a/addons/crm/crm_view.xml b/addons/crm/crm_view.xml
index 4e2a72a18d4..52450419fd2 100644
--- a/addons/crm/crm_view.xml
+++ b/addons/crm/crm_view.xml
@@ -4,9 +4,6 @@
-
-
@@ -48,7 +45,7 @@
-
+
crm.case.section.tree
@@ -64,7 +61,7 @@
-
+
Sales Team
@@ -73,7 +70,7 @@
-
+
crm.case.stage.tree
@@ -90,7 +87,7 @@
-
+
crm.case.stage.form
@@ -111,7 +108,7 @@
-
+
Stages
@@ -122,7 +119,7 @@
-
+
crm.case.categ.form
@@ -137,7 +134,7 @@
-
+
crm.case.categ.tree
@@ -151,7 +148,7 @@
-
+
Categories
@@ -166,7 +163,7 @@
parent="base.menu_crm_configuration" />
-
+
crm.case.resource.type.tree
@@ -181,7 +178,7 @@
-
+
crm.case.resource.type.form
@@ -196,7 +193,7 @@
-
+
Resource Type
@@ -215,7 +212,7 @@
-
+
crm.case.log.tree
@@ -235,8 +232,7 @@
-
-
+
crm.segmentation.line.tree
@@ -253,7 +249,7 @@
-
+
crm.segmentation.line.form
@@ -273,7 +269,7 @@
-
+
crm.segmentation.form
@@ -318,7 +314,7 @@
-
+
crm.segmentation.tree
@@ -378,7 +374,7 @@
-
+
view.res.partner.form.crm.inherited1
diff --git a/addons/crm/report/crm_lead_report_view.xml b/addons/crm/report/crm_lead_report_view.xml
index ba9e147fa84..c65ee0fd285 100644
--- a/addons/crm/report/crm_lead_report_view.xml
+++ b/addons/crm/report/crm_lead_report_view.xml
@@ -119,7 +119,7 @@
-
+
@@ -153,7 +153,7 @@
-
+
-
+
@@ -150,7 +150,7 @@
-
+
diff --git a/addons/crm/res_partner.py b/addons/crm/res_partner.py
new file mode 100644
index 00000000000..93d865d7f74
--- /dev/null
+++ b/addons/crm/res_partner.py
@@ -0,0 +1,39 @@
+# -*- 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
+
+class res_partner(osv.osv):
+ """ Inherits partner and adds CRM information in the partner form """
+ _inherit = 'res.partner'
+
+ _columns = {
+ 'opportunity_ids': fields.one2many('crm.lead', 'partner_id',\
+ 'Opportunities', domain=[('type', '=', 'opportunity')]),
+ 'meeting_ids': fields.one2many('crm.meeting', 'partner_id',\
+ 'Meetings'),
+ 'phonecall_ids': fields.one2many('crm.phonecall', 'partner_id', 'Phonecalls'),
+ }
+
+res_partner()
+
+
+# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
diff --git a/addons/crm/res_partner_view.xml b/addons/crm/res_partner_view.xml
new file mode 100644
index 00000000000..540c8d13186
--- /dev/null
+++ b/addons/crm/res_partner_view.xml
@@ -0,0 +1,63 @@
+
+
+
+
+
+
+
+ res.partner.crm.info.inherit
+ res.partner
+ form
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/addons/crm/wizard/crm_lead_to_partner.py b/addons/crm/wizard/crm_lead_to_partner.py
index a824f279e28..2decc56b806 100644
--- a/addons/crm/wizard/crm_lead_to_partner.py
+++ b/addons/crm/wizard/crm_lead_to_partner.py
@@ -147,7 +147,6 @@ class crm_lead2partner(osv.osv_memory):
'user_id': lead.user_id.id,
'comment': lead.description,
})
- function_id = self.pool.get('res.partner.function').search(cr,uid,[('name','=',lead.function_name)])
contact_id = contact_obj.create(cr, uid, {
'partner_id': partner_id,
'name': lead.name,
@@ -156,7 +155,7 @@ class crm_lead2partner(osv.osv_memory):
'email': lead.email_from,
'fax': lead.fax,
'title': lead.title,
- 'function': function_id and function_id[0] or False,
+ 'function': lead.function_name,
'street': lead.street,
'street2': lead.street2,
'zip': lead.zip,
diff --git a/addons/crm_claim/crm_claim_view.xml b/addons/crm_claim/crm_claim_view.xml
index a813bd5dc60..a625ec4dbc8 100644
--- a/addons/crm_claim/crm_claim_view.xml
+++ b/addons/crm_claim/crm_claim_view.xml
@@ -271,7 +271,7 @@
-
+
diff --git a/addons/crm_claim/report/crm_claim_report_view.xml b/addons/crm_claim/report/crm_claim_report_view.xml
index 5501aa8440d..ca6fdb95277 100644
--- a/addons/crm_claim/report/crm_claim_report_view.xml
+++ b/addons/crm_claim/report/crm_claim_report_view.xml
@@ -123,7 +123,7 @@
-
+
@@ -162,7 +162,7 @@
domain="[]" context="{'group_by':'name'}" />
-
+
diff --git a/addons/crm_fundraising/crm_fundraising_view.xml b/addons/crm_fundraising/crm_fundraising_view.xml
index f5adb66960a..908e9c7616d 100644
--- a/addons/crm_fundraising/crm_fundraising_view.xml
+++ b/addons/crm_fundraising/crm_fundraising_view.xml
@@ -256,7 +256,7 @@
search
-
+
@@ -284,7 +284,7 @@
-
+
diff --git a/addons/crm_fundraising/report/crm_fundraising_report_view.xml b/addons/crm_fundraising/report/crm_fundraising_report_view.xml
index 2fc32a3e15b..20e8ef68b6b 100644
--- a/addons/crm_fundraising/report/crm_fundraising_report_view.xml
+++ b/addons/crm_fundraising/report/crm_fundraising_report_view.xml
@@ -121,7 +121,7 @@
-
+
@@ -152,7 +152,7 @@
-
+
@@ -203,4 +203,4 @@
id="menu_report_crm_fundraising_tree" parent="base.next_id_64" />
-
\ No newline at end of file
+
diff --git a/addons/crm_helpdesk/crm_helpdesk_view.xml b/addons/crm_helpdesk/crm_helpdesk_view.xml
index 30ecce93703..e771e0ba29f 100644
--- a/addons/crm_helpdesk/crm_helpdesk_view.xml
+++ b/addons/crm_helpdesk/crm_helpdesk_view.xml
@@ -243,7 +243,7 @@
help="My section" />
-
+
-
+
@@ -144,7 +144,7 @@
-
+
diff --git a/addons/delivery/__openerp__.py b/addons/delivery/__openerp__.py
index 684547e0a89..9cdc402ae56 100644
--- a/addons/delivery/__openerp__.py
+++ b/addons/delivery/__openerp__.py
@@ -24,7 +24,7 @@
'name': 'Carriers and deliveries',
'version': '1.0',
'category': 'Generic Modules/Sales & Purchases',
- 'description': """Allows you to add delivery methods in sales orders and picking.
+ 'description': """Allows you to add delivery methods in sale orders and picking.
You can define your own carrier and delivery grids for prices.
When creating invoices from picking, Open ERP is able to add and compute the shipping line.
diff --git a/addons/document/__openerp__.py b/addons/document/__openerp__.py
index 7626bd3c51b..8a78ae46fdd 100644
--- a/addons/document/__openerp__.py
+++ b/addons/document/__openerp__.py
@@ -31,7 +31,7 @@
ATTENTION:
- When you install this module in a running company that have already PDF files stored into the database,
you will lose them all.
- - After installing this module PDF's are not longer stored into the database,
+ - After installing this module PDF's are no longer stored into the database,
but in the servers rootpad like /server/bin/filestore.
""",
'author': 'Tiny',
diff --git a/addons/document/document_view.xml b/addons/document/document_view.xml
index 69c000e89a6..720ab6de69f 100644
--- a/addons/document/document_view.xml
+++ b/addons/document/document_view.xml
@@ -118,7 +118,7 @@
document.directory
document.directory
- tree
+ tree
diff --git a/addons/document_ftp/__openerp__.py b/addons/document_ftp/__openerp__.py
index 7fcdfd8d0d5..18042dabf93 100644
--- a/addons/document_ftp/__openerp__.py
+++ b/addons/document_ftp/__openerp__.py
@@ -26,7 +26,7 @@
'category': 'Generic Modules/Others',
'description': """This is a support FTP Interface with document management system.
With this module you would not only be able to access documents through open erp
- also you would be able to connect with them through the file system using the FTP protocol.
+ but you would also be able to connect with them through the file system using the FTP protocol.
""",
'author': 'Tiny',
'website': 'http://www.openerp.com',
diff --git a/addons/fetchmail/__openerp__.py b/addons/fetchmail/__openerp__.py
index 7fd52a7fc8b..a1276c11643 100644
--- a/addons/fetchmail/__openerp__.py
+++ b/addons/fetchmail/__openerp__.py
@@ -26,7 +26,7 @@
"version" : "1.0",
"depends" : ["base"],
"author" : "Tiny",
- "description": """Fetchail:
+ "description": """Fetchmail:
* Fetch email from Pop / IMAP server
* Support SSL
* Integrated with all Modules
diff --git a/addons/hr/hr_view.xml b/addons/hr/hr_view.xml
index c19419ca4d6..ac4efb08599 100644
--- a/addons/hr/hr_view.xml
+++ b/addons/hr/hr_view.xml
@@ -101,7 +101,7 @@
-
+
diff --git a/addons/hr_attendance/hr_attendance_view.xml b/addons/hr_attendance/hr_attendance_view.xml
index 6c3f82cbe72..8b9a68575b0 100644
--- a/addons/hr_attendance/hr_attendance_view.xml
+++ b/addons/hr_attendance/hr_attendance_view.xml
@@ -55,7 +55,7 @@
-
+
diff --git a/addons/hr_contract/hr_contract_view.xml b/addons/hr_contract/hr_contract_view.xml
index 202b8d55b96..77225b1dc59 100644
--- a/addons/hr_contract/hr_contract_view.xml
+++ b/addons/hr_contract/hr_contract_view.xml
@@ -147,7 +147,7 @@
-
+
diff --git a/addons/hr_evaluation/__openerp__.py b/addons/hr_evaluation/__openerp__.py
index be1ce233718..36b54b63d0b 100644
--- a/addons/hr_evaluation/__openerp__.py
+++ b/addons/hr_evaluation/__openerp__.py
@@ -28,7 +28,7 @@
"depends" : ["hr",'hr_recruitment','survey'],
"description": """
Ability to create employees evaluation.
- An evaluation can be created by employee for subordinates
+ An evaluation can be created by employee for subordinates,
juniors as well as his manager.The evaluation is done under a plan
in which various surveys can be created and it can be defined which
level of employee hierarchy fills what and final review and evaluation
diff --git a/addons/hr_evaluation/hr_evaluation_view.xml b/addons/hr_evaluation/hr_evaluation_view.xml
index 99e3a03c4b9..d02c76bc44c 100644
--- a/addons/hr_evaluation/hr_evaluation_view.xml
+++ b/addons/hr_evaluation/hr_evaluation_view.xml
@@ -10,10 +10,10 @@
-
+
-
+
@@ -261,7 +261,7 @@
-
+
diff --git a/addons/hr_evaluation/report/hr_evaluation_report_view.xml b/addons/hr_evaluation/report/hr_evaluation_report_view.xml
index 4bcb711d24e..921d8b43a2b 100644
--- a/addons/hr_evaluation/report/hr_evaluation_report_view.xml
+++ b/addons/hr_evaluation/report/hr_evaluation_report_view.xml
@@ -71,7 +71,7 @@
-
+
@@ -83,7 +83,7 @@
-
+
diff --git a/addons/hr_expense/__openerp__.py b/addons/hr_expense/__openerp__.py
index d8d6e23ac51..ae13b0ce67b 100644
--- a/addons/hr_expense/__openerp__.py
+++ b/addons/hr_expense/__openerp__.py
@@ -34,7 +34,7 @@
* Validation by the accountant and invoice creation
* Payment of the invoice to the employee
- This module also use the analytic accounting and is compatible with
+ This module also uses the analytic accounting and is compatible with
the invoice on timesheet module so that you will be able to automatically
re-invoice your customer's expenses if your work by project.
""",
diff --git a/addons/hr_expense/hr_expense_view.xml b/addons/hr_expense/hr_expense_view.xml
index 4562886af6c..abce10e80f3 100644
--- a/addons/hr_expense/hr_expense_view.xml
+++ b/addons/hr_expense/hr_expense_view.xml
@@ -153,7 +153,7 @@
-
+
diff --git a/addons/hr_expense/report/hr_expense_report_view.xml b/addons/hr_expense/report/hr_expense_report_view.xml
index 4884b1c30c8..1d1b1dc6e0f 100644
--- a/addons/hr_expense/report/hr_expense_report_view.xml
+++ b/addons/hr_expense/report/hr_expense_report_view.xml
@@ -105,7 +105,7 @@
-
+
-
+
diff --git a/addons/hr_holidays/report/available_holidays_view.xml b/addons/hr_holidays/report/available_holidays_view.xml
index dca6e6e20f6..3652762c715 100644
--- a/addons/hr_holidays/report/available_holidays_view.xml
+++ b/addons/hr_holidays/report/available_holidays_view.xml
@@ -60,8 +60,17 @@
domain="[('date','<=', time.strftime('%%Y-%%m-%%d')), ('date','>',(datetime.date.today()-datetime.timedelta(days=7)).strftime('%%Y-%%m-%%d'))]"
help="Leaves during last 7 days"/>
-
-
+
+
+
+
+
+
+
+
+
@@ -88,7 +97,6 @@
tree,graph
{'search_default_month':1,'search_default_User':1,'group_by_no_leaf':1,'group_by':[]}
-
diff --git a/addons/hr_holidays/report/hr_holidays_report_view.xml b/addons/hr_holidays/report/hr_holidays_report_view.xml
index d40c89fedf6..dce4c67afdf 100644
--- a/addons/hr_holidays/report/hr_holidays_report_view.xml
+++ b/addons/hr_holidays/report/hr_holidays_report_view.xml
@@ -1,6 +1,7 @@
-
+
+
hr.holidays.report.tree
hr.holidays.report
@@ -77,7 +78,7 @@
-
+
@@ -89,7 +90,8 @@
-
+
+
-
+
+
diff --git a/addons/hr_recruitment/__openerp__.py b/addons/hr_recruitment/__openerp__.py
index 1e0af949825..758ad78eb8d 100644
--- a/addons/hr_recruitment/__openerp__.py
+++ b/addons/hr_recruitment/__openerp__.py
@@ -25,7 +25,7 @@
'category': 'Generic Modules/Human Resources',
'description': """
Manages job positions and the recruitement process. It's integrated with the
-survey module to allows you to define interview for different jobs.
+survey module to allow you to define interview for different jobs.
This module is integrated with the mail gateway to automatically tracks email
sent to jobs@YOURCOMPANY.com. It's also integrated with the document management
diff --git a/addons/hr_recruitment/hr_recruitment_view.xml b/addons/hr_recruitment/hr_recruitment_view.xml
index d4d197a73fe..5a1c0f249ad 100644
--- a/addons/hr_recruitment/hr_recruitment_view.xml
+++ b/addons/hr_recruitment/hr_recruitment_view.xml
@@ -232,7 +232,7 @@
help="My Department"/>
-
+
diff --git a/addons/hr_recruitment/report/hr_recruitment_report_view.xml b/addons/hr_recruitment/report/hr_recruitment_report_view.xml
index d9d5cb04634..5913684eb80 100644
--- a/addons/hr_recruitment/report/hr_recruitment_report_view.xml
+++ b/addons/hr_recruitment/report/hr_recruitment_report_view.xml
@@ -93,7 +93,7 @@
-
+
@@ -111,7 +111,7 @@
-
+
-
+
@@ -81,7 +81,7 @@
-
+
@@ -450,7 +450,7 @@
-
+
diff --git a/addons/hr_timesheet_sheet/__openerp__.py b/addons/hr_timesheet_sheet/__openerp__.py
index 44058d048cb..997b9f74898 100644
--- a/addons/hr_timesheet_sheet/__openerp__.py
+++ b/addons/hr_timesheet_sheet/__openerp__.py
@@ -25,21 +25,21 @@
'version': '1.0',
'category': 'Generic Modules/Human Resources',
'description': """
-This module help you easily encode and validate timesheet and attendances
+This module helps you to easily encode and validate timesheet and attendances
within the same view. The upper part of the view is for attendances and
track (sign in/sign out) events. The lower part is for timesheet.
-Others tabs contains statistics views to help you analyse your
+Other tabs contains statistics views to help you analyse your
time or the time of your team:
* Time spent by day (with attendances)
* Time spent by project
-This module also implement a complete timesheet validation process:
+This module also implements a complete timesheet validation process:
* Draft sheet
* Confirmation at the end of the period by the employee
* Validation by the project manager
-The validation can be configured in te company:
+The validation can be configured in the company:
* Period size (day, week, month, year)
* Maximal difference between timesheet and attendances
""",
diff --git a/addons/hr_timesheet_sheet/hr_timesheet_sheet_view.xml b/addons/hr_timesheet_sheet/hr_timesheet_sheet_view.xml
index 0102f1f8436..790296ca25b 100644
--- a/addons/hr_timesheet_sheet/hr_timesheet_sheet_view.xml
+++ b/addons/hr_timesheet_sheet/hr_timesheet_sheet_view.xml
@@ -205,7 +205,7 @@
-
+
diff --git a/addons/hr_timesheet_sheet/report/timesheet_report_view.xml b/addons/hr_timesheet_sheet/report/timesheet_report_view.xml
index 0ea40619b3d..c7cf7b0495e 100644
--- a/addons/hr_timesheet_sheet/report/timesheet_report_view.xml
+++ b/addons/hr_timesheet_sheet/report/timesheet_report_view.xml
@@ -74,8 +74,9 @@
domain="[('user_id','=',False)]"/>
-
-
+
+
+
@@ -92,7 +93,7 @@
-
+
diff --git a/addons/idea/__init__.py b/addons/idea/__init__.py
index 0cd3b1c090c..4c285a7a0a7 100644
--- a/addons/idea/__init__.py
+++ b/addons/idea/__init__.py
@@ -21,6 +21,5 @@
import idea
import wizard
-
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
diff --git a/addons/idea/__openerp__.py b/addons/idea/__openerp__.py
index 0db86965870..f10a00c75e2 100644
--- a/addons/idea/__openerp__.py
+++ b/addons/idea/__openerp__.py
@@ -27,8 +27,8 @@
'description': """
This module allows your user to easily and efficiently participate in the innovation of the enterprise.
It allows everybody to express ideas about different subjects.
- Then, others users can comment these ideas and vote for particular ideas.
- Each idea as a score based on the different votes.
+ Then, other users can comment on these ideas and vote for particular ideas.
+ Each idea has a score based on the different votes.
The managers can obtain an easy view on best ideas from all the users.
Once installed, check the menu 'Ideas' in the 'Tools' main menu.""",
'author': 'Tiny',
diff --git a/addons/l10n_be/__openerp__.py b/addons/l10n_be/__openerp__.py
index c8fdb530a45..e5d8e1255a6 100644
--- a/addons/l10n_be/__openerp__.py
+++ b/addons/l10n_be/__openerp__.py
@@ -26,7 +26,7 @@
After Installing this module,The Configuration wizard for accounting is launched.
* We have the account templates which can be helpful to generate Charts of Accounts.
- * On that particular wizard,You will be asked to pass the name of the company,the chart template to follow,the no. of digits to generate the code for your account and Bank account,currency to create Journals.
+ * On that particular wizard,You will be asked to pass the name of the company,the chart template to follow,the no. of digits to generate the code for your account and Bank account,currency to create Journals.
Thus,the pure copy of Chart Template is generated.
* This is the same wizard that runs from Financial Management/Configuration/Financial Accounting/Financial Accounts/Generate Chart of Accounts from a Chart Template.
diff --git a/addons/l10n_ch/__openerp__.py b/addons/l10n_ch/__openerp__.py
index ba10ab52212..9d0b2852abd 100644
--- a/addons/l10n_ch/__openerp__.py
+++ b/addons/l10n_ch/__openerp__.py
@@ -34,7 +34,7 @@
"name" : "Switzerland localisation corrected by Camptocamp",
"description" : """
Swiss localisation :
- - DTA generation for a lot of paiment types
+ - DTA generation for a lot of payment types
- BVR management (number generation, report, etc..)
- Import account move from the bank file (like v11 etc..)
- Simplify the way you handle the bank statement for reconciliation
diff --git a/addons/lunch/__openerp__.py b/addons/lunch/__openerp__.py
index efde2f16e61..831bc45d122 100644
--- a/addons/lunch/__openerp__.py
+++ b/addons/lunch/__openerp__.py
@@ -23,7 +23,7 @@
"name": "Lunch Module",
"author": "Tiny",
"Description": """
- The lunch module is for keeping record of the order placing and payment of the orders.
+ The lunch module is for keeping record of the order placed and payment of the orders.
The products are defined under categories and the payment records are maintained user wise
Every user has a cashbox which keeps track of the amount paid for a particular order.
diff --git a/addons/marketing_campaign/__openerp__.py b/addons/marketing_campaign/__openerp__.py
index 3363dd87144..9a10fdbaa3d 100755
--- a/addons/marketing_campaign/__openerp__.py
+++ b/addons/marketing_campaign/__openerp__.py
@@ -37,10 +37,12 @@
'update_xml': [
'marketing_campaign_view.xml',
'marketing_campaign_data.xml',
- 'marketing_campaign_workflow.xml',
+ 'marketing_campaign_workflow.xml',
'report/campaign_analysis_view.xml',
],
- 'demo_xml': [],
+ 'demo_xml': [
+ 'marketing_campaign_demo.xml',
+ ],
'installable': True,
'active': False,
}
diff --git a/addons/marketing_campaign/marketing_campaign.py b/addons/marketing_campaign/marketing_campaign.py
index 52733fad159..398e0e805be 100755
--- a/addons/marketing_campaign/marketing_campaign.py
+++ b/addons/marketing_campaign/marketing_campaign.py
@@ -25,6 +25,7 @@ from dateutil.relativedelta import relativedelta
from osv import fields, osv
import netsvc
+import tools
_intervalTypes = {
'hours': lambda interval: relativedelta(hours=interval),
@@ -39,12 +40,14 @@ class marketing_campaign(osv.osv): #{{{
_columns = {
'name': fields.char('Name', size=64, required=True),
- 'object_id': fields.many2one('ir.model', 'Objects', required=True),
+ 'object_id': fields.many2one('ir.model', 'Objects', required=True,
+ help="Choose the Object on which you want \
+ this campaign to be run"),
'mode':fields.selection([('test', 'Test'),
- ('test_realtime', 'Realtime Time'),
+ ('test_realtime', 'Realtime'),
('manual', 'Manual'),
('active', 'Active')],
- 'Mode'),
+ 'Mode', required=True),
'state': fields.selection([('draft', 'Draft'),
('running', 'Running'),
('done', 'Done'),
@@ -52,14 +55,16 @@ class marketing_campaign(osv.osv): #{{{
'State',),
'activity_ids': fields.one2many('marketing.campaign.activity',
'campaign_id', 'Activities'),
- 'fixed_cost': fields.float('Fixed Cost'),
+ 'fixed_cost': fields.float('Fixed Cost', help="The fixed cost is cost\
+ you required for the campaign"),
}
_defaults = {
'state': lambda *a: 'draft',
+ 'mode': lambda *a: 'test',
}
-
+
def state_running_set(self, cr, uid, ids, *args):
campaign = self.browse(cr, uid, ids[0])
if not campaign.activity_ids :
@@ -72,8 +77,6 @@ class marketing_campaign(osv.osv): #{{{
segment_ids = self.pool.get('marketing.campaign.segment').search(cr, uid,
[('campaign_id', '=', campaign.id),
('state', '=', 'draft')])
- if not segment_ids :
- raise osv.except_osv("Error", "There is no associate semgnet for the campaign")
self.write(cr, uid, ids, {'state': 'running'})
return True
@@ -102,7 +105,7 @@ class marketing_campaign_segment(osv.osv): #{{{
'object_id': fields.related('campaign_id','object_id',
type='many2one', relation='ir.model',
string='Object'),
- 'ir_filter_id': fields.many2one('ir.filters', 'Filter'),
+ 'ir_filter_id': fields.many2one('ir.filters', 'Filter', help=""),
'sync_last_date': fields.datetime('Date'),
'sync_mode': fields.selection([('create_date', 'Create'),
('write_date', 'Write')],
@@ -124,15 +127,17 @@ class marketing_campaign_segment(osv.osv): #{{{
def state_running_set(self, cr, uid, ids, *args):
segment = self.browse(cr, uid, ids[0])
curr_date = time.strftime('%Y-%m-%d %H:%M:%S')
+ vals = {'state': 'running'}
if not segment.date_run:
- raise osv.except_osv("Error", "Segment can't be start before giving running date")
- if segment.campaign_id.state != 'running' :
- raise osv.except_osv("Error", "You have to start campaign first")
- if (segment.date_run >= curr_date):
- raise osv.except_osv("Error", "Segment cannot start before run date")
+ vals['date_run'] = segment.campaign_id.date_run and \
+ segment.campaign_id.date_run or \
+ time.strftime('%Y-%m-%d %H:%M:%S')
if not segment.sync_last_date:
- self.write(cr, uid, ids, {'sync_last_date':curr_date})
- self.write(cr, uid, ids, {'state': 'running','date_done': curr_date})
+ vals['sync_last_date']=curr_date
+ if not segment.date_done:
+ vals['date_done']= (datetime.now() + _intervalTypes['years'](1) \
+ ).strftime('%Y-%m-%d %H:%M:%S')
+ self.write(cr, uid, ids, vals)
return True
def state_done_set(self, cr, uid, ids, *args):
@@ -191,27 +196,34 @@ class marketing_campaign_activity(osv.osv): #{{{
_description = "Campaign Activity"
_columns = {
- 'name': fields.char('Name', size=64),
- 'campaign_id': fields.many2one('marketing.campaign', 'Campaign'),
+ 'name': fields.char('Name', size=64, required=True),
+ 'campaign_id': fields.many2one('marketing.campaign', 'Campaign',
+ required = True, ondelete='cascade'),
'object_id': fields.related('campaign_id','object_id',
type='many2one', relation='ir.model',
string='Object'),
- 'start': fields.boolean('Start'),
- 'condition': fields.text('Condition'),
+ 'start': fields.boolean('Start',help= "Its necessary to start activity \
+ before running campaign"),
+ 'condition': fields.char('Condition', size=256, required=True,
+ help="Condition that is to be tested before \
+ action is executed"),
'type': fields.selection([('email', 'E-mail'),
('paper', 'Paper'),
('action', 'Action'),
('subcampaign', 'Sub-Campaign')],
'Type', required=True),
'email_template_id': fields.many2one('poweremail.templates','Email Template'),
- 'report_id': fields.many2one('ir.actions.report.xml', 'Reports'),
- 'report_directory_id': fields.many2one('document.directory', 'Directory'),
- 'server_action_id': fields.many2one('ir.actions.server', string='Action'),
+ 'report_id': fields.many2one('ir.actions.report.xml', 'Reports', ),
+ 'report_directory_id': fields.many2one('document.directory','Directory',
+ help="Folder is used to store the generated reports"),
+ 'server_action_id': fields.many2one('ir.actions.server', string='Action',
+ help= "Describes the action name.\n"
+ "eg:On which object which action to be taken on basis of which condition"),
'to_ids': fields.one2many('marketing.campaign.transition',
- 'activity_to_id',
+ 'activity_from_id',
'Next Activities'),
'from_ids': fields.one2many('marketing.campaign.transition',
- 'activity_from_id',
+ 'activity_to_id',
'Previous Activities'),
'subcampaign_id': fields.many2one('marketing.campaign', 'Sub-Campaign'),
'subcampaign_segment_id': fields.many2one('marketing.campaign.segment',
@@ -220,7 +232,12 @@ class marketing_campaign_activity(osv.osv): #{{{
'revenue': fields.float('Revenue')
}
-
+ _defaults = {
+ 'type': lambda *a: 'email',
+ 'condition': lambda *a: 'True',
+ 'object_id' : lambda obj, cr, uid, context : context.get('object_id',False),
+ }
+
def search(self, cr, uid, args, offset=0, limit=None, order=None,
context=None, count=False):
if context == None:
@@ -237,10 +254,11 @@ class marketing_campaign_activity(osv.osv): #{{{
def process(self, cr, uid, act_id, wi_id, context={}):
activity = self.browse(cr, uid, act_id)
- workitem = self.pool.get('marketing.campaign.workitem').browse(cr, uid, wi_id)
+ workitem_obj = self.pool.get('marketing.campaign.workitem')
+ workitem = workitem_obj.browse(cr, uid, wi_id)
if activity.type == 'paper' :
service = netsvc.LocalService('report.%s'%activity.report_id.report_name)
- (report_data, format) = service.create(cr, uid, [activity.report_id.id], {}, {})
+ (report_data, format) = service.create(cr, uid, [], {}, {})
attach_vals = {
'name': '%s_%s_%s'%(activity.report_id.report_name,
activity.name,workitem.partner_id.name),
@@ -251,7 +269,36 @@ class marketing_campaign_activity(osv.osv): #{{{
'file_type': format
}
self.pool.get('ir.attachment').create(cr, uid, attach_vals)
-# elif activity.type == 'email' :
+ elif activity.type == 'email' :
+ context = {}
+ template = activity.email_template_id
+ accounts = template.enforce_from_account
+ if not template.enforce_from_account:
+ return {'error_msg' : "There is no account defined for the email"}
+ if not workitem.partner_id.email:
+ return {'error_msg' : "There is no email defined for the partner"}
+ vals = {
+ 'pem_from': tools.ustr(accounts.name) + "<" + tools.ustr(accounts.email_id) + ">",
+ 'pem_to': workitem.partner_id.email,
+ 'pem_subject': template.def_subject,
+ 'pem_body_text': template.def_body_text,
+ 'pem_body_html': template.def_body_html,
+ 'pem_account_id':accounts.id,
+ 'state':'na',
+ 'mail_type':'multipart/alternative' #Options:'multipart/mixed','multipart/alternative','text/plain','text/html'
+ }
+# if accounts.use_sign:
+# signature = self.pool.get('res.users').read(cr, uid, uid, ['signature'], context)['signature']
+# if signature:
+# vals['pem_body_text'] = tools.ustr(vals['pem_body_text'] or '') + signature
+# vals['pem_body_html'] = tools.ustr(vals['pem_body_html'] or '') + signature
+
+ #Create partly the mail and later update attachments
+ mail_id = self.pool.get('poweremail.mailbox').create(cr, uid, vals, context)
+ elif activity.type == 'action' :
+ server_obj = self.pool.get('ir.actions.server')
+ server_obj.run(cr, uid, [activity.server_action_id.id], context)
+ #???
return True
marketing_campaign_activity()#}}}
@@ -259,6 +306,7 @@ marketing_campaign_activity()#}}}
class marketing_campaign_transition(osv.osv): #{{{
_name = "marketing.campaign.transition"
_description = "Campaign Transition"
+ _rec_name = "interval_type"
_columns = {
'activity_from_id': fields.many2one('marketing.campaign.activity',
@@ -297,7 +345,9 @@ class marketing_campaign_workitem(osv.osv): #{{{
'partner_id': fields.many2one('res.partner', 'Partner',required=True),
'state': fields.selection([('todo', 'ToDo'), ('inprogress', 'In Progress'),
('exception', 'Exception'), ('done', 'Done'),
- ('cancelled', 'Cancelled')], 'State')
+ ('cancelled', 'Cancelled')], 'State'),
+
+ 'error_msg' : fields.text('Error Message')
}
_defaults = {
'state': lambda *a: 'draft',
@@ -324,7 +374,7 @@ class marketing_campaign_workitem(osv.osv): #{{{
def process(self, cr, uid, workitem_ids, context={}):
for wi in self.browse(cr, uid, workitem_ids):
- if wi.state == 'todo' :# we searched the wi which are in todo state
+ if wi.state == 'todo':# we searched the wi which are in todo state
#then y v keep this filter again
eval_context = {
'pool': self.pool,
@@ -332,21 +382,23 @@ class marketing_campaign_workitem(osv.osv): #{{{
'uid': uid,
'wi': wi,
'object': wi.activity_id,
- 'transition' : wi.activity_id.to_ids
+ 'transition': wi.activity_id.to_ids
}
- val = {}
- exec wi.activity_id.condition.replace('\r','') in \
- eval_context, val
- if 'action' in val and val['action']:
+ expr = eval(str(wi.activity_id.condition), eval_context)
+ if expr:
try :
- self.pool.get('marketing.campaign.activity').process(cr,
- uid, wi.activity_id.id, wi.id, context)
- self.write(cr, uid, wi.id, {'state':'done'})
- self.process_chain(cr, uid, wi.id, context)
+ res = self.pool.get('marketing.campaign.activity').process(
+ cr, uid, wi.activity_id.id, wi.id, context)
+ if res :
+ self.write(cr, uid, wi.id, {'state': 'done'})
+ self.process_chain(cr, uid, wi.id, context)
+ else :
+ self.write(cr, uid, wi.id, {'state': 'exception',
+ 'error_msg': res['error_msg']})
except Exception,e:
- self.write(cr, uid, wi.id, {'state':'exception'})
+ self.write(cr, uid, wi.id, {'state': 'exception'})
else :
- self.write(cr, uid, wi.id, {'state':'cancelled'})
+ self.write(cr, uid, wi.id, {'state': 'cancelled'})
return True
@@ -357,5 +409,28 @@ class marketing_campaign_workitem(osv.osv): #{{{
self.process(cr, uid, workitem_ids, context)
marketing_campaign_workitem() #}}}
+
+class poweremail_templates(osv.osv):
+ _inherit = "poweremail.templates"
+
+ _defaults = {
+ 'object_name': lambda obj, cr, uid, context: context.get('object_id',False),
+ }
+poweremail_templates()
+
+class report_xml(osv.osv):
+
+ _inherit = 'ir.actions.report.xml'
+
+ def search(self, cr, uid, args, offset=0, limit=None, order=None, context=None, count=False):
+ if not context:
+ context = {}
+ if context and 'object_id' in context and context['object_id']:
+ model = self.pool.get('ir.model').browse(cr, uid,
+ context['object_id']).model
+ args.append(('model', '=', model))
+ return super(report_xml, self).search(cr, uid, args, offset, limit, order, context, count)
+
+report_xml()
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
diff --git a/addons/marketing_campaign/marketing_campaign_demo.xml b/addons/marketing_campaign/marketing_campaign_demo.xml
new file mode 100644
index 00000000000..9c2211903c5
--- /dev/null
+++ b/addons/marketing_campaign/marketing_campaign_demo.xml
@@ -0,0 +1,89 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Thanks for showing interest in OpenERP
+ info@tinyerp.com
+
+
+
+
+
+
+
+ Hello,
+Thanks for generous interest you have shown in the open ERP.
+Regards,
+OpenERP Team,
+ mako
+
+ For OpenERP OnDemand Free Trial 2010
+ crm.lead
+
+
+
+
+ Marketing campaign demo report
+ ir.actions.report.xml
+ crm.lead
+ crm.lead.demo
+ marketing_campaign/report/crm_lead_mc_demo_report.rml
+ pdf
+
+
+
+ OpenERP OnDemand Free Trial 2010
+
+
+
+
+ Propose a 1 month free trial for an OnDemand offer
+
+
+
+ paper
+
+
+
+
+ Thanks for showing interest
+
+
+
+
+
+
+
+
+
+
+
+ BossList US Associations List-0/90
+ create_date
+
+ draft
+
+
+
+
diff --git a/addons/marketing_campaign/marketing_campaign_view.xml b/addons/marketing_campaign/marketing_campaign_view.xml
index f013f37e853..9c9d4e96c14 100755
--- a/addons/marketing_campaign/marketing_campaign_view.xml
+++ b/addons/marketing_campaign/marketing_campaign_view.xml
@@ -20,19 +20,20 @@
-
+
@@ -67,9 +88,9 @@
-
-
-
+
+
+
@@ -96,13 +117,13 @@
diagram
-
+
-
+
@@ -112,6 +133,29 @@
+
+ marketing.campaign.search
+ marketing.campaign
+ search
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
All Campaigns
ir.actions.act_window
@@ -119,9 +163,12 @@
form
tree,form,diagram
+ {'group_by': [], 'search_default_draft': 1, 'search_default_test': 1}
+
+
-
+
-
+
task.by.days.vs.planned.hours.tree
task.by.days.vs.planned.hours
tree
@@ -252,5 +248,6 @@
graph,tree
+
diff --git a/addons/project_gtd/i18n/pl.po b/addons/project_gtd/i18n/pl.po
index 068c42bee8d..d5271fc913e 100644
--- a/addons/project_gtd/i18n/pl.po
+++ b/addons/project_gtd/i18n/pl.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: 2009-12-22 14:25+0000\n"
+"PO-Revision-Date: 2010-05-25 10:02+0000\n"
"Last-Translator: Grzegorz Grzelak (Cirrus.pl) \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-05-27 03:42+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: project_gtd
@@ -37,7 +37,7 @@ msgstr ""
#. module: project_gtd
#: model:ir.actions.act_window,name:project_gtd.act_timebox_tasks_my_deadline_open
msgid "My Deadlines"
-msgstr ""
+msgstr "Moje terminy"
#. module: project_gtd
#: selection:project.gtd.timebox,type:0
@@ -83,7 +83,7 @@ msgstr "Nieprawidłowa nazwa modelu w definicji akcji."
#. module: project_gtd
#: field:project.gtd.timebox,context4_id:0
msgid "Context 4"
-msgstr ""
+msgstr "Kontekst 4"
#. module: project_gtd
#: wizard_field:project.gtd.timebox.fill,init,timebox_to_id:0
@@ -110,7 +110,7 @@ msgstr ""
#. module: project_gtd
#: model:ir.module.module,shortdesc:project_gtd.module_meta_information
msgid "Getting Things Done - Time Management Module"
-msgstr ""
+msgstr "GTD - personalny moduł zarządzania czasem"
#. module: project_gtd
#: model:ir.actions.act_window,name:project_gtd.act_timebox_tasks
@@ -140,7 +140,7 @@ msgstr ""
#. module: project_gtd
#: model:ir.actions.act_window,name:project_gtd.act_timebox_tasks_my_pending
msgid "My Pending Tasks"
-msgstr ""
+msgstr "Moje zadania oczekujące"
#. module: project_gtd
#: view:project.gtd.timebox:0
@@ -166,17 +166,17 @@ msgstr ""
#. module: project_gtd
#: field:project.gtd.timebox,context1_id:0
msgid "Context 1"
-msgstr ""
+msgstr "Kontekst 1"
#. module: project_gtd
#: field:project.gtd.timebox,context2_id:0
msgid "Context 2"
-msgstr ""
+msgstr "Kontekst 2"
#. module: project_gtd
#: field:project.gtd.timebox,context3_id:0
msgid "Context 3"
-msgstr ""
+msgstr "Kontekst 3"
#. module: project_gtd
#: wizard_button:project.gtd.timebox.fill,init,process:0
@@ -186,12 +186,12 @@ msgstr ""
#. module: project_gtd
#: field:project.gtd.timebox,context5_id:0
msgid "Context 5"
-msgstr ""
+msgstr "Kontekst 5"
#. module: project_gtd
#: field:project.gtd.timebox,context6_id:0
msgid "Context 6"
-msgstr ""
+msgstr "Kontekst 6"
#. module: project_gtd
#: model:ir.actions.act_window,name:project_gtd.open_gtd_context_tree
@@ -244,18 +244,18 @@ msgstr "Kontekst"
#. module: project_gtd
#: model:ir.actions.act_window,name:project_gtd.act_timebox_tasks_my_open
msgid "My Open Tasks"
-msgstr ""
+msgstr "Moje otwarte zadania"
#. module: project_gtd
#: model:ir.ui.menu,name:project_gtd.menu_open_gtd_time
#: model:ir.ui.menu,name:project_gtd.menu_open_time
msgid "Time Management"
-msgstr ""
+msgstr "Zarządzanie czasem"
#. module: project_gtd
#: view:project.task:0
msgid "Getting Things Done"
-msgstr ""
+msgstr "GTD - planowanie osobiste"
#. module: project_gtd
#: field:project.gtd.timebox,task1_ids:0
diff --git a/addons/project_issue_sheet/project_issue_sheet.py b/addons/project_issue_sheet/project_issue_sheet.py
index 353fe6c28c1..c48ff73b0f0 100644
--- a/addons/project_issue_sheet/project_issue_sheet.py
+++ b/addons/project_issue_sheet/project_issue_sheet.py
@@ -34,13 +34,11 @@ from tools.translate import _
class project_issue(osv.osv):
_inherit = 'project.issue'
-
_columns = {
'timesheet_ids' : fields.one2many('hr.analytic.timesheet', 'issue_id', 'Timesheets'),
- 'analytic_account_id' : fields.many2one('account.analytic.account', 'Analytic Account',
- domain="[('partner_id', '=', partner_id)]",
- required=True),
+ 'analytic_account_id': fields.related('project_id','category_id',string='Analytic Account')
}
+project_issue()
class account_analytic_line(osv.osv):
_inherit = 'account.analytic.line'
@@ -53,10 +51,8 @@ account_analytic_line()
class hr_analytic_issue(osv.osv):
_inherit = 'hr.analytic.timesheet'
-
_columns = {
'issue_id' : fields.many2one('project.issue', 'Issue'),
}
-
hr_analytic_issue()
diff --git a/addons/project_issue_sheet/project_issue_sheet_view.xml b/addons/project_issue_sheet/project_issue_sheet_view.xml
index 2ed2e7fbdcc..12171d0a429 100644
--- a/addons/project_issue_sheet/project_issue_sheet_view.xml
+++ b/addons/project_issue_sheet/project_issue_sheet_view.xml
@@ -9,11 +9,11 @@
-
+
-
-
+
+
diff --git a/addons/project_long_term/__openerp__.py b/addons/project_long_term/__openerp__.py
index 99bce80caca..70ce9020cf5 100644
--- a/addons/project_long_term/__openerp__.py
+++ b/addons/project_long_term/__openerp__.py
@@ -29,7 +29,7 @@
Long Term Project management module that track planning, scheduling, resources allocation.
Mainly used with Big project management.
- - Project Phases will be maintain by Manager of the project
+ - Project Phases will be maintained by Manager of the project
- Compute Phase Scheduling: Compute start date and end date of the phases which are in draft,open and pending state of the project given.
If no project given then all the draft,open and pending states phases will be taken
- Compute Task Scheduling: This works same as the scheduler button on project.phase. It takes the project as arguement and computes all the open,draft and pending tasks
diff --git a/addons/project_mrp/i18n/pl.po b/addons/project_mrp/i18n/pl.po
index 22c5097c897..7fd2d0f39f7 100644
--- a/addons/project_mrp/i18n/pl.po
+++ b/addons/project_mrp/i18n/pl.po
@@ -7,19 +7,19 @@ 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-10 21:08+0000\n"
+"PO-Revision-Date: 2010-05-25 15:08+0000\n"
"Last-Translator: Grzegorz Grzelak (Cirrus.pl) \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-05-27 03:42+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: project_mrp
#: model:process.node,note:project_mrp.process_node_procuretasktask0
msgid "For each product, on type service and on order"
-msgstr ""
+msgstr "Dla każdego produktu o typie usługa i na zamówienie"
#. module: project_mrp
#: model:process.node,name:project_mrp.process_node_mrptask0
@@ -31,7 +31,7 @@ msgstr "Zadanie"
#: model:process.transition,note:project_mrp.process_transition_ordertask0
msgid "If procure method is Make to order and supply method is produce"
msgstr ""
-"Jeśli metoda nabycia jest \"Na zamówienie' i metoda zaopatrzenia jest "
+"Jeśli metoda nabycia jest 'Na zamówienie' i metoda zaopatrzenia jest "
"'Produkcja'"
#. module: project_mrp
@@ -57,29 +57,29 @@ msgstr "Zarządzanie projektami - Integracja ze sprzedażą i MRP"
#. module: project_mrp
#: model:process.transition,name:project_mrp.process_transition_procuretask0
msgid "Procure Task"
-msgstr ""
+msgstr "Utwórz zadanie"
#. module: project_mrp
#: model:process.node,note:project_mrp.process_node_mrptask0
msgid "A task is created to provide the service."
-msgstr ""
+msgstr "Utworzono zadanie dla wykonywanej usługi"
#. module: project_mrp
#: model:process.transition,name:project_mrp.process_transition_ordertask0
msgid "Order Task"
-msgstr ""
+msgstr "Zamów zadanie"
#. module: project_mrp
#: model:process.node,name:project_mrp.process_node_saleordertask0
msgid "Sale Order Task"
-msgstr ""
+msgstr "Zadanie do zamówienia sprzedaży"
#. module: project_mrp
#: model:process.transition,name:project_mrp.process_transition_createtask0
msgid "Create Task"
-msgstr ""
+msgstr "Utwórz zadanie"
#. module: project_mrp
#: model:process.node,note:project_mrp.process_node_saleordertask0
msgid "In case you sell services on sale order"
-msgstr ""
+msgstr "W przypadku sprzedaży usług na zamówienie sprzedaży"
diff --git a/addons/project_planning/__openerp__.py b/addons/project_planning/__openerp__.py
index cbc30a912e7..87a68a2e410 100644
--- a/addons/project_planning/__openerp__.py
+++ b/addons/project_planning/__openerp__.py
@@ -32,7 +32,7 @@ This module is based on the analytic accounting and is totally integrated with
* the holidays management
* the project management
-So that, each department manager can know if someone in his team has still unaloccated time for a given planning (taking in consideration the validated leaves) or if he still needs to encode tasks.
+So that, each department manager can know if someone in his team has still unallocated time for a given planning (taking in consideration the validated leaves) or if he still needs to encode tasks.
At the end of the month, the planning manager can also check if the encoded timesheets are respecting the planned time on each analytic account.
""",
diff --git a/addons/project_retro_planning/__openerp__.py b/addons/project_retro_planning/__openerp__.py
index 4d89af6bb28..80601db9e81 100644
--- a/addons/project_retro_planning/__openerp__.py
+++ b/addons/project_retro_planning/__openerp__.py
@@ -25,7 +25,7 @@
'version': '0.1',
'category': 'Generic Modules/Projects & Services',
'description': """
- - If deadline date of project is changed will
+ - If deadline date of project is changed
then the deadline date for all the tasks will change to the same """,
'author': 'Tiny',
'depends': ['base', 'project'],
diff --git a/addons/project_timesheet/i18n/pl.po b/addons/project_timesheet/i18n/pl.po
index 6d000c26b4f..fcc33100d02 100644
--- a/addons/project_timesheet/i18n/pl.po
+++ b/addons/project_timesheet/i18n/pl.po
@@ -7,21 +7,21 @@ 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-09-08 15:12+0000\n"
-"Last-Translator: Fabien (Open ERP) \n"
+"PO-Revision-Date: 2010-05-25 15:04+0000\n"
+"Last-Translator: Grzegorz Grzelak (Cirrus.pl) \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-05-27 03:42+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: project_timesheet
#: model:ir.module.module,shortdesc:project_timesheet.module_meta_information
msgid "Project Timesheet"
-msgstr ""
+msgstr "Karta czasu pracy projektu"
#. module: project_timesheet
#: field:project.task.work,hr_analytic_timesheet_id:0
msgid "Related Timeline Id"
-msgstr ""
+msgstr "ID związanej karty czasu pracy"
diff --git a/addons/report_analytic/i18n/pl.po b/addons/report_analytic/i18n/pl.po
index 906dafc61c1..24bd7fd6d0b 100644
--- a/addons/report_analytic/i18n/pl.po
+++ b/addons/report_analytic/i18n/pl.po
@@ -7,19 +7,19 @@ 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-09-08 16:36+0000\n"
-"Last-Translator: Fabien (Open ERP) \n"
+"PO-Revision-Date: 2010-05-25 16:48+0000\n"
+"Last-Translator: Grzegorz Grzelak (Cirrus.pl) \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:59+0000\n"
+"X-Launchpad-Export-Date: 2010-05-27 03:42+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: report_analytic
#: model:ir.model,name:report_analytic.model_report_analytic_account_close
msgid "Analytic account to close"
-msgstr ""
+msgstr "Konto analityczne do zamknięcia"
#. module: report_analytic
#: constraint:ir.model:0
@@ -32,7 +32,7 @@ msgstr ""
#. module: report_analytic
#: field:report.analytic.account.close,quantity_max:0
msgid "Max. Quantity"
-msgstr ""
+msgstr "Maksymalna ilość"
#. module: report_analytic
#: constraint:ir.ui.view:0
@@ -42,27 +42,27 @@ msgstr "XML niewłaściwy dla tej architektury wyświetlania!"
#. module: report_analytic
#: field:report.analytic.account.close,name:0
msgid "Analytic account"
-msgstr ""
+msgstr "Konto analityczne"
#. module: report_analytic
#: field:report.analytic.account.close,state:0
msgid "State"
-msgstr ""
+msgstr "Stan"
#. module: report_analytic
#: field:report.analytic.account.close,date_deadline:0
msgid "Deadline"
-msgstr ""
+msgstr "Termin"
#. module: report_analytic
#: constraint:ir.actions.act_window:0
msgid "Invalid model name in the action definition."
-msgstr ""
+msgstr "Nieprawidłowa nazwa modelu w definicji akcji."
#. module: report_analytic
#: model:ir.module.module,shortdesc:report_analytic.module_meta_information
msgid "Analytic Account Reporting"
-msgstr ""
+msgstr "Raportowanie kont analitycznych"
#. module: report_analytic
#: field:report.analytic.account.close,partner_id:0
@@ -72,16 +72,16 @@ msgstr ""
#. module: report_analytic
#: field:report.analytic.account.close,balance:0
msgid "Balance"
-msgstr ""
+msgstr "Saldo"
#. module: report_analytic
#: model:ir.actions.act_window,name:report_analytic.action_analytic_account_tree
#: model:ir.ui.menu,name:report_analytic.menu_action_analytic_account_tree
#: view:report.analytic.account.close:0
msgid "Expired analytic accounts"
-msgstr ""
+msgstr "Konta analityczne przeterminowane"
#. module: report_analytic
#: field:report.analytic.account.close,quantity:0
msgid "Quantity"
-msgstr ""
+msgstr "Ilość"
diff --git a/addons/report_intrastat/__openerp__.py b/addons/report_intrastat/__openerp__.py
index 5fb8f7e564c..de9d3af1e44 100644
--- a/addons/report_intrastat/__openerp__.py
+++ b/addons/report_intrastat/__openerp__.py
@@ -26,7 +26,7 @@
'category': 'Generic Modules/Inventory Control',
'description': """
A module that adds intrastat reports.
- This module gives the details of the goods traded between the countries of Europan Union """,
+ This module gives the details of the goods traded between the countries of European Union """,
'author': 'Tiny',
'website': 'http://www.openerp.com',
'depends': ['base', 'product', 'stock', 'sale', 'purchase'],
diff --git a/addons/sale/report/sale_report.py b/addons/sale/report/sale_report.py
index c8b616ced78..e713c479f72 100644
--- a/addons/sale/report/sale_report.py
+++ b/addons/sale/report/sale_report.py
@@ -36,16 +36,15 @@ class sale_report(osv.osv):
('10','October'), ('11','November'), ('12','December')], 'Month',readonly=True),
'day': fields.char('Day', size=128, readonly=True),
'product_id':fields.many2one('product.product', 'Product', readonly=True),
- 'product_qty':fields.float('Qty', readonly=True),
+ 'product_qty':fields.float('# of Qty', readonly=True),
'partner_id':fields.many2one('res.partner', 'Partner', readonly=True),
'shop_id':fields.many2one('sale.shop', 'Shop', readonly=True),
'company_id':fields.many2one('res.company', 'Company', readonly=True),
- 'payment_term': fields.many2one('account.payment.term', 'Payment Term',readonly=True),
- 'fiscal_position': fields.many2one('account.fiscal.position', 'Fiscal Position',readonly=True),
'user_id':fields.many2one('res.users', 'Salesman', readonly=True),
'price_total':fields.float('Total Price', readonly=True),
- 'delay':fields.float('Avg Closing Days', digits=(16,2), readonly=True),
+ 'delay':fields.float('Days to Close', digits=(16,2), readonly=True),
'price_average':fields.float('Average Price', readonly=True),
+ 'categ_id': fields.many2one('product.category','Category of Product', readonly=True),
'nbr':fields.integer('# of Lines', readonly=True),
'state': fields.selection([
('draft', 'Quotation'),
@@ -57,12 +56,8 @@ class sale_report(osv.osv):
('done', 'Done'),
('cancel', 'Cancelled')
], 'Order State', readonly=True),
- 'partner_invoice_id': fields.many2one('res.partner.address', 'Invoice Address Name', readonly=True),
- 'partner_order_id': fields.many2one('res.partner.address', 'Ordering Contact Name', readonly=True),
- 'partner_shipping_id': fields.many2one('res.partner.address', 'Shipping Address Name', readonly=True),
- 'pricelist_id': fields.many2one('product.pricelist', 'Pricelist', required=True),
+ 'pricelist_id': fields.many2one('product.pricelist', 'Pricelist', readonly=True),
'analytic_account_id': fields.many2one('account.analytic.account', 'Analytic Account', readonly=True),
- 'date_confirm': fields.date('Confirmation Date', readonly=True)
}
_order = 'date desc'
def init(self, cr):
@@ -80,42 +75,32 @@ class sale_report(osv.osv):
s.partner_id as partner_id,
s.user_id as user_id,
s.shop_id as shop_id,
- s.fiscal_position as fiscal_position,
- s.payment_term as payment_term,
s.company_id as company_id,
extract(epoch from avg(s.date_confirm-s.create_date))/(24*60*60)::decimal(16,2) as delay,
sum(l.product_uom_qty*l.price_unit) as price_total,
(sum(l.product_uom_qty*l.price_unit)/sum(l.product_uom_qty * u.factor))::decimal(16,2) as price_average,
count(*) as nbr,
s.state,
- s.partner_invoice_id as partner_invoice_id,
- s.partner_order_id as partner_order_id,
- s.partner_shipping_id as partner_shipping_id,
+ pt.categ_id,
s.pricelist_id as pricelist_id,
- s.project_id as analytic_account_id,
- s.date_confirm as date_confirm
+ s.project_id as analytic_account_id
from
sale_order_line l
- left join
- sale_order s on (s.id=l.order_id)
- left join product_uom u on (u.id=l.product_uom)
+ left join sale_order s on (s.id=l.order_id)
+ left join product_uom u on (u.id=l.product_uom)
+ left join product_template pt on (pt.id=l.product_id)
group by
s.date_order,
s.partner_id,
l.product_id,
l.product_uom,
s.user_id,
+ pt.categ_id,
s.state,
s.shop_id,
s.company_id,
- s.fiscal_position,
- s.payment_term,
- s.partner_invoice_id,
- s.partner_order_id,
- s.partner_shipping_id,
s.pricelist_id,
- s.project_id,
- s.date_confirm
+ s.project_id
)
""")
sale_report()
@@ -212,7 +197,7 @@ class product_bought_by_sale_order(osv.osv):
where
s.state='manual' or s.state='progress'
group by
- l.product_id, to_char(l.create_date, 'MM'), to_char(l.create_date, 'YYYY')
+ l.product_id, to_char(l.create_date, 'MM'), to_char(l.create_date, 'YYYY')
)
""")
product_bought_by_sale_order()
diff --git a/addons/sale/report/sale_report_view.xml b/addons/sale/report/sale_report_view.xml
index 756fde9663d..2fca6dedd5a 100644
--- a/addons/sale/report/sale_report_view.xml
+++ b/addons/sale/report/sale_report_view.xml
@@ -1,12 +1,13 @@
+
sale.report.tree
sale.report
tree
-
+
@@ -16,20 +17,15 @@
-
-
+
+
+
-
-
-
-
-
-
@@ -39,9 +35,10 @@
sale.report
graph
-
+
+
@@ -51,59 +48,51 @@
sale.report
search
-
+
-
-
+
+
+ string=" 7 Days "
+ separator="1"
+ domain="[('date','<=', time.strftime('%%Y-%%m-%%d')), ('date','>',(datetime.date.today()-datetime.timedelta(days=7)).strftime('%%Y-%%m-%%d'))]"
+ help="Tasks during last 7 days"/>
+ string="Quotations"
+ domain="[('state','=','draft')]"/>
-
-
+ string="Sales"
+ domain="[('state','not in',('draft','done','cancel'))]"/>
+
+
+ string="My Sales"
+ help="My Sales"
+ domain="[('user_id','=',uid)]"/>
-
-
+
-
-
-
+
+
-
-
-
-
-
+
@@ -138,19 +127,19 @@
- Sales Orders
+ Sales Analysis
sale.report
form
tree,graph
- {'search_default_month':1,'search_default_User':1,'search_default_user_id':uid,'group_by_no_leaf':1,'group_by':[]}
+ {'search_default_month':1,'search_default_User':1,'group_by_no_leaf':1,'group_by':[]}
-
-
+
+
sale.order.by.clients.tree
sale.order.by.clients
tree
@@ -215,7 +204,7 @@
-
+
product.bought.by.sale.order.tree
product.bought.by.sale.order
tree
@@ -282,5 +271,6 @@
tree,graph
+
diff --git a/addons/sale/sale.py b/addons/sale/sale.py
index ea93f5b8156..43d8d6768cc 100644
--- a/addons/sale/sale.py
+++ b/addons/sale/sale.py
@@ -292,7 +292,7 @@ class sale_order(osv.osv):
'partner_invoice_id': lambda self, cr, uid, context: context.get('partner_id', False) and self.pool.get('res.partner').address_get(cr, uid, [context['partner_id']], ['invoice'])['invoice'],
'partner_order_id': lambda self, cr, uid, context: context.get('partner_id', False) and self.pool.get('res.partner').address_get(cr, uid, [context['partner_id']], ['contact'])['contact'],
'partner_shipping_id': lambda self, cr, uid, context: context.get('partner_id', False) and self.pool.get('res.partner').address_get(cr, uid, [context['partner_id']], ['delivery'])['delivery'],
- 'pricelist_id': lambda self, cr, uid, context: context.get('partner_id', False) and self.pool.get('res.partner').browse(cr, uid, context['partner_id']).property_product_pricelist.id,
+# 'pricelist_id': lambda self, cr, uid, context: context.get('partner_id', False) and self.pool.get('res.partner').browse(cr, uid, context['partner_id']).property_product_pricelist.id,
}
_order = 'name desc'
diff --git a/addons/sale_journal/__openerp__.py b/addons/sale_journal/__openerp__.py
index b7c5f4fd512..d204d4a3ee5 100644
--- a/addons/sale_journal/__openerp__.py
+++ b/addons/sale_journal/__openerp__.py
@@ -28,7 +28,7 @@
The sale journal modules allows you to categorise your
sales and deliveries (picking lists) between different journals.
This module is very helpful for bigger companies that
- works by departments.
+ work by departments.
You can use journal for different purposes, some examples:
* isolate sales of different departments
diff --git a/addons/sale_journal/i18n/pl.po b/addons/sale_journal/i18n/pl.po
index dc903684be6..089e36cb5cd 100644
--- a/addons/sale_journal/i18n/pl.po
+++ b/addons/sale_journal/i18n/pl.po
@@ -7,13 +7,13 @@ 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-17 10:39+0000\n"
-"Last-Translator: Fabien (Open ERP) \n"
+"PO-Revision-Date: 2010-05-26 07:02+0000\n"
+"Last-Translator: Grzegorz Grzelak (Cirrus.pl) \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:12+0000\n"
+"X-Launchpad-Export-Date: 2010-05-27 03:42+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: sale_journal
@@ -25,35 +25,35 @@ msgstr "Sprzedaż miesięczna"
#: model:ir.actions.act_window,name:sale_journal.act_sale_journal_picking_journal_2_stock_picking_assigned
#: model:ir.actions.act_window,name:sale_journal.act_sale_journal_sale_journal_2_stock_picking_assigned
msgid "Assigned packing"
-msgstr ""
+msgstr "Przypisane przesunięcie"
#. module: sale_journal
#: selection:sale_journal.invoice.type.stats,state:0
#: selection:sale_journal.picking.stats,state:0
msgid "assigned"
-msgstr "Przypisany"
+msgstr ""
#. module: sale_journal
#: constraint:ir.actions.act_window:0
msgid "Invalid model name in the action definition."
-msgstr ""
+msgstr "Nieprawidłowa nazwa modelu w definicji akcji."
#. module: sale_journal
#: selection:sale_journal.sale.stats,state:0
msgid "Waiting Schedule"
-msgstr ""
+msgstr "Czeka na planowanie"
#. module: sale_journal
#: selection:sale_journal.invoice.type.stats,invoice_state:0
msgid "to be invoiced"
-msgstr "do zaksięgowania"
+msgstr ""
#. module: sale_journal
#: model:ir.model,name:sale_journal.model_sale_journal_sale_journal
#: view:sale_journal.sale.journal:0
#: field:stock.picking,sale_journal_id:0
msgid "Sale Journal"
-msgstr ""
+msgstr "Dziennik sprzedaży"
#. module: sale_journal
#: field:sale_journal.sale.journal,sale_stats_ids:0
@@ -64,19 +64,19 @@ msgstr "Statystyki sprzedaży"
#: selection:sale_journal.invoice.type.stats,state:0
#: selection:sale_journal.picking.stats,state:0
msgid "waiting"
-msgstr "oczekuje"
+msgstr ""
#. module: sale_journal
#: view:sale_journal.picking.journal:0
#: view:sale_journal.sale.journal:0
msgid "Set to Draft"
-msgstr "Ustaw na wer.roboczą"
+msgstr "Ustaw na projekt"
#. module: sale_journal
#: field:sale_journal.picking.journal,date:0
#: field:sale_journal.sale.journal,date:0
msgid "Journal date"
-msgstr ""
+msgstr "Data dziennika"
#. module: sale_journal
#: model:ir.ui.menu,name:sale_journal.menu_definition_journal_picking_invoice_method
@@ -88,7 +88,7 @@ msgstr "Metoda pakowania wg faktur"
#. module: sale_journal
#: model:ir.ui.menu,name:sale_journal.menu_definition_journal_picking
msgid "Packing Journals"
-msgstr "Dzienniki pakowania"
+msgstr "Dzienniki przesunięć"
#. module: sale_journal
#: view:sale_journal.picking.journal:0
@@ -123,7 +123,7 @@ msgstr "Zarządzanie sprzedażą i dostawami przez dziennik"
#: selection:sale_journal.invoice.type.stats,state:0
#: selection:sale_journal.picking.stats,state:0
msgid "done"
-msgstr "gotowe"
+msgstr ""
#. module: sale_journal
#: field:sale_journal.invoice.type.stats,price_average:0
@@ -165,7 +165,7 @@ msgstr "Cena całkowita"
#. module: sale_journal
#: model:ir.actions.act_window,name:sale_journal.action_definition_picking_journal
msgid "Packing journals"
-msgstr "Dzienniki pakowania"
+msgstr "Dzienniki przesunięć"
#. module: sale_journal
#: model:ir.ui.menu,name:sale_journal.menu_definition_report_sales
@@ -190,27 +190,27 @@ msgstr "Otwarte dzienniki"
#. module: sale_journal
#: view:sale_journal.picking.journal:0
msgid "Packing"
-msgstr ""
+msgstr "Lista przesunięć"
#. module: sale_journal
#: help:res.partner,property_invoice_type:0
msgid "The type of journal used for sales and packing."
-msgstr ""
+msgstr "Typ dziennika stosowany do sprzedaży i list przesunięć"
#. module: sale_journal
#: selection:sale_journal.invoice.type.stats,invoice_state:0
msgid "None"
-msgstr ""
+msgstr "Brak"
#. module: sale_journal
#: model:ir.actions.act_window,name:sale_journal.action_sale_sale_stats_open_menu_month
msgid "Sales by journal (this month)"
-msgstr ""
+msgstr "Sprzedaż wg dziennika (bieżący miesiąc)"
#. module: sale_journal
#: selection:sale_journal.sale.stats,state:0
msgid "Manual in progress"
-msgstr ""
+msgstr "Ręczne w trakcie przetwarzania"
#. module: sale_journal
#: model:ir.actions.act_window,name:sale_journal.action_definition_picking_journal_tree
@@ -218,28 +218,28 @@ msgstr ""
#: model:ir.actions.act_window,name:sale_journal.action_picking_picking_stats_open_menu_all
#: model:ir.actions.act_window,name:sale_journal.action_picking_picking_stats_open_menu_month
msgid "Packing by journal"
-msgstr ""
+msgstr "Listy przesunięć wg dziennika"
#. module: sale_journal
#: view:sale_journal.picking.journal:0
msgid "Cancel Packing"
-msgstr ""
+msgstr "Anuluj listę przesunięć"
#. module: sale_journal
#: model:ir.actions.act_window,name:sale_journal.act_sale_journal_picking_journal_2_stock_picking_confirmed
#: model:ir.actions.act_window,name:sale_journal.act_sale_journal_sale_journal_2_stock_picking_confirmed
msgid "Confirmed packing"
-msgstr ""
+msgstr "Potwierdzone listy przesunięć"
#. module: sale_journal
#: selection:sale_journal.sale.stats,state:0
msgid "In progress"
-msgstr ""
+msgstr "W toku"
#. module: sale_journal
#: view:sale_journal.picking.stats:0
msgid "Packing by journals"
-msgstr ""
+msgstr "Listy przesunięć wg dzienników"
#. module: sale_journal
#: field:sale_journal.invoice.type.stats,name:0
@@ -258,7 +258,7 @@ msgstr "Stan faktury"
#: model:ir.actions.act_window,name:sale_journal.action_invoice_type_picking_stats_open_menu_month
#: view:sale_journal.invoice.type.stats:0
msgid "Packing by invoice method"
-msgstr ""
+msgstr "Listy przesunięć wg metod faktury"
#. module: sale_journal
#: field:sale_journal.sale.stats,state:0
@@ -268,7 +268,7 @@ msgstr "Stan zamówienia"
#. module: sale_journal
#: selection:sale_journal.sale.stats,state:0
msgid "Shipping Exception"
-msgstr ""
+msgstr "Wyjątek wysyłki"
#. module: sale_journal
#: field:sale_journal.invoice.type,note:0
@@ -281,7 +281,7 @@ msgstr "Uwaga"
#: selection:sale_journal.picking.journal,state:0
#: selection:sale_journal.sale.journal,state:0
msgid "Draft"
-msgstr "Roboczy"
+msgstr "Projekt"
#. module: sale_journal
#: selection:sale_journal.invoice.type.stats,state:0
@@ -292,7 +292,7 @@ msgstr ""
#. module: sale_journal
#: selection:sale_journal.sale.stats,state:0
msgid "Invoice Exception"
-msgstr ""
+msgstr "Wyjątek faktury"
#. module: sale_journal
#: field:sale_journal.picking.journal,date_validation:0
@@ -309,17 +309,17 @@ msgstr ""
#. module: sale_journal
#: field:sale_journal.invoice.type,active:0
msgid "Active"
-msgstr ""
+msgstr "Aktywne"
#. module: sale_journal
#: model:ir.actions.act_window,name:sale_journal.act_sale_journal_sale_journal_2_sale_order_draft
msgid "Draft sales"
-msgstr "wer.robocza sprzedaży"
+msgstr "Projekt sprzedaży"
#. module: sale_journal
#: selection:sale_journal.sale.stats,state:0
msgid "Quotation"
-msgstr ""
+msgstr "Oferta"
#. module: sale_journal
#: model:ir.ui.menu,name:sale_journal.menu_definition_journal
@@ -370,7 +370,7 @@ msgstr "Sprzedaż"
#: model:ir.ui.menu,name:sale_journal.menu_definition_journal_reporting
#: view:sale_journal.picking.journal:0
msgid "Packing Journal"
-msgstr ""
+msgstr "Dziennik list przesunięcia"
#. module: sale_journal
#: selection:sale_journal.picking.journal,state:0
@@ -382,7 +382,7 @@ msgstr "Gotowe"
#. module: sale_journal
#: selection:sale_journal.sale.stats,state:0
msgid "Cancel"
-msgstr ""
+msgstr "Anulowano"
#. module: sale_journal
#: field:sale_journal.picking.journal,picking_stats_ids:0
@@ -393,7 +393,7 @@ msgstr "Statystyka dziennika"
#: selection:sale_journal.picking.journal,state:0
#: selection:sale_journal.sale.journal,state:0
msgid "Open"
-msgstr ""
+msgstr "Otwarte"
#. module: sale_journal
#: constraint:ir.model:0
@@ -423,7 +423,7 @@ msgstr "Moje otwarte dzienniki"
#. module: sale_journal
#: model:ir.actions.act_window,name:sale_journal.action_invoice_type_picking_stats_open
msgid "Statistics on packing to invoice"
-msgstr ""
+msgstr "Statystyka list przesunięć wg faktur"
#. module: sale_journal
#: view:sale_journal.sale.journal:0
@@ -436,23 +436,23 @@ msgstr "Anuluj sprzedaż"
#: field:sale_journal.invoice.type,name:0
#: field:stock.picking,invoice_type_id:0
msgid "Invoice Type"
-msgstr ""
+msgstr "Typ faktury"
#. module: sale_journal
#: selection:sale_journal.invoice.type.stats,invoice_state:0
msgid "invoiced"
-msgstr "zafakturowano"
+msgstr ""
#. module: sale_journal
#: selection:sale_journal.invoice.type.stats,state:0
#: selection:sale_journal.picking.stats,state:0
msgid "confirmed"
-msgstr "Potwierdzono"
+msgstr ""
#. module: sale_journal
#: model:ir.model,name:sale_journal.model_sale_journal_picking_stats
msgid "Packing lists by Journal"
-msgstr ""
+msgstr "Listy przesunięć wg dziennika"
#. module: sale_journal
#: field:sale_journal.invoice.type.stats,quantity:0
@@ -483,7 +483,7 @@ msgstr "Metoda fakturowania"
#: model:ir.ui.menu,name:sale_journal.menu_definition_journal_reporting_this
#: model:ir.ui.menu,name:sale_journal.menu_definition_report_sales_this_month
msgid "This Month"
-msgstr ""
+msgstr "W tym miesiącu"
#. module: sale_journal
#: model:ir.ui.menu,name:sale_journal.menu_definition_journal_sales
@@ -506,7 +506,7 @@ msgstr "Nie pogrupowane"
#. module: sale_journal
#: model:ir.actions.act_window,name:sale_journal.action_invoice_type_picking_open
msgid "Packing to invoice"
-msgstr ""
+msgstr "Listy przesunięć do zafakturowania"
#. module: sale_journal
#: view:sale_journal.picking.journal:0
@@ -517,7 +517,7 @@ msgstr "Informacja dziennika"
#. module: sale_journal
#: model:ir.model,name:sale_journal.model_sale_journal_invoice_type_stats
msgid "Stats on packing by invoice method"
-msgstr ""
+msgstr "Statystyka list przesunięć wg metody fakturowania"
#. module: sale_journal
#: model:ir.model,name:sale_journal.model_sale_journal_invoice_type
@@ -535,7 +535,7 @@ msgstr "Stany"
#: model:ir.ui.menu,name:sale_journal.menu_picking_picking_stats_open_all
#: model:ir.ui.menu,name:sale_journal.menu_picking_picking_stats_open_menu
msgid "Packing by Journal"
-msgstr ""
+msgstr "Listy przesunięć wg dziennika"
#. module: sale_journal
#: view:sale_journal.picking.journal:0
@@ -546,7 +546,7 @@ msgstr "Zamknij dziennik"
#. module: sale_journal
#: model:ir.ui.menu,name:sale_journal.menu_definition_journal_picking_invoice
msgid "Packing to Invoice"
-msgstr ""
+msgstr "Lista przesunięć do zafakturowania"
#. module: sale_journal
#: model:ir.actions.act_window,name:sale_journal.act_sale_journal_sale_journal_2_sale_order_approved
diff --git a/addons/scrum/__openerp__.py b/addons/scrum/__openerp__.py
index 3170baca2a1..2f4007793ac 100644
--- a/addons/scrum/__openerp__.py
+++ b/addons/scrum/__openerp__.py
@@ -25,7 +25,7 @@
'version': '1.0',
'category': 'Enterprise Specific Modules/Information Technology',
'description': """
- This modules implements all concepts defined by the scrum project
+ This module implements all concepts defined by the scrum project
management methodology for IT companies:
* Project with sprints, product owner, scrum master
* Sprints with reviews, daily meetings, feedbacks
@@ -36,10 +36,10 @@
* Mid-term, long-term road-map
* Customers/functional requests VS technical ones
- It also create a new reporting:
+ It also creates a new reporting:
* Burn-down chart
- The scrum projects and tasks inherits from the real projects and
+ The scrum projects and tasks inherit from the real projects and
tasks, so you can continue working on normal tasks that will also
include tasks from scrum projects.
diff --git a/addons/stock/product.py b/addons/stock/product.py
index ad189ee546a..dc300994232 100644
--- a/addons/stock/product.py
+++ b/addons/stock/product.py
@@ -148,10 +148,10 @@ class product_product(osv.osv):
return res
def get_product_available(self,cr,uid,ids,context=None):
- if not context:
+ if context is None:
context = {}
- states=context.get('states',[])
- what=context.get('what',())
+ states = context.get('states',[])
+ what = context.get('what',())
if not ids:
ids = self.search(cr, uid, [])
res = {}.fromkeys(ids, 0.0)
@@ -184,9 +184,9 @@ class product_product(osv.osv):
# 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
+ location_ids = child_location_ids or location_ids
else:
- location_ids= location_ids
+ location_ids = location_ids
uoms_o = {}
product2uom = {}
diff --git a/addons/stock/report/report_stock.py b/addons/stock/report/report_stock.py
index 3e7fe147c73..81e2bb125fd 100644
--- a/addons/stock/report/report_stock.py
+++ b/addons/stock/report/report_stock.py
@@ -95,7 +95,7 @@ class stock_report_tracklots(osv.osv):
}
def init(self, cr):
- drop_view_if_exists(cr, 'stock_report_prodlots')
+ drop_view_if_exists(cr, 'stock_report_tracklots')
cr.execute("""
create or replace view stock_report_tracklots as (
@@ -150,7 +150,7 @@ class report_stock_lines_date(osv.osv):
'date': fields.datetime('Latest Inventory Date'),
}
def init(self, cr):
- drop_view_if_exists(cr, 'stock_report_prodlots')
+ drop_view_if_exists(cr, 'report_stock_lines_date')
cr.execute("""
create or replace view report_stock_lines_date as (
select
diff --git a/addons/stock/report/report_stock_move_view.xml b/addons/stock/report/report_stock_move_view.xml
index 880a95b2831..673fd14e76e 100755
--- a/addons/stock/report/report_stock_move_view.xml
+++ b/addons/stock/report/report_stock_move_view.xml
@@ -95,7 +95,8 @@
-
+
+
@@ -122,4 +123,4 @@
-
\ No newline at end of file
+
diff --git a/addons/stock/report/report_stock_picking_view.xml b/addons/stock/report/report_stock_picking_view.xml
index e28e973b23b..c343b09931a 100644
--- a/addons/stock/report/report_stock_picking_view.xml
+++ b/addons/stock/report/report_stock_picking_view.xml
@@ -54,22 +54,27 @@
-
-
+
-
+
-
+
@@ -82,7 +87,8 @@
-
+
+
diff --git a/addons/stock/stock.py b/addons/stock/stock.py
index 7ef8920f305..fadcd6f77f1 100644
--- a/addons/stock/stock.py
+++ b/addons/stock/stock.py
@@ -1214,7 +1214,7 @@ class stock_move(osv.osv):
'priority': fields.selection([('0', 'Not urgent'), ('1', 'Urgent')], 'Priority'),
'date': fields.datetime('Created Date'),
- 'date_planned': fields.datetime('Date', required=True, help="Scheduled date for the movement of the products or real date if the move is done."),
+ 'date_planned': fields.datetime('Date Planned', required=True, help="Scheduled date for the movement of the products or real date if the move is done."),
'date_expected': fields.datetime('Date Expected', readonly=True,required=True, help="Scheduled date for the movement of the products"),
'product_id': fields.many2one('product.product', 'Product', required=True, select=True),
diff --git a/addons/stock/stock_view.xml b/addons/stock/stock_view.xml
index 75a8d5ba433..970c55f9bd8 100644
--- a/addons/stock/stock_view.xml
+++ b/addons/stock/stock_view.xml
@@ -341,7 +341,7 @@
-
+
@@ -652,7 +652,7 @@
-
+
-
+
@@ -777,7 +777,7 @@
-
+
-
+
-
+
-
+
-
+
@@ -1225,7 +1225,7 @@
-
+
@@ -1286,7 +1286,7 @@
-
+
@@ -1312,18 +1312,16 @@
tree
-
-
+
+
-
-
-
+
-
+
@@ -1362,7 +1360,7 @@
-
+
@@ -1395,31 +1393,39 @@
stock.move.search
stock.move
search
-
+
-
+
+
+
-
-
+
+
+
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
- All Moves
+ Stock Moves
stock.move
ir.actions.act_window
form
@@ -1611,10 +1617,10 @@
src_model="stock.location"/>
@@ -1626,7 +1632,7 @@
src_model="stock.move"/>
\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:56+0000\n"
+"X-Launchpad-Export-Date: 2010-05-27 03:42+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: subscription
@@ -83,7 +83,7 @@ msgstr "Pola dokumentu subskrypcji"
#. module: subscription
#: field:subscription.subscription,interval_number:0
msgid "Interval Qty"
-msgstr ""
+msgstr "Il. interwał"
#. module: subscription
#: view:subscription.subscription:0
diff --git a/addons/survey/__openerp__.py b/addons/survey/__openerp__.py
index ee4099828f2..47840d7082f 100644
--- a/addons/survey/__openerp__.py
+++ b/addons/survey/__openerp__.py
@@ -25,7 +25,7 @@
'version': '1.0',
'category': 'Tools',
'description': """
- This module is used for surveing. It depends on the answers or reviews of some questions by different users.
+ This module is used for surveying. It depends on the answers or reviews of some questions by different users.
A survey may have multiple pages. Each page may contain multiple questions and each question may have multiple answers.
Different users may give different answers of question and according to that survey is done.
Partners are also sent mails with user name and password for the invitation of the survey