[MERGE] merge from trunk-payroll branch

bzr revid: mra@mra-laptop-20110401055801-dd4el5ugvrg2723h
This commit is contained in:
Mustufa Rangwala
2011-04-01 11:28:01 +05:30
11 changed files with 6462 additions and 26 deletions
+4 -3
View File
@@ -8,13 +8,13 @@ msgstr ""
"Project-Id-Version: openobject-addons\n"
"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
"POT-Creation-Date: 2011-01-11 11:14+0000\n"
"PO-Revision-Date: 2011-01-20 22:15+0000\n"
"Last-Translator: Terje Nauf <Unknown>\n"
"PO-Revision-Date: 2011-03-30 13:55+0000\n"
"Last-Translator: Rolv Råen (adEgo) <Unknown>\n"
"Language-Team: Norwegian Bokmal <nb@li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Launchpad-Export-Date: 2011-03-18 04:52+0000\n"
"X-Launchpad-Export-Date: 2011-03-31 04:36+0000\n"
"X-Generator: Launchpad (build 12559)\n"
#. module: account
@@ -1156,6 +1156,7 @@ msgstr ""
#, python-format
msgid "You can not modify/delete a journal with entries for this period !"
msgstr ""
"Du kan ikke endre eller slette en journal med posteringer for angitt periode!"
#. module: account
#: help:account.invoice,origin:0
+15 -3
View File
@@ -23,6 +23,9 @@
<lineStyle kind="LINEAFTER" colorName="#e6e6e6" start="2,0" stop="2,-1"/>
<lineStyle kind="LINEABOVE" colorName="#e6e6e6" start="2,0" stop="2,0"/>
<lineStyle kind="LINEBELOW" colorName="#e6e6e6" start="2,-1" stop="2,-1"/>
<lineStyle kind="LINEAFTER" colorName="#e6e6e6" start="3,0" stop="3,-1"/>
<lineStyle kind="LINEABOVE" colorName="#e6e6e6" start="3,0" stop="3,0"/>
<lineStyle kind="LINEBELOW" colorName="#e6e6e6" start="3,-1" stop="3,-1"/>
</blockTableStyle>
<blockTableStyle id="Table_employee_ref_content">
<blockAlignment value="LEFT"/>
@@ -37,6 +40,9 @@
<lineStyle kind="LINEAFTER" colorName="#e6e6e6" start="2,0" stop="2,-1"/>
<lineStyle kind="LINEABOVE" colorName="#e6e6e6" start="2,0" stop="2,0"/>
<lineStyle kind="LINEBELOW" colorName="#e6e6e6" start="2,-1" stop="2,-1"/>
<lineStyle kind="LINEAFTER" colorName="#e6e6e6" start="3,0" stop="3,-1"/>
<lineStyle kind="LINEABOVE" colorName="#e6e6e6" start="3,0" stop="3,0"/>
<lineStyle kind="LINEBELOW" colorName="#e6e6e6" start="3,-1" stop="3,-1"/>
</blockTableStyle>
<blockTableStyle id="Table_hr_expense_line_header">
<blockAlignment value="LEFT"/>
@@ -145,7 +151,7 @@
<para style="terp_default_8">
<font color="white"> </font>
</para>
<blockTable colWidths="174.0,174.0,174.0" style="Table_employee_ref_header">
<blockTable colWidths="130.5,130.5,130.5,130.5" style="Table_employee_ref_header">
<tr>
<td>
<para style="terp_tblheader_General_Centre">Employee</para>
@@ -156,9 +162,12 @@
<td>
<para style="terp_tblheader_General_Centre">Reference</para>
</td>
<td>
<para style="terp_tblheader_General_Centre">Validated By</para>
</td>
</tr>
</blockTable>
<blockTable colWidths="174.0,174.0,174.0" style="Table_employee_ref_content">
<blockTable colWidths="130.5,130.5,130.5,130.5" style="Table_employee_ref_content">
<tr>
<td>
<para style="terp_default_Centre_8">[[ o.employee_id.name ]] </para>
@@ -169,6 +178,9 @@
<td>
<para style="terp_default_Centre_8">[[ o.ref ]]</para>
</td>
<td>
<para style="terp_default_Centre_8">[[ o.user_valid.name ]]</para>
</td>
</tr>
</blockTable>
<para style="terp_default_8">
@@ -272,7 +284,7 @@
<para style="terp_default_9">
<font color="white"> </font>
</para>
<para style="terp_default_9">[[ setTag('para','xpre') ]] [[ o.note or '' ]]</para>
<para style="terp_default_9">[[ o.note or '' ]]</para>
<para style="terp_default_9">
<font color="white"> </font>
</para>
+1 -1
View File
@@ -728,7 +728,7 @@ class mrp_production(osv.osv):
if consumed_qty == 0:
consumed_qty = production_qty * f.product_qty / production.product_qty
if consumed_qty > 0:
stock_mov_obj.action_consume(cr, uid, [raw_product.id], consumed_qty, production.location_src_id.id, context=context)
stock_mov_obj.action_consume(cr, uid, [raw_product.id], consumed_qty, raw_product.location_id.id, context=context)
if production_mode == 'consume_produce':
# To produce remaining qty of final product
File diff suppressed because it is too large Load Diff
+5 -4
View File
@@ -7,13 +7,14 @@ msgstr ""
"Project-Id-Version: OpenERP Server 6.0dev\n"
"Report-Msgid-Bugs-To: support@openerp.com\n"
"POT-Creation-Date: 2011-01-11 11:16+0000\n"
"PO-Revision-Date: 2011-01-22 10:11+0000\n"
"Last-Translator: Nicola Riolini - Micronaet <Unknown>\n"
"PO-Revision-Date: 2011-03-30 15:03+0000\n"
"Last-Translator: Lorenzo Battistini - agilebg.com "
"<lorenzo.battistini@agilebg.com>\n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Launchpad-Export-Date: 2011-03-18 04:40+0000\n"
"X-Launchpad-Export-Date: 2011-03-31 04:36+0000\n"
"X-Generator: Launchpad (build 12559)\n"
#. module: stock
@@ -1541,7 +1542,7 @@ msgstr "Valuta"
#. module: stock
#: field:product.product,track_production:0
msgid "Track Manufacturing Lots"
msgstr "Tracciamento lotti di fabbricazione"
msgstr "Tracciamento lotti di produzione"
#. module: stock
#: code:addons/stock/wizard/stock_inventory_merge.py:44
File diff suppressed because it is too large Load Diff
+6 -13
View File
@@ -2382,12 +2382,8 @@ class stock_move(osv.osv):
'state': move.state,
'location_id': location_id or move.location_id.id,
}
if (not move.prodlot_id.id) and (move.product_id.track_production and location_id):
# IF product has checked track for production lot, move lines will be split by 1
res += self.action_split(cr, uid, [move.id], quantity, split_by_qty=1, context=context)
else:
current_move = self.copy(cr, uid, move.id, default_val)
res += [current_move]
current_move = self.copy(cr, uid, move.id, default_val)
res += [current_move]
update_val = {}
update_val['product_qty'] = quantity_rest
update_val['product_uos_qty'] = uos_qty_rest
@@ -2396,16 +2392,13 @@ class stock_move(osv.osv):
else:
quantity_rest = quantity
uos_qty_rest = uos_qty
if (not move.prodlot_id.id) and (move.product_id.track_production and location_id):
res += self.action_split(cr, uid, [move.id], quantity_rest, split_by_qty=1, context=context)
else:
res += [move.id]
update_val = {
res += [move.id]
update_val = {
'product_qty' : quantity_rest,
'product_uos_qty' : uos_qty_rest,
'location_id': location_id or move.location_id.id
}
self.write(cr, uid, [move.id], update_val)
}
self.write(cr, uid, [move.id], update_val)
product_obj = self.pool.get('product.product')
for new_move in self.browse(cr, uid, res, context=context):
+1 -1
View File
@@ -3,7 +3,7 @@
<data noupdate="1">
<record id="base.user_demo" model="res.users">
<field eval="[(4, ref('base.group_tool_user')),(4, ref('group_survey_user'))]" name="groups_id"/>
<field eval="[(4, ref('base.group_tool_user')),(4, ref('base.group_survey_user'))]" name="groups_id"/>
</record>
<record model="survey.type" id="survey_type1">
+1
View File
@@ -499,6 +499,7 @@
<field name="name">survey_page_wizard_test</field>
<field name="model">survey.page</field>
<field name="type">form</field>
<field name="priority">20</field>
<field name="arch" type="xml">
<form string="Survey Pages">
<field name="title" colspan="4" select="1"/>
+1 -1
View File
@@ -64,7 +64,7 @@ class survey_browse_answer(osv.osv_memory):
record = self.read(cr, uid, ids, [])
record = record and record[0] or {}
if record['response_id']:
res_id = [(record['response_id'])]
res_id = [(record['response_id'][0])]
else:
sur_response_obj = self.pool.get('survey.response')
res_id = sur_response_obj.search(cr, uid, [('survey_id', '=',int(record['survey_id']))])
+463
View File
@@ -0,0 +1,463 @@
# Norwegian Bokmal translation for openobject-addons
# Copyright (c) 2011 Rosetta Contributors and Canonical Ltd 2011
# This file is distributed under the same license as the openobject-addons package.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2011.
#
msgid ""
msgstr ""
"Project-Id-Version: openobject-addons\n"
"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
"POT-Creation-Date: 2011-01-11 11:16+0000\n"
"PO-Revision-Date: 2011-03-30 18:15+0000\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: Norwegian Bokmal <nb@li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Launchpad-Export-Date: 2011-03-31 04:36+0000\n"
"X-Generator: Launchpad (build 12559)\n"
#. module: wiki
#: field:wiki.groups,template:0
msgid "Wiki Template"
msgstr ""
#. module: wiki
#: model:ir.actions.act_window,name:wiki.action_wiki
#: model:ir.ui.menu,name:wiki.menu_action_wiki_wiki
msgid "Wiki Pages"
msgstr ""
#. module: wiki
#: field:wiki.groups,method:0
msgid "Display Method"
msgstr ""
#. module: wiki
#: view:wiki.wiki:0
#: field:wiki.wiki,create_uid:0
msgid "Author"
msgstr ""
#. module: wiki
#: model:ir.actions.act_window,name:wiki.action_view_wiki_wiki_page_open
#: view:wiki.wiki.page.open:0
msgid "Open Page"
msgstr ""
#. module: wiki
#: field:wiki.groups,menu_id:0
msgid "Menu"
msgstr ""
#. module: wiki
#: field:wiki.wiki,section:0
msgid "Section"
msgstr ""
#. module: wiki
#: help:wiki.wiki,toc:0
msgid "Indicates that this pages have a table of contents or not"
msgstr ""
#. module: wiki
#: model:ir.model,name:wiki.model_wiki_wiki_history
#: view:wiki.wiki.history:0
msgid "Wiki History"
msgstr ""
#. module: wiki
#: field:wiki.wiki,minor_edit:0
msgid "Minor edit"
msgstr ""
#. module: wiki
#: view:wiki.wiki:0
#: field:wiki.wiki,text_area:0
msgid "Content"
msgstr ""
#. module: wiki
#: field:wiki.wiki,child_ids:0
msgid "Child Pages"
msgstr ""
#. module: wiki
#: field:wiki.wiki,parent_id:0
msgid "Parent Page"
msgstr ""
#. module: wiki
#: view:wiki.wiki:0
#: field:wiki.wiki,write_uid:0
msgid "Last Contributor"
msgstr ""
#. module: wiki
#: field:wiki.create.menu,menu_parent_id:0
msgid "Parent Menu"
msgstr ""
#. module: wiki
#: help:wiki.wiki,group_id:0
msgid "Topic, also called Wiki Group"
msgstr ""
#. module: wiki
#: field:wiki.groups,name:0
#: view:wiki.wiki:0
#: field:wiki.wiki,group_id:0
msgid "Wiki Group"
msgstr ""
#. module: wiki
#: field:wiki.wiki,name:0
msgid "Title"
msgstr ""
#. module: wiki
#: model:ir.model,name:wiki.model_wiki_create_menu
msgid "Wizard Create Menu"
msgstr ""
#. module: wiki
#: field:wiki.wiki,history_id:0
msgid "History Lines"
msgstr ""
#. module: wiki
#: view:wiki.wiki:0
msgid "Page Content"
msgstr ""
#. module: wiki
#: code:addons/wiki/wiki.py:236
#, python-format
msgid "Warning !"
msgstr ""
#. module: wiki
#: code:addons/wiki/wiki.py:236
#, python-format
msgid "There are no changes in revisions"
msgstr ""
#. module: wiki
#: model:ir.module.module,shortdesc:wiki.module_meta_information
msgid "Document Management - Wiki"
msgstr ""
#. module: wiki
#: field:wiki.create.menu,menu_name:0
msgid "Menu Name"
msgstr ""
#. module: wiki
#: field:wiki.groups,notes:0
msgid "Description"
msgstr ""
#. module: wiki
#: field:wiki.wiki,review:0
msgid "Needs Review"
msgstr ""
#. module: wiki
#: help:wiki.wiki,review:0
msgid ""
"Indicates that this page should be reviewed, raising the attention of other "
"contributors"
msgstr ""
#. module: wiki
#: view:wiki.create.menu:0
#: view:wiki.make.index:0
msgid "Menu Information"
msgstr ""
#. module: wiki
#: model:ir.actions.act_window,name:wiki.act_wiki_wiki_history
msgid "Page History"
msgstr ""
#. module: wiki
#: selection:wiki.groups,method:0
msgid "Tree"
msgstr ""
#. module: wiki
#: view:wiki.groups:0
msgid "Page Template"
msgstr ""
#. module: wiki
#: field:wiki.wiki,tags:0
msgid "Keywords"
msgstr ""
#. module: wiki
#: model:ir.actions.act_window,help:wiki.action_wiki
msgid ""
"With Wiki Pages you can share ideas and questions with your coworkers. You "
"can create a new document that can be linked to one or several applications "
"(CRM, Sales, etc.). You can use keywords to ease access to your wiki pages. "
"There is a basic wiki editing for text format."
msgstr ""
#. module: wiki
#: code:addons/wiki/wizard/wiki_show_diff.py:54
#, python-format
msgid "Warning"
msgstr ""
#. module: wiki
#: field:wiki.wiki,create_date:0
msgid "Created on"
msgstr ""
#. module: wiki
#: field:wiki.wiki.history,create_date:0
msgid "Date"
msgstr ""
#. module: wiki
#: view:wiki.make.index:0
msgid "Want to create a Index on Selected Pages ? "
msgstr ""
#. module: wiki
#: model:ir.actions.act_window,name:wiki.action_view_wiki_show_diff
#: model:ir.actions.act_window,name:wiki.action_view_wiki_show_diff_values
#: view:wizard.wiki.history.show_diff:0
msgid "Difference"
msgstr ""
#. module: wiki
#: field:wiki.groups,page_ids:0
msgid "Pages"
msgstr ""
#. module: wiki
#: view:wiki.groups:0
msgid "Group Description"
msgstr ""
#. module: wiki
#: help:wiki.wiki,section:0
msgid "Use page section code like 1.2.1"
msgstr ""
#. module: wiki
#: view:wiki.wiki.page.open:0
msgid "Want to open a wiki page? "
msgstr ""
#. module: wiki
#: field:wiki.groups,section:0
msgid "Make Section ?"
msgstr ""
#. module: wiki
#: field:wiki.wiki.history,text_area:0
msgid "Text area"
msgstr ""
#. module: wiki
#: view:wiki.wiki:0
msgid "Meta Information"
msgstr ""
#. module: wiki
#: model:ir.module.module,description:wiki.module_meta_information
msgid ""
"\n"
"The base module to manage documents(wiki)\n"
"\n"
"keep track for the wiki groups, pages, and history\n"
" "
msgstr ""
#. module: wiki
#: view:wiki.groups:0
#: view:wizard.wiki.history.show_diff:0
msgid "Notes"
msgstr ""
#. module: wiki
#: help:wiki.groups,home:0
msgid "Required to select home page if display method is Home Page"
msgstr ""
#. module: wiki
#: selection:wiki.groups,method:0
msgid "List"
msgstr ""
#. module: wiki
#: field:wiki.wiki,summary:0
#: field:wiki.wiki.history,summary:0
msgid "Summary"
msgstr ""
#. module: wiki
#: field:wiki.groups,create_date:0
msgid "Created Date"
msgstr ""
#. module: wiki
#: model:ir.actions.act_window,name:wiki.action_history
msgid "All Page Histories"
msgstr ""
#. module: wiki
#: model:ir.model,name:wiki.model_wiki_wiki
msgid "wiki.wiki"
msgstr ""
#. module: wiki
#: help:wiki.groups,method:0
msgid "Define the default behaviour of the menu created on this group"
msgstr ""
#. module: wiki
#: view:wizard.wiki.history.show_diff:0
msgid "Close"
msgstr ""
#. module: wiki
#: model:ir.model,name:wiki.model_wizard_wiki_history_show_diff
msgid "wizard.wiki.history.show_diff"
msgstr ""
#. module: wiki
#: field:wiki.wiki.history,wiki_id:0
msgid "Wiki Id"
msgstr ""
#. module: wiki
#: field:wiki.groups,home:0
#: selection:wiki.groups,method:0
msgid "Home Page"
msgstr ""
#. module: wiki
#: help:wiki.wiki,parent_id:0
msgid "Allows you to link with the other page with in the current topic"
msgstr ""
#. module: wiki
#: view:wiki.wiki:0
msgid "Modification Information"
msgstr ""
#. module: wiki
#: model:ir.ui.menu,name:wiki.menu_wiki_configuration
#: view:wiki.wiki:0
msgid "Wiki"
msgstr ""
#. module: wiki
#: field:wiki.wiki,write_date:0
msgid "Modification Date"
msgstr ""
#. module: wiki
#: view:wiki.groups:0
msgid "Configuration"
msgstr ""
#. module: wiki
#: model:ir.actions.act_window,name:wiki.action_view_wiki_make_index
#: model:ir.actions.act_window,name:wiki.action_view_wiki_make_index_values
#: model:ir.model,name:wiki.model_wiki_make_index
#: view:wiki.make.index:0
msgid "Create Index"
msgstr ""
#. module: wiki
#: code:addons/wiki/wizard/wiki_show_diff.py:54
#, python-format
msgid "You need to select minimum 1 or maximum 2 history revision!"
msgstr ""
#. module: wiki
#: view:wiki.wiki:0
msgid "Group By..."
msgstr ""
#. module: wiki
#: model:ir.actions.act_window,name:wiki.action_wiki_create_menu
#: view:wiki.create.menu:0
#: view:wiki.groups:0
#: view:wiki.make.index:0
msgid "Create Menu"
msgstr ""
#. module: wiki
#: field:wiki.wiki.history,minor_edit:0
msgid "This is a major edit ?"
msgstr ""
#. module: wiki
#: model:ir.actions.act_window,name:wiki.action_wiki_groups
#: model:ir.actions.act_window,name:wiki.action_wiki_groups_browse
#: model:ir.model,name:wiki.model_wiki_groups
#: model:ir.ui.menu,name:wiki.menu_action_wiki_groups
#: view:wiki.groups:0
msgid "Wiki Groups"
msgstr ""
#. module: wiki
#: view:wiki.wiki:0
msgid "Topic"
msgstr ""
#. module: wiki
#: field:wiki.wiki.history,write_uid:0
msgid "Modify By"
msgstr ""
#. module: wiki
#: code:addons/wiki/web/widgets/wikimarkup/__init__.py:1981
#: field:wiki.wiki,toc:0
#, python-format
msgid "Table of Contents"
msgstr ""
#. module: wiki
#: view:wiki.groups:0
#: view:wiki.wiki.page.open:0
msgid "Open Wiki Page"
msgstr ""
#. module: wiki
#: model:ir.model,name:wiki.model_wiki_wiki_page_open
msgid "wiz open page"
msgstr ""
#. module: wiki
#: view:wiki.create.menu:0
#: view:wiki.make.index:0
#: view:wiki.wiki.page.open:0
msgid "Cancel"
msgstr ""
#. module: wiki
#: field:wizard.wiki.history.show_diff,file_path:0
msgid "Diff"
msgstr ""
#. module: wiki
#: view:wiki.wiki:0
msgid "Need Review"
msgstr ""
#. module: wiki
#: model:ir.actions.act_window,name:wiki.action_wiki_review
msgid "Pages Waiting Review"
msgstr ""
#. module: wiki
#: model:ir.actions.act_window,name:wiki.act_wiki_group_open
msgid "Search Page"
msgstr ""