[Merge] lp:openobject-addons

bzr revid: dbr@tinyerp.com-20130426065239-3ejby1gnnttzd8sp
This commit is contained in:
DBR (OpenERP)
2013-04-26 12:22:39 +05:30
39 changed files with 3355 additions and 216 deletions
+3 -3
View File
@@ -334,11 +334,11 @@
<label for="currency_id" groups="base.group_multi_currency"/>
<div groups="base.group_multi_currency">
<field name="currency_id" class="oe_inline"/>
<!-- note fp: I don't think we need this feature ?
<button name="%(action_account_change_currency)d" type="action"
icon="terp-stock_effects-object-colorize"
class="oe_inline oe_link oe_edit_only"
string="(change)"
attrs="{'invisible':[('state','!=','draft')]}"
groups="account.group_account_user"/> -->
groups="account.group_account_user"/>
</div>
</group>
</group>
+5 -5
View File
@@ -8,19 +8,19 @@ msgstr ""
"Project-Id-Version: openobject-addons\n"
"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
"POT-Creation-Date: 2012-12-21 17:04+0000\n"
"PO-Revision-Date: 2011-05-06 12:05+0000\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"PO-Revision-Date: 2013-02-25 14:55+0000\n"
"Last-Translator: Софче Димитријева <Unknown>\n"
"Language-Team: Macedonian <mk@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: 2012-12-22 06:02+0000\n"
"X-Generator: Launchpad (build 16378)\n"
"X-Launchpad-Export-Date: 2013-02-26 05:09+0000\n"
"X-Generator: Launchpad (build 16506)\n"
#. module: account_accountant
#: model:ir.actions.client,name:account_accountant.action_client_account_menu
msgid "Open Accounting Menu"
msgstr ""
msgstr "Отвори го менито за сметководство"
#~ msgid ""
#~ "\n"
@@ -68,6 +68,22 @@
<field name="search_view_id" ref="view_account_analytic_default_form_search"/>
<field name="context">{"search_default_current":1}</field>
</record>
<record id="action_product_default_list" model="ir.actions.act_window">
<field name="name">Analytic Defaults</field>
<field name="res_model">account.analytic.default</field>
<field name="context">{'search_default_product_id': [active_id], 'default_product_id': active_id}</field>
</record>
<record model="ir.ui.view" id="product_form_view_default_analytic_button">
<field name="name">product.product.stock.move</field>
<field name="model">product.product</field>
<field name="inherit_id" ref="product.product_normal_form_view"/>
<field name="arch" type="xml">
<xpath expr="//div[@name='buttons']" position="inside">
<button string="Analytic Rules" name= "%(action_product_default_list)d" type="action" groups="analytic.group_analytic_accounting" />
</xpath>
</field>
</record>
<act_window
name="Entries"
@@ -99,13 +115,5 @@
context="{'search_default_user_id': [active_id], 'default_user_id': active_id}"
groups="analytic.group_analytic_accounting"/>
<act_window
name="Analytic Rules"
res_model="account.analytic.default"
id="analytic_rule_action_product"
src_model="product.product"
context="{'search_default_product_id': [active_id], 'default_product_id': active_id}"
groups="analytic.group_analytic_accounting"/>
</data>
</openerp>
+1 -1
View File
@@ -152,7 +152,7 @@
name="action_button_convert2opportunity"
states="open,pending"
icon="gtk-index"
type="action" attrs="{'invisible':[('opportunity_id','!=',False)]}"/>
type="object" attrs="{'invisible':[('opportunity_id','!=',False)]}"/>
</tree>
</field>
</record>
File diff suppressed because it is too large Load Diff
+188
View File
@@ -0,0 +1,188 @@
# Arabic translation for openobject-addons
# Copyright (c) 2013 Rosetta Contributors and Canonical Ltd 2013
# This file is distributed under the same license as the openobject-addons package.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2013.
#
msgid ""
msgstr ""
"Project-Id-Version: openobject-addons\n"
"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
"POT-Creation-Date: 2012-12-21 17:05+0000\n"
"PO-Revision-Date: 2013-02-25 21:35+0000\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: Arabic <ar@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: 2013-02-26 05:09+0000\n"
"X-Generator: Launchpad (build 16506)\n"
#. module: google_docs
#: code:addons/google_docs/google_docs.py:139
#, python-format
msgid "Key Error!"
msgstr ""
#. module: google_docs
#: view:google.docs.config:0
msgid ""
"for a presentation (slide show) document with url like "
"`https://docs.google.com/a/openerp.com/presentation/d/123456789/edit#slide=id"
".p`, the ID is `presentation:123456789`"
msgstr ""
#. module: google_docs
#: view:google.docs.config:0
msgid ""
"for a text document with url like "
"`https://docs.google.com/a/openerp.com/document/d/123456789/edit`, the ID is "
"`document:123456789`"
msgstr ""
#. module: google_docs
#: field:google.docs.config,gdocs_resource_id:0
msgid "Google Resource ID to Use as Template"
msgstr ""
#. module: google_docs
#: view:google.docs.config:0
msgid ""
"for a drawing document with url like "
"`https://docs.google.com/a/openerp.com/drawings/d/123456789/edit`, the ID is "
"`drawings:123456789`"
msgstr ""
#. module: google_docs
#. openerp-web
#: code:addons/google_docs/static/src/xml/gdocs.xml:6
#, python-format
msgid "Add Google Doc..."
msgstr ""
#. module: google_docs
#: view:google.docs.config:0
msgid ""
"This is the id of the template document, on google side. You can find it "
"thanks to its URL:"
msgstr ""
#. module: google_docs
#: model:ir.model,name:google_docs.model_google_docs_config
msgid "Google Docs templates config"
msgstr ""
#. module: google_docs
#. openerp-web
#: code:addons/google_docs/static/src/js/gdocs.js:25
#, python-format
msgid ""
"The user google credentials are not set yet. Contact your administrator for "
"help."
msgstr ""
#. module: google_docs
#: view:google.docs.config:0
msgid ""
"for a spreadsheet document with url like "
"`https://docs.google.com/a/openerp.com/spreadsheet/ccc?key=123456789#gid=0`, "
"the ID is `spreadsheet:123456789`"
msgstr ""
#. module: google_docs
#: code:addons/google_docs/google_docs.py:101
#, python-format
msgid ""
"Your resource id is not correct. You can find the id in the google docs URL."
msgstr ""
#. module: google_docs
#: code:addons/google_docs/google_docs.py:125
#, python-format
msgid "Creating google docs may only be done by one at a time."
msgstr ""
#. module: google_docs
#: code:addons/google_docs/google_docs.py:56
#: code:addons/google_docs/google_docs.py:101
#: code:addons/google_docs/google_docs.py:125
#, python-format
msgid "Google Docs Error!"
msgstr ""
#. module: google_docs
#: code:addons/google_docs/google_docs.py:56
#, python-format
msgid "Check your google configuration in Users/Users/Synchronization tab."
msgstr ""
#. module: google_docs
#: model:ir.ui.menu,name:google_docs.menu_gdocs_config
msgid "Google Docs configuration"
msgstr ""
#. module: google_docs
#: model:ir.actions.act_window,name:google_docs.action_google_docs_users_config
#: model:ir.ui.menu,name:google_docs.menu_gdocs_model_config
msgid "Models configuration"
msgstr ""
#. module: google_docs
#: field:google.docs.config,model_id:0
msgid "Model"
msgstr ""
#. module: google_docs
#. openerp-web
#: code:addons/google_docs/static/src/js/gdocs.js:28
#, python-format
msgid "User Google credentials are not yet set."
msgstr ""
#. module: google_docs
#: code:addons/google_docs/google_docs.py:139
#, python-format
msgid "Your Google Doc Name Pattern's key does not found in object."
msgstr ""
#. module: google_docs
#: help:google.docs.config,name_template:0
msgid ""
"Choose how the new google docs will be named, on google side. Eg. "
"gdoc_%(field_name)s"
msgstr ""
#. module: google_docs
#: view:google.docs.config:0
msgid "Google Docs Configuration"
msgstr ""
#. module: google_docs
#: help:google.docs.config,gdocs_resource_id:0
msgid ""
"\n"
"This is the id of the template document, on google side. You can find it "
"thanks to its URL: \n"
"*for a text document with url like "
"`https://docs.google.com/a/openerp.com/document/d/123456789/edit`, the ID is "
"`document:123456789`\n"
"*for a spreadsheet document with url like "
"`https://docs.google.com/a/openerp.com/spreadsheet/ccc?key=123456789#gid=0`, "
"the ID is `spreadsheet:123456789`\n"
"*for a presentation (slide show) document with url like "
"`https://docs.google.com/a/openerp.com/presentation/d/123456789/edit#slide=id"
".p`, the ID is `presentation:123456789`\n"
"*for a drawing document with url like "
"`https://docs.google.com/a/openerp.com/drawings/d/123456789/edit`, the ID is "
"`drawings:123456789`\n"
"...\n"
msgstr ""
#. module: google_docs
#: model:ir.model,name:google_docs.model_ir_attachment
msgid "ir.attachment"
msgstr ""
#. module: google_docs
#: field:google.docs.config,name_template:0
msgid "Google Doc Name Pattern"
msgstr ""
+5
View File
@@ -93,6 +93,10 @@ class hr_job(osv.osv):
_inherit = ['mail.thread']
_columns = {
'name': fields.char('Job Name', size=128, required=True, select=True),
# TO CLEAN: when doing a cleaning, we should change like this:
# no_of_recruitment: a function field
# expected_employees: float
# This would allow a clean update when creating new employees.
'expected_employees': fields.function(_no_of_employee, string='Total Forecasted Employees',
help='Expected number of employees for this job position after new recruitment.',
store = {
@@ -146,6 +150,7 @@ class hr_employee(osv.osv):
_name = "hr.employee"
_description = "Employee"
_inherits = {'resource.resource': "resource_id"}
_inherit = ['mail.thread']
def _get_image(self, cr, uid, ids, name, args, context=None):
result = dict.fromkeys(ids, False)
+4
View File
@@ -84,6 +84,10 @@
</page>
</notebook>
</sheet>
<div class="oe_chatter">
<field name="message_follower_ids" widget="mail_followers"/>
<field name="message_ids" widget="mail_thread"/>
</div>
</form>
</field>
</record>
+7 -4
View File
@@ -116,7 +116,10 @@ class hr_holidays(osv.osv):
},
}
def _employee_get(self, cr, uid, context=None):
def _employee_get(self, cr, uid, context=None):
emp_id = context.get('default_employee_id', False)
if emp_id:
return emp_id
ids = self.pool.get('hr.employee').search(cr, uid, [('user_id', '=', uid)], context=context)
if ids:
return ids[0]
@@ -203,9 +206,9 @@ class hr_holidays(osv.osv):
leave_ids = obj_res_leave.search(cr, uid, [('holiday_id', 'in', ids)], context=context)
return obj_res_leave.unlink(cr, uid, leave_ids, context=context)
def onchange_type(self, cr, uid, ids, holiday_type):
result = {'value': {'employee_id': False}}
if holiday_type == 'employee':
def onchange_type(self, cr, uid, ids, holiday_type, employee_id=False, context=None):
result = {}
if holiday_type == 'employee' and not employee_id:
ids_employee = self.pool.get('hr.employee').search(cr, uid, [('user_id','=', uid)])
if ids_employee:
result['value'] = {
+3 -3
View File
@@ -78,7 +78,7 @@
<field name="category_id" attrs="{'required':[('holiday_type','=','category')], 'invisible':[('holiday_type','=','employee')], 'readonly':[('state','!=','draft'), ('state','!=','confirm')]}"/>
</group>
<group>
<field name="holiday_type" on_change="onchange_type(holiday_type)" attrs="{'readonly':[('state','!=','draft')]}" width="130" string="Mode" groups="base.group_hr_user"/>
<field name="holiday_type" on_change="onchange_type(holiday_type, employee_id)" attrs="{'readonly':[('state','!=','draft')]}" width="130" string="Mode" groups="base.group_hr_user"/>
<field name="employee_id" attrs="{'required':[('holiday_type','=','employee')],'invisible':[('holiday_type','=','category')]}" on_change="onchange_employee(employee_id)" groups="base.group_hr_user"/>
<field name="department_id" attrs="{'readonly':[('holiday_type','=','category')]}" groups="base.group_hr_user"/>
</group>
@@ -206,7 +206,8 @@
<field name="arch" type="xml">
<tree colors="red:state == 'refuse';blue:state == ' draft';black:state in ('confirm','validate','validate1')" string="Leave Requests">
<field name="employee_id"/>
<field name="holiday_type" string="Mode" groups="base.group_hr_user"/>
<field name="holiday_type" string="Mode" groups="base.group_no_one"/>
<field name="holiday_status_id"/>
<field name="name"/>
<field name="date_from"/>
<field name="date_to"/>
@@ -214,7 +215,6 @@
<field name="state"/>
<field name="category_id" invisible="1"/>
<field name="department_id" invisible="not context.get('set_visible',False)"/>
<field name="holiday_status_id" invisible="1"/>
<field name="manager_id" invisible="1"/>
<field name="user_id" invisible="1"/>
</tree>
+157 -99
View File
@@ -7,25 +7,25 @@ msgstr ""
"Project-Id-Version: OpenERP Server 6.0dev\n"
"Report-Msgid-Bugs-To: support@openerp.com\n"
"POT-Creation-Date: 2012-12-21 17:04+0000\n"
"PO-Revision-Date: 2011-02-03 22:21+0000\n"
"Last-Translator: Krisztian Eyssen <krisz@eyssen.hu>\n"
"PO-Revision-Date: 2013-02-22 13:40+0000\n"
"Last-Translator: krnkris <Unknown>\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: 2012-12-22 05:55+0000\n"
"X-Generator: Launchpad (build 16378)\n"
"X-Launchpad-Export-Date: 2013-02-23 05:20+0000\n"
"X-Generator: Launchpad (build 16506)\n"
#. module: hr_payroll
#: field:hr.payslip.line,condition_select:0
#: field:hr.salary.rule,condition_select:0
msgid "Condition Based on"
msgstr ""
msgstr "Körülmény ezen feltételek alapján"
#. module: hr_payroll
#: selection:hr.contract,schedule_pay:0
msgid "Monthly"
msgstr ""
msgstr "Havi"
#. module: hr_payroll
#: field:hr.payslip.line,rate:0
@@ -37,7 +37,7 @@ msgstr "Arány (%)"
#: model:ir.model,name:hr_payroll.model_hr_salary_rule_category
#: report:paylip.details:0
msgid "Salary Rule Category"
msgstr ""
msgstr "Fizetési kategória szabálya"
#. module: hr_payroll
#: field:hr.payslip.worked_days,number_of_days:0
@@ -50,6 +50,8 @@ msgid ""
"Linking a salary category to its parent is used only for the reporting "
"purpose."
msgstr ""
"A fizetési kategória szülőhöz való csatolása csak jelentés készítéshez "
"használt."
#. module: hr_payroll
#: view:hr.payslip:0
@@ -68,13 +70,13 @@ msgstr "Állapotok"
#: view:hr.salary.rule:0
#: field:hr.salary.rule,input_ids:0
msgid "Inputs"
msgstr ""
msgstr "Hozzávalók"
#. module: hr_payroll
#: field:hr.payslip.line,parent_rule_id:0
#: field:hr.salary.rule,parent_rule_id:0
msgid "Parent Salary Rule"
msgstr ""
msgstr "Szülö fizetési szabályok"
#. module: hr_payroll
#: view:hr.employee:0
@@ -90,7 +92,7 @@ msgstr "Fizetési jegyzékek"
#: field:hr.payroll.structure,parent_id:0
#: field:hr.salary.rule.category,parent_id:0
msgid "Parent"
msgstr ""
msgstr "Szülő"
#. module: hr_payroll
#: field:hr.contribution.register,company_id:0
@@ -105,7 +107,7 @@ msgstr "Vállalat"
#. module: hr_payroll
#: view:hr.payslip:0
msgid "Done Slip"
msgstr ""
msgstr "Fizetési jegyzék létrehozva"
#. module: hr_payroll
#: view:hr.payslip:0
@@ -116,13 +118,13 @@ msgstr "Beállítás tervezetnek"
#. module: hr_payroll
#: model:ir.model,name:hr_payroll.model_hr_salary_rule
msgid "hr.salary.rule"
msgstr ""
msgstr "hr.salary.rule"
#. module: hr_payroll
#: view:hr.payslip:0
#: view:hr.payslip.run:0
msgid "to"
msgstr ""
msgstr "ig"
#. module: hr_payroll
#: field:hr.payslip,payslip_run_id:0
@@ -137,6 +139,9 @@ msgid ""
"This wizard will generate payslips for all selected employee(s) based on the "
"dates and credit note specified on Payslips Run."
msgstr ""
"Ez a varázsló fizetési jegyzéket készít minden kiválasztott alkalmazott "
"részére a fizetési jegyzék futásán lévő dátumok és a fizetési meghagyások "
"/tartozások/ alapján."
#. module: hr_payroll
#: report:contribution.register.lines:0
@@ -148,7 +153,7 @@ msgstr "Mennyiség / Arány"
#. module: hr_payroll
#: view:hr.salary.rule:0
msgid "Children Definition"
msgstr ""
msgstr "Alárendeltek meghatározása"
#. module: hr_payroll
#: field:hr.payslip.input,payslip_id:0
@@ -168,7 +173,7 @@ msgstr "Létrehozás"
#: help:hr.payslip.line,amount_percentage_base:0
#: help:hr.salary.rule,amount_percentage_base:0
msgid "result will be affected to a variable"
msgstr ""
msgstr "az eredmény egy változóhoz lesz rendelve"
#. module: hr_payroll
#: report:contribution.register.lines:0
@@ -178,7 +183,7 @@ msgstr "Összesen:"
#. module: hr_payroll
#: model:ir.actions.act_window,name:hr_payroll.act_children_salary_rules
msgid "All Children Rules"
msgstr ""
msgstr "Az összes alárendelt szabály"
#. module: hr_payroll
#: view:hr.payslip:0
@@ -190,11 +195,12 @@ msgstr "Adatbevitel"
#: constraint:hr.payslip:0
msgid "Payslip 'Date From' must be before 'Date To'."
msgstr ""
"Fizetési jegyzés 'Dátumtól' értéke a 'Dátumig' értéknél kisebb kell legyen."
#. module: hr_payroll
#: view:hr.salary.rule.category:0
msgid "Notes"
msgstr ""
msgstr "Jegyzetek"
#. module: hr_payroll
#: code:addons/hr_payroll/hr_payroll.py:866
@@ -204,7 +210,7 @@ msgstr ""
#: code:addons/hr_payroll/hr_payroll.py:900
#, python-format
msgid "Error!"
msgstr ""
msgstr "Hiba!"
#. module: hr_payroll
#: report:contribution.register.lines:0
@@ -230,24 +236,24 @@ msgstr "Egyéb információ"
#. module: hr_payroll
#: field:hr.config.settings,module_hr_payroll_account:0
msgid "Link your payroll to accounting system"
msgstr ""
msgstr "A fizetési jegyzéket rendelje hozzá egy könyvelési rendszerhez"
#. module: hr_payroll
#: help:hr.payslip.line,amount_select:0
#: help:hr.salary.rule,amount_select:0
msgid "The computation method for the rule amount."
msgstr ""
msgstr "A számítási mód az előírt mennyiségre."
#. module: hr_payroll
#: view:payslip.lines.contribution.register:0
msgid "Contribution Register's Payslip Lines"
msgstr ""
msgstr "Névjegyzékek hozzáfűzése a fizetési jegyzék soraihoz"
#. module: hr_payroll
#: code:addons/hr_payroll/wizard/hr_payroll_payslips_by_employees.py:52
#, python-format
msgid "Warning !"
msgstr ""
msgstr "Figyelem!"
#. module: hr_payroll
#: report:paylip.details:0
@@ -258,7 +264,7 @@ msgstr "Részletek fizetési szabályok szerint"
#: report:paylip.details:0
#: report:payslip:0
msgid "Note"
msgstr ""
msgstr "Jegyzet"
#. module: hr_payroll
#: field:hr.payroll.structure,code:0
@@ -271,7 +277,7 @@ msgstr "Hivatkozás"
#. module: hr_payroll
#: view:hr.payslip:0
msgid "Draft Slip"
msgstr ""
msgstr "Jegyzék tervezet"
#. module: hr_payroll
#: code:addons/hr_payroll/hr_payroll.py:427
@@ -283,7 +289,7 @@ msgstr "Normál munkanap 100%-an fizetve"
#: field:hr.payslip.line,condition_range_max:0
#: field:hr.salary.rule,condition_range_max:0
msgid "Maximum Range"
msgstr ""
msgstr "Maximum kiterjedés"
#. module: hr_payroll
#: report:paylip.details:0
@@ -299,12 +305,12 @@ msgstr "Szerkezet"
#. module: hr_payroll
#: field:hr.contribution.register,partner_id:0
msgid "Partner"
msgstr ""
msgstr "Partner"
#. module: hr_payroll
#: view:hr.payslip:0
msgid "Total Working Days"
msgstr ""
msgstr "Összes munka nap"
#. module: hr_payroll
#: help:hr.payslip.line,code:0
@@ -313,11 +319,13 @@ msgid ""
"The code of salary rules can be used as reference in computation of other "
"rules. In that case, it is case sensitive."
msgstr ""
"A fizetési szabály kódját hivatkozásnak lehet használni a többi szabály "
"számításához. Ebben az esetben, ez esetekre érzékeny."
#. module: hr_payroll
#: selection:hr.contract,schedule_pay:0
msgid "Weekly"
msgstr ""
msgstr "Heti"
#. module: hr_payroll
#: view:hr.payslip:0
@@ -327,7 +335,7 @@ msgstr "Kezdő dátum"
#. module: hr_payroll
#: view:hr.payslip:0
msgid "Confirm"
msgstr ""
msgstr "Megerősítés"
#. module: hr_payroll
#: model:ir.actions.act_window,help:hr_payroll.action_contribution_register_form
@@ -343,12 +351,23 @@ msgid ""
" </p>\n"
" "
msgstr ""
"<p class=\"oe_view_nocontent_create\">\n"
" Kattintson egy új hozzájárulás számláló rögzítéséhez.\n"
" </p><p>\n"
" Egy hozzájárulás számlálóval egy harmadik fél van bevonva az "
"alkalmazott \n"
" havi fizetéséhez. Ez lehet társadalombiztosítás, egy vagyon "
"vagy\n"
" bármi ami kiemel vagy beillesz pénzt a fizetési "
"jegyzékekbe.\n"
" </p>\n"
" "
#. module: hr_payroll
#: help:hr.payslip.line,condition_range_max:0
#: help:hr.salary.rule,condition_range_max:0
msgid "The maximum amount, applied for this rule."
msgstr ""
msgstr "A maximum összeg ami erre a szabályra vonatkozik."
#. module: hr_payroll
#: help:hr.payslip.line,condition_python:0
@@ -357,12 +376,14 @@ msgid ""
"Applied this rule for calculation if condition is true. You can specify "
"condition like basic > 1000."
msgstr ""
"Ezt a szabályt érvényesítse a számításoknál ha a feltételek igazak. Olyan "
"feltételeket köthet ki mint alap > 1000."
#. module: hr_payroll
#: report:contribution.register.lines:0
#: report:paylip.details:0
msgid "Register Name"
msgstr ""
msgstr "Feliratkozási név"
#. module: hr_payroll
#: view:hr.payslip.employees:0
@@ -372,12 +393,12 @@ msgstr "Fizetési jegyzékek alkalmazottak szerint"
#. module: hr_payroll
#: selection:hr.contract,schedule_pay:0
msgid "Quarterly"
msgstr ""
msgstr "Negyedéves"
#. module: hr_payroll
#: selection:hr.payslip,state:0
msgid "Waiting"
msgstr ""
msgstr "Várakozó"
#. module: hr_payroll
#: help:hr.salary.rule,quantity:0
@@ -386,11 +407,14 @@ msgid ""
"for Meal Voucher having fixed amount of 1€ per worked day can have its "
"quantity defined in expression like worked_days.WORK100.number_of_days."
msgstr ""
"Ezt használja a százalékos és a fix ár számítására. Például, az Ebéd jegy-"
"nek fix ára van, aminek 1€ per munkanap lehet meghatározva mint "
"ledolgozott_napok.WORK100.napok_száma."
#. module: hr_payroll
#: view:hr.salary.rule:0
msgid "Search Salary Rule"
msgstr ""
msgstr "Fizetési szabály keresése"
#. module: hr_payroll
#: field:hr.payslip,employee_id:0
@@ -402,7 +426,7 @@ msgstr "Alkalmazott"
#. module: hr_payroll
#: selection:hr.contract,schedule_pay:0
msgid "Semi-annually"
msgstr ""
msgstr "Félév(enkénti)"
#. module: hr_payroll
#: report:paylip.details:0
@@ -419,28 +443,28 @@ msgstr "Fizetési jegyzék kötegek keresése"
#: field:hr.payslip.line,amount_percentage_base:0
#: field:hr.salary.rule,amount_percentage_base:0
msgid "Percentage based on"
msgstr ""
msgstr "Százalék ez alapján"
#. module: hr_payroll
#: code:addons/hr_payroll/hr_payroll.py:85
#, python-format
msgid "%s (copy)"
msgstr ""
msgstr "%s (másolat)"
#. module: hr_payroll
#: help:hr.config.settings,module_hr_payroll_account:0
msgid "Create journal entries from payslips"
msgstr ""
msgstr "Napló belyegyzések létrehozása fizetési jegyzékekből"
#. module: hr_payroll
#: field:hr.payslip,paid:0
msgid "Made Payment Order ? "
msgstr ""
msgstr "Fizetési meghagyás létrehozása? "
#. module: hr_payroll
#: report:contribution.register.lines:0
msgid "PaySlip Lines by Contribution Register"
msgstr ""
msgstr "Fizetési jegyzék sorok Hozzájárulási iktatás szerint"
#. module: hr_payroll
#: view:hr.payslip:0
@@ -453,12 +477,12 @@ msgstr "Fizetési jegyzék sorai"
#. module: hr_payroll
#: view:hr.payslip:0
msgid "Miscellaneous"
msgstr ""
msgstr "Egyebek"
#. module: hr_payroll
#: selection:hr.payslip,state:0
msgid "Rejected"
msgstr ""
msgstr "Elutasított"
#. module: hr_payroll
#: view:hr.payroll.structure:0
@@ -467,25 +491,25 @@ msgstr ""
#: model:ir.actions.act_window,name:hr_payroll.action_salary_rule_form
#: model:ir.ui.menu,name:hr_payroll.menu_action_hr_salary_rule_form
msgid "Salary Rules"
msgstr ""
msgstr "Fizetési szabályok"
#. module: hr_payroll
#: code:addons/hr_payroll/hr_payroll.py:336
#, python-format
msgid "Refund: "
msgstr ""
msgstr "Visszatérítés: "
#. module: hr_payroll
#: model:ir.model,name:hr_payroll.model_payslip_lines_contribution_register
msgid "PaySlip Lines by Contribution Registers"
msgstr ""
msgstr "Fizetési jegyzék sorai A Hozzájárulási bejegyzés szerint"
#. module: hr_payroll
#: view:hr.payslip:0
#: selection:hr.payslip,state:0
#: view:hr.payslip.run:0
msgid "Done"
msgstr ""
msgstr "Kész"
#. module: hr_payroll
#: field:hr.payslip.line,appears_on_payslip:0
@@ -505,7 +529,7 @@ msgstr "Fix összeg"
#: code:addons/hr_payroll/hr_payroll.py:365
#, python-format
msgid "Warning!"
msgstr ""
msgstr "Figyelem!"
#. module: hr_payroll
#: help:hr.payslip.line,active:0
@@ -514,12 +538,14 @@ msgid ""
"If the active field is set to false, it will allow you to hide the salary "
"rule without removing it."
msgstr ""
"Ha az aktív mező hamisra állított, akkor lehetővé teszi a fizetési szabály "
"elrejtését annak eltávolítása nélkül."
#. module: hr_payroll
#: field:hr.payslip,state:0
#: field:hr.payslip.run,state:0
msgid "Status"
msgstr ""
msgstr "Állapot"
#. module: hr_payroll
#: view:hr.payslip:0
@@ -541,6 +567,8 @@ msgstr "Fizetési jegyzék sor"
#: help:hr.salary.rule,register_id:0
msgid "Eventual third party involved in the salary payment of the employees."
msgstr ""
"Esetleg harmadik személy is be van vonva ennek az alkalmazottnak a fizetés "
"kifizetéséhez."
#. module: hr_payroll
#: field:hr.payslip.worked_days,number_of_hours:0
@@ -556,13 +584,13 @@ msgstr "Fizetési jegyzék köteg"
#: field:hr.payslip.line,condition_range_min:0
#: field:hr.salary.rule,condition_range_min:0
msgid "Minimum Range"
msgstr ""
msgstr "Minimum tartomány"
#. module: hr_payroll
#: field:hr.payslip.line,child_ids:0
#: field:hr.salary.rule,child_ids:0
msgid "Child Salary Rule"
msgstr ""
msgstr "Alárendelt fizetési szabály"
#. module: hr_payroll
#: report:contribution.register.lines:0
@@ -578,7 +606,7 @@ msgstr "Dátumig"
#: selection:hr.payslip.line,condition_select:0
#: selection:hr.salary.rule,condition_select:0
msgid "Range"
msgstr ""
msgstr "Tartomány"
#. module: hr_payroll
#: model:ir.actions.act_window,name:hr_payroll.action_view_hr_payroll_structure_tree
@@ -589,7 +617,7 @@ msgstr "Bérszerkezet hierarchia"
#. module: hr_payroll
#: help:hr.employee,total_wage:0
msgid "Sum of all current contract's wage of employee."
msgstr ""
msgstr "Az összes jelenleg szerződött alkalmazott fizetésének összege."
#. module: hr_payroll
#: view:hr.payslip:0
@@ -612,7 +640,7 @@ msgstr "Fizetési jegyzék számításának részletei"
#: help:hr.payslip.line,appears_on_payslip:0
#: help:hr.salary.rule,appears_on_payslip:0
msgid "Used to display the salary rule on payslip."
msgstr ""
msgstr "A fizetési szabály fizetési jegyzéken történő kijelzésére használt."
#. module: hr_payroll
#: model:ir.model,name:hr_payroll.model_hr_payslip_input
@@ -624,24 +652,25 @@ msgstr "Fizetési jegyzék adatbevitel"
#: model:ir.actions.act_window,name:hr_payroll.action_hr_salary_rule_category
#: model:ir.ui.menu,name:hr_payroll.menu_hr_salary_rule_category
msgid "Salary Rule Categories"
msgstr ""
msgstr "Fizetési szabály kategóriák"
#. module: hr_payroll
#: help:hr.payslip.input,contract_id:0
#: help:hr.payslip.worked_days,contract_id:0
msgid "The contract for which applied this input"
msgstr ""
msgstr "A szerződés amire ezt a bevitelt használja"
#. module: hr_payroll
#: view:hr.salary.rule:0
msgid "Computation"
msgstr ""
msgstr "Számítás"
#. module: hr_payroll
#: code:addons/hr_payroll/hr_payroll.py:894
#, python-format
msgid "Wrong range condition defined for salary rule %s (%s)."
msgstr ""
"Rosszúl lett a tartomány meghatározva ehhez a fizetési szabályhoz %s (%s)."
#. module: hr_payroll
#: help:hr.payslip.input,amount:0
@@ -650,6 +679,10 @@ msgid ""
"basic salary for per product can defined in expression like result = "
"inputs.SALEURO.amount * contract.wage*0.01."
msgstr ""
"Egy számításhoz használja. Például, egy szabály az értékesítéshez 1% "
"jutalékot ad az alap eladásra egy terméknél akkor a ennek a kifejezésnek a "
"végeredménye = inputs.SALEURO.amount * contract.wage*0.01. - "
"bevitt.ELADÁSIEURO.összeg * szerződés.fizetés*0.01."
#. module: hr_payroll
#: view:hr.payslip.line:0
@@ -668,7 +701,7 @@ msgstr "Kategória"
#. module: hr_payroll
#: view:hr.salary.rule:0
msgid "Company Contribution"
msgstr ""
msgstr "Vállalati hozzájárulás"
#. module: hr_payroll
#: help:hr.payslip.run,credit_note:0
@@ -676,12 +709,16 @@ msgid ""
"If its checked, indicates that all payslips generated from here are refund "
"payslips."
msgstr ""
"Ha be van jelölve, mutatja, hogy az összes innen létrehozott fizetési "
"jegyzék az visszatérítési fizetési jegyzék."
#. module: hr_payroll
#: code:addons/hr_payroll/hr_payroll.py:871
#, python-format
msgid "Wrong percentage base or quantity defined for salary rule %s (%s)."
msgstr ""
"Nem megfelelően lett a százalék alapja vagy mennyisége meghatározva ennek a "
"fizetési szabálynak %s (%s)."
#. module: hr_payroll
#: model:ir.actions.act_window,name:hr_payroll.action_view_hr_payroll_structure_list_form
@@ -715,17 +752,17 @@ msgstr "Dátumtól"
#. module: hr_payroll
#: view:hr.payslip.run:0
msgid "Done Payslip Batches"
msgstr ""
msgstr "Elvégzett fizetési jegyzék kötegek"
#. module: hr_payroll
#: report:paylip.details:0
msgid "Payslip Lines by Contribution Register:"
msgstr ""
msgstr "Fizetési jegyzék sorai Hozzájárulási iktatás szerint:"
#. module: hr_payroll
#: view:hr.salary.rule:0
msgid "Conditions"
msgstr ""
msgstr "Feltételek"
#. module: hr_payroll
#: field:hr.payslip.line,amount_percentage:0
@@ -740,6 +777,8 @@ msgstr "Százalék (%)"
#, python-format
msgid "Wrong quantity defined for salary rule %s (%s)."
msgstr ""
"Nem megfelelően lett a mennyisége meghatározva ennek a fizetési szabálynak "
"%s (%s)."
#. module: hr_payroll
#: view:hr.payslip:0
@@ -759,7 +798,7 @@ msgstr "Alkalmazott fizetési jegyzéke"
#. module: hr_payroll
#: field:hr.payslip.line,salary_rule_id:0
msgid "Rule"
msgstr ""
msgstr "Szabály"
#. module: hr_payroll
#: model:ir.actions.report.xml,name:hr_payroll.payslip_details_report
@@ -780,19 +819,19 @@ msgstr "Aktív"
#. module: hr_payroll
#: view:hr.salary.rule:0
msgid "Child Rules"
msgstr ""
msgstr "Alárendelt szabályok"
#. module: hr_payroll
#: help:hr.payslip.line,condition_range_min:0
#: help:hr.salary.rule,condition_range_min:0
msgid "The minimum amount, applied for this rule."
msgstr ""
msgstr "A minimum mennyiség, amit erre a szabályra alkalmaz."
#. module: hr_payroll
#: selection:hr.payslip.line,condition_select:0
#: selection:hr.salary.rule,condition_select:0
msgid "Python Expression"
msgstr ""
msgstr "Python kifejezés"
#. module: hr_payroll
#: report:paylip.details:0
@@ -825,6 +864,7 @@ msgstr "Szerződés"
#, python-format
msgid "You must select employee(s) to generate payslip(s)."
msgstr ""
"Alkalmazotta(ka)t kell kiválasztani a fizetési jegyzék(ek) generálásához."
#. module: hr_payroll
#: report:paylip.details:0
@@ -835,13 +875,13 @@ msgstr "Követel"
#. module: hr_payroll
#: field:hr.contract,schedule_pay:0
msgid "Scheduled Pay"
msgstr ""
msgstr "Tervezett fizetés"
#. module: hr_payroll
#: field:hr.payslip.line,condition_python:0
#: field:hr.salary.rule,condition_python:0
msgid "Python Condition"
msgstr ""
msgstr "Python körülmény"
#. module: hr_payroll
#: view:hr.contribution.register:0
@@ -852,13 +892,13 @@ msgstr "Közreműködés"
#: code:addons/hr_payroll/hr_payroll.py:346
#, python-format
msgid "Refund Payslip"
msgstr ""
msgstr "Visszatérítési fizetési jegyzék"
#. module: hr_payroll
#: field:hr.rule.input,input_id:0
#: model:ir.model,name:hr_payroll.model_hr_rule_input
msgid "Salary Rule Input"
msgstr ""
msgstr "Fizetés szabály bevitel"
#. module: hr_payroll
#: field:hr.payslip.line,quantity:0
@@ -869,7 +909,7 @@ msgstr "Mennyiség"
#. module: hr_payroll
#: view:hr.payslip:0
msgid "Refund"
msgstr ""
msgstr "Visszatérítés"
#. module: hr_payroll
#: report:contribution.register.lines:0
@@ -890,7 +930,7 @@ msgstr "Kód"
#: field:hr.salary.rule,amount_python_compute:0
#: selection:hr.salary.rule,amount_select:0
msgid "Python Code"
msgstr ""
msgstr "Python kód"
#. module: hr_payroll
#: field:hr.payslip.input,sequence:0
@@ -903,17 +943,17 @@ msgstr "Sorszám"
#. module: hr_payroll
#: view:hr.payslip:0
msgid "Period"
msgstr ""
msgstr "Időszak"
#. module: hr_payroll
#: view:hr.payslip.run:0
msgid "Period from"
msgstr ""
msgstr "Kezdő időszak"
#. module: hr_payroll
#: view:hr.salary.rule:0
msgid "General"
msgstr ""
msgstr "Általános"
#. module: hr_payroll
#: code:addons/hr_payroll/hr_payroll.py:669
@@ -924,7 +964,7 @@ msgstr "%s fizetési jegyzéke, időszak: %s"
#. module: hr_payroll
#: model:ir.model,name:hr_payroll.model_hr_payslip_employees
msgid "Generate payslips for all selected employees"
msgstr ""
msgstr "Fizetési jegyzék létrehozása az összes kijelölt alkalmazottnak"
#. module: hr_payroll
#: field:hr.contract,struct_id:0
@@ -959,27 +999,33 @@ msgid ""
"mandatory anymore and thus the rules applied will be all the rules set on "
"the structure of all contracts of the employee valid for the chosen period"
msgstr ""
"Szabályok létrehozása mely erre a fizetési jegyzékre lesz érvényes, a "
"kiválasztott szerződés alapján. Ha a szerződésen ezt a mezőt üresen hagyja, "
"akkor ez a mező nem lesz kötelező többé és így azok a szabályok fognak "
"érvényesülni, melyek az összes szerződés szerkezetére és alkalmazottjára "
"érvényes a kiválasztott időintervallumban"
#. module: hr_payroll
#: field:hr.payroll.structure,children_ids:0
#: field:hr.salary.rule.category,children_ids:0
msgid "Children"
msgstr ""
msgstr "Alárendelt"
#. module: hr_payroll
#: help:hr.payslip,credit_note:0
msgid "Indicates this payslip has a refund of another"
msgstr ""
"Mutatja, hogy ennek a fizetési jegyzéknek visszatérítése van a többiből"
#. module: hr_payroll
#: selection:hr.contract,schedule_pay:0
msgid "Bi-monthly"
msgstr ""
msgstr "Kéthavonta"
#. module: hr_payroll
#: report:paylip.details:0
msgid "Pay Slip Details"
msgstr ""
msgstr "Fizetési jegyzék részletei"
#. module: hr_payroll
#: model:ir.actions.act_window,name:hr_payroll.action_view_hr_payslip_form
@@ -990,7 +1036,7 @@ msgstr "Fizetési jegyzékek"
#. module: hr_payroll
#: model:ir.model,name:hr_payroll.model_hr_config_settings
msgid "hr.config.settings"
msgstr ""
msgstr "hr.config.settings"
#. module: hr_payroll
#: view:hr.payslip.line:0
@@ -998,12 +1044,12 @@ msgstr ""
#: field:hr.salary.rule,register_id:0
#: model:ir.model,name:hr_payroll.model_hr_contribution_register
msgid "Contribution Register"
msgstr ""
msgstr "Hozzájárulás iktatás"
#. module: hr_payroll
#: view:payslip.lines.contribution.register:0
msgid "Print"
msgstr ""
msgstr "Nyomtatás"
#. module: hr_payroll
#: view:hr.payslip.line:0
@@ -1046,14 +1092,14 @@ msgstr "Leírás"
#. module: hr_payroll
#: field:hr.employee,total_wage:0
msgid "Total Basic Salary"
msgstr ""
msgstr "Összes alap fizetés"
#. module: hr_payroll
#: view:hr.contribution.register:0
#: model:ir.actions.act_window,name:hr_payroll.action_contribution_register_form
#: model:ir.ui.menu,name:hr_payroll.menu_action_hr_contribution_register_form
msgid "Contribution Registers"
msgstr ""
msgstr "Hozzájárulások iktatása"
#. module: hr_payroll
#: model:ir.ui.menu,name:hr_payroll.menu_hr_payroll_reporting
@@ -1065,13 +1111,14 @@ msgstr "Bérszámfejtés"
#. module: hr_payroll
#: model:ir.actions.report.xml,name:hr_payroll.contribution_register
msgid "PaySlip Lines By Conribution Register"
msgstr ""
msgstr "Fizetési jegyzék a Hozzájárulások iktatása szerint"
#. module: hr_payroll
#: code:addons/hr_payroll/hr_payroll.py:365
#, python-format
msgid "You cannot delete a payslip which is not draft or cancelled!"
msgstr ""
"Nem tud olyan fizetési jegyzéket törölni mely nem tervezet vagy visszavont!"
#. module: hr_payroll
#: report:paylip.details:0
@@ -1088,7 +1135,7 @@ msgstr "Fizetési jegyzék ledolgozott napjai"
#. module: hr_payroll
#: view:hr.salary.rule.category:0
msgid "Salary Categories"
msgstr ""
msgstr "Fizetési kategóriák"
#. module: hr_payroll
#: report:contribution.register.lines:0
@@ -1107,7 +1154,7 @@ msgstr "Név"
#: help:hr.payslip.line,amount_percentage:0
#: help:hr.salary.rule,amount_percentage:0
msgid "For example, enter 50.0 to apply a percentage of 50%"
msgstr ""
msgstr "Például, az 50.0 beírása 50% -ot jelent"
#. module: hr_payroll
#: view:hr.payroll.structure:0
@@ -1143,6 +1190,13 @@ msgid ""
"* If the payslip is confirmed then status is set to 'Done'. \n"
"* When user cancel payslip the status is 'Rejected'."
msgstr ""
"* Fizetési jegyzék létrehozásakor annak állapota 'Tervezet'. \n"
"* Ha a fizetési jegyzék ellenőrzés alatt van akkor annak az állapota "
"'Várakozó'. \n"
"* Ha a fizetési jegyzék visszaigazolt akkor annak állapota 'Elvégezve'. "
" \n"
"* amikor egy fizetési jegyzéket visszavon akkor annak az állapota "
"'Elutasítva'."
#. module: hr_payroll
#: help:hr.payslip.line,condition_range:0
@@ -1152,33 +1206,36 @@ msgid ""
"but you can also use categories code fields in lowercase as a variable names "
"(hra, ma, lta, etc.) and the variable basic."
msgstr ""
"Ez a % mező értékeinek a számítására használt; általánosan ez van alapban, "
"de tud kategorizált kód mezőket is használni kisbetűvel mint változó nevek "
"(hra, ma, lta, stb.) és az alap változókat."
#. module: hr_payroll
#: selection:hr.contract,schedule_pay:0
msgid "Annually"
msgstr ""
msgstr "Évente"
#. module: hr_payroll
#: field:hr.payslip,input_line_ids:0
msgid "Payslip Inputs"
msgstr ""
msgstr "Fizetési jegyzék bevitel"
#. module: hr_payroll
#: view:hr.payslip:0
msgid "Other Inputs"
msgstr ""
msgstr "Egyéb bevitel"
#. module: hr_payroll
#: model:ir.actions.act_window,name:hr_payroll.action_hr_salary_rule_category_tree_view
#: model:ir.ui.menu,name:hr_payroll.menu_hr_salary_rule_category_tree_view
msgid "Salary Rule Categories Hierarchy"
msgstr ""
msgstr "Fizetési szabály kategóriák rangsora"
#. module: hr_payroll
#: code:addons/hr_payroll/hr_payroll.py:877
#, python-format
msgid "Wrong python code defined for salary rule %s (%s)."
msgstr ""
msgstr "Téves python kód meghatározás erre a fizetési szabályra %s (%s)."
#. module: hr_payroll
#: report:contribution.register.lines:0
@@ -1196,58 +1253,59 @@ msgstr "Bér kiszámítása"
#. module: hr_payroll
#: view:hr.payslip:0
msgid "Details By Salary Rule Category"
msgstr ""
msgstr "Részletek a fizetési szabály kategóriánként"
#. module: hr_payroll
#: help:hr.payslip.input,code:0
#: help:hr.payslip.worked_days,code:0
#: help:hr.rule.input,code:0
msgid "The code that can be used in the salary rules"
msgstr ""
msgstr "A kód ami használható a fizetési szabályokra"
#. module: hr_payroll
#: code:addons/hr_payroll/hr_payroll.py:900
#, python-format
msgid "Wrong python condition defined for salary rule %s (%s)."
msgstr ""
"Téves python feltétel meghatározás erre a fizetési szabályra %s (%s)."
#. module: hr_payroll
#: view:hr.payslip.run:0
#: model:ir.actions.act_window,name:hr_payroll.action_hr_payslip_by_employees
msgid "Generate Payslips"
msgstr ""
msgstr "Fizetési jegyzék generálás"
#. module: hr_payroll
#: view:hr.payslip.line:0
msgid "Search Payslip Lines"
msgstr ""
msgstr "Fizetési jegyzék sorok keresése"
#. module: hr_payroll
#: selection:hr.contract,schedule_pay:0
msgid "Bi-weekly"
msgstr ""
msgstr "Kétheti"
#. module: hr_payroll
#: selection:hr.payslip.line,condition_select:0
#: selection:hr.salary.rule,condition_select:0
msgid "Always True"
msgstr ""
msgstr "Mindíg igaz"
#. module: hr_payroll
#: report:contribution.register.lines:0
msgid "PaySlip Name"
msgstr ""
msgstr "Fizetési jegyzék neve"
#. module: hr_payroll
#: view:hr.payslip:0
msgid "Accounting"
msgstr ""
msgstr "Könyvelés"
#. module: hr_payroll
#: field:hr.payslip.line,condition_range:0
#: field:hr.salary.rule,condition_range:0
msgid "Range Based on"
msgstr ""
msgstr "Tartomány ez alapján"
#~ msgid "Leave Type"
#~ msgstr "Szabadság típusa"
+5 -4
View File
@@ -420,12 +420,13 @@ class hr_applicant(base_stage, osv.Model):
act_window = self.pool.get('ir.actions.act_window')
emp_id = False
for applicant in self.browse(cr, uid, ids, context=context):
address_id = False
address_id = contact_name = False
if applicant.partner_id:
address_id = self.pool.get('res.partner').address_get(cr,uid,[applicant.partner_id.id],['contact'])['contact']
if applicant.job_id:
contact_name = self.pool.get('res.partner').name_get(cr,uid,[applicant.partner_id.id])[0][1]
if applicant.job_id and (applicant.partner_name or contact_name):
applicant.job_id.write({'no_of_recruitment': applicant.job_id.no_of_recruitment - 1})
emp_id = hr_employee.create(cr,uid,{'name': applicant.partner_name or applicant.name,
emp_id = hr_employee.create(cr,uid,{'name': applicant.partner_name or contact_name,
'job_id': applicant.job_id.id,
'address_home_id': address_id,
'department_id': applicant.department_id.id
@@ -433,7 +434,7 @@ class hr_applicant(base_stage, osv.Model):
self.write(cr, uid, [applicant.id], {'emp_id': emp_id}, context=context)
self.case_close(cr, uid, [applicant.id], context)
else:
raise osv.except_osv(_('Warning!'), _('You must define Applied Job for this applicant.'))
raise osv.except_osv(_('Warning!'), _('You must define an Applied Job and a Contact Name for this applicant.'))
action_model, action_id = model_data.get_object_reference(cr, uid, 'hr', 'open_view_employee_list')
dict_act_window = act_window.read(cr, uid, action_id, [])
@@ -10,3 +10,4 @@ access_hr_recruitment_source_hr_officer,hr.recruitment.source,model_hr_recruitme
access_hr_recruitment_source_all,hr.recruitment.source,model_hr_recruitment_source,,1,0,0,0
access_hr_applicant_category,hr.applicant_category,model_hr_applicant_category,,1,1,1,0
access_hr_applicant_category_manager,hr.applicant_category,model_hr_applicant_category,base.group_hr_manager,1,1,1,1
access_crm_meeting_type_hr_officer,crm.meeting.type.officer,base_calendar.model_crm_meeting_type,base.group_hr_user,1,1,1,0
1 id name model_id:id group_id:id perm_read perm_write perm_create perm_unlink
10 access_hr_recruitment_source_all hr.recruitment.source model_hr_recruitment_source 1 0 0 0
11 access_hr_applicant_category hr.applicant_category model_hr_applicant_category 1 1 1 0
12 access_hr_applicant_category_manager hr.applicant_category model_hr_applicant_category base.group_hr_manager 1 1 1 1
13 access_crm_meeting_type_hr_officer crm.meeting.type.officer base_calendar.model_crm_meeting_type base.group_hr_user 1 1 1 0
+2
View File
@@ -69,6 +69,7 @@
<field name="date"/>
<field name="order_line_ids"/>
<filter name='is_mine' string="My Orders" domain="[('user_id','=',uid)]"/>
<filter name='by_users' string="Users" context="{'group_by':'user_id'}"/>
</search>
</field>
</record>
@@ -304,6 +305,7 @@
<field name="arch" type="xml">
<tree string="Orders Tree">
<field name="date"/>
<field name='user_id'/>
<field name="order_line_ids"/>
<field name="state" />
<field name="total" sum="Total"/>
+15 -23
View File
@@ -980,26 +980,6 @@
</field>
</record>
<act_window
context="{'search_default_product_id': [active_id]}"
id="act_product_manufacturing_open"
name="Manufacturing Orders"
view_id="mrp_production_tree_view"
res_model="mrp.production"
src_model="product.product"/>
<act_window
id="action_product_bom_structure"
name="Product BoM Structure"
domain="[('product_id', 'in', active_ids),('bom_id','=',False)]"
context="{'default_product_id': active_id}"
view_type="tree"
view_mode="tree"
view_id="mrp_bom_tree_view"
res_model="mrp.bom"
src_model="product.product"
groups="mrp.group_mrp_user"/>
<!-- Menu for Resource for MRP-->
<record id="mrp_workcenter_action" model="ir.actions.act_window">
@@ -1034,21 +1014,33 @@
id="menu_mrp_production_order_action" name="Order Planning"
parent="menu_mrp_planning" sequence="1"/>
<record id="act_product_mrp_bom_open" model="ir.actions.act_window">
<field name="name">BoM Structure</field>
<field name="context">{'default_product_id': active_id}</field>
<field name="domain">[('product_id', 'in', active_ids),('bom_id','=',False)]</field>
<field name="res_model">mrp.bom</field>
</record>
<record model="ir.actions.act_window" id="product_open_bom">
<field name="context">{'default_product_id': active_id, 'search_default_product_id': active_id}</field>
<field name="name">Bill of Materials</field>
<field name="domain">[('bom_id','=',False)]</field>
<field name="res_model">mrp.bom</field>
</record>
<record id="act_product_mrp_production" model="ir.actions.act_window">
<field name="context">{'search_default_product_id': [active_id]}</field>
<field name="name">Manufacturing Orders</field>
<field name="res_model">mrp.production</field>
<field name="view_id" ref="mrp_production_tree_view"/>
</record>
<record model="ir.ui.view" id="product_form_view_bom_button">
<field name="name">product.product.procurement</field>
<field name="model">product.product</field>
<field name="inherit_id" ref="product.product_normal_form_view"/>
<field name="arch" type="xml">
<xpath expr="//div[@name='buttons']" position="inside">
<button string="Bill of Materials" name="%(product_open_bom)d" type="action"/>
<button string="Bill of Materials" name="%(product_open_bom)d" type="action" attrs="{'invisible':[('type', '=', 'service')]}"/>
<button string="BoM Structure" name="%(act_product_mrp_bom_open)d" type="action" groups="mrp.group_mrp_user" attrs="{'invisible':[('type', '=', 'service')]}"/>
<button string="Manufacturing Orders" name="%(act_product_mrp_production)d" type="action" groups="mrp.group_mrp_user" attrs="{'invisible':[('type', '=', 'service')]}"/>
</xpath>
</field>
</record>
+8
View File
@@ -27,6 +27,14 @@
<li> MS Outlook 2005 or above.</li>
<li> MS .Net Framework 3.5 or above.</li>
</ol>
<p>Outlook plug-in installation:</p>
<ol>
<li>Save the outlook plugin corresponding to your Office version (Office x86 or Office x64).</li>
<li>Double-click on the executable file and install the plugin.</li>
<li>Open Outlook (close it and open it again if it is already closed).</li>
<li>From the Outlook menubar: OpenERP -> Configuration.</li>
<li>Configure your openerp server.</li>
</ol>
</xpath>
<separator string="title" position="attributes">
<attribute name="string"></attribute>
+59
View File
@@ -0,0 +1,59 @@
# Slovenian translation for openobject-addons
# Copyright (c) 2013 Rosetta Contributors and Canonical Ltd 2013
# This file is distributed under the same license as the openobject-addons package.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2013.
#
msgid ""
msgstr ""
"Project-Id-Version: openobject-addons\n"
"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
"POT-Creation-Date: 2012-12-21 17:05+0000\n"
"PO-Revision-Date: 2013-02-24 12:33+0000\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: Slovenian <sl@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: 2013-02-25 05:08+0000\n"
"X-Generator: Launchpad (build 16506)\n"
#. module: portal_event
#: view:event.event:0
msgid "Portal Settings"
msgstr "Nastavitve portala"
#. module: portal_event
#: model:ir.actions.act_window,help:portal_event.action_event_view
msgid "There are no public events."
msgstr "Ni javnih dogodkov"
#. module: portal_event
#: selection:event.event,visibility:0
msgid "Private"
msgstr "Zasebno"
#. module: portal_event
#: model:ir.model,name:portal_event.model_event_event
msgid "Event"
msgstr "Dogodek"
#. module: portal_event
#: model:ir.actions.act_window,name:portal_event.action_event_view
#: model:ir.ui.menu,name:portal_event.portal_company_events
msgid "Events"
msgstr "Dogodki"
#. module: portal_event
#: field:event.event,visibility:0
msgid "Visibility"
msgstr "Vidljivost"
#. module: portal_event
#: help:event.event,visibility:0
msgid "Event's visibility in the portal's contact page"
msgstr "Vidljivost dogodka na kontaktni strani portala"
#. module: portal_event
#: selection:event.event,visibility:0
msgid "Public"
msgstr "Javno"
+5 -3
View File
@@ -312,11 +312,13 @@
<record model="ir.ui.view" id="product_form_view_procurement_button">
<field name="name">product.product.procurement</field>
<field name="model">product.product</field>
<field name="inherit_id" ref="product.product_normal_form_view"/>
<field name="inherit_id" ref="stock.view_normal_procurement_locations_form"/>
<field name="arch" type="xml">
<xpath expr="//field[@name='incoming_qty']" position="after">
<button string="⇒ Request Procurement" name="%(act_make_procurement)d" type="action" class="oe_link"/>
</xpath>
<xpath expr="//div[@name='buttons']" position="inside">
<button string="Request Procurement" name="%(act_make_procurement)d" type="action"/>
<button string="Orderpoints" name="%(product_open_orderpoint)d" type="action"/>
<button string="Orderpoints" name="%(product_open_orderpoint)d" type="action" attrs="{'invisible':[('type', '=', 'service')]}"/>
</xpath>
<xpath expr="//field[@name='cost_method']" position="before">
<field name="procure_method" groups="base.group_user"/>
+5 -1
View File
@@ -372,7 +372,11 @@
</header>
<sheet string="Task">
<h1>
<field name="name" placeholder="Task summary..."/>
<field name="name" placeholder="Task summary..." class="oe_inline"/>
<field name="kanban_state" invisible='1'/>
<button name="set_kanban_state_done" help="In Progress" attrs="{'invisible': [('kanban_state', 'in', ['done','blocked'])]}" type="object" icon="gtk-normal" class="oe_link oe_right"/>
<button name="set_kanban_state_blocked" help="Ready for Next Stage" attrs="{'invisible': [('kanban_state', 'in', ['normal','blocked'])]}" type="object" icon="gtk-yes" class="oe_link oe_right"/>
<button name="set_kanban_state_normal" help="Blocked" attrs="{'invisible': [('kanban_state', 'in', ['done','normal'])]}" type="object" icon="gtk-no" class="oe_link oe_right"/>
</h1>
<group>
<group>
+1 -1
View File
@@ -34,7 +34,7 @@ class project_configuration(osv.osv_memory):
This installs the module project_mrp."""),
'module_pad': fields.boolean("Use integrated collaborative note pads on task",
help="""Lets the company customize which Pad installation should be used to link to new pads
(by default, http://ietherpad.com/).
(for example: http://ietherpad.com/).
This installs the module pad."""),
'module_project_timesheet': fields.boolean("Record timesheet lines per tasks",
help="""This allows you to transfer the entries under tasks defined for Project Management to
@@ -21,3 +21,4 @@ access_project_task_history_cumulative,project.task.history project,project.mode
access_resource_calendar,project.resource_calendar manager,resource.model_resource_calendar,project.group_project_manager,1,0,0,0
access_project_category,project.project_category,model_project_category,,1,0,0,0
access_project_category_manager,project.project_category,model_project_category,project.group_project_manager,1,1,1,1
access_mail_alias,mail.alias,mail.model_mail_alias,project.group_project_manager,1,1,1,1
1 id name model_id:id group_id:id perm_read perm_write perm_create perm_unlink
21 access_resource_calendar project.resource_calendar manager resource.model_resource_calendar project.group_project_manager 1 0 0 0
22 access_project_category project.project_category model_project_category 1 0 0 0
23 access_project_category_manager project.project_category model_project_category project.group_project_manager 1 1 1 1
24 access_mail_alias mail.alias mail.model_mail_alias project.group_project_manager 1 1 1 1
+7 -1
View File
@@ -68,7 +68,13 @@
</header>
<sheet string="Issue">
<label for="name" class="oe_edit_only"/>
<h1><field name="name"/></h1>
<h1>
<field name="name" class="oe_inline"/>
<field name="kanban_state" invisible='1'/>
<button name="set_kanban_state_done" help="In Progress" attrs="{'invisible': [('kanban_state', 'in', ['done','blocked'])]}" type="object" icon="gtk-normal" class="oe_link oe_right"/>
<button name="set_kanban_state_blocked" help="Ready for Next Stage" attrs="{'invisible': [('kanban_state', 'in', ['normal','blocked'])]}" type="object" icon="gtk-yes" class="oe_link oe_right"/>
<button name="set_kanban_state_normal" help="Blocked" attrs="{'invisible': [('kanban_state', 'in', ['done','normal'])]}" type="object" icon="gtk-no" class="oe_link oe_right"/>
</h1>
<group>
<group groups="base.group_user">
<field name="user_id"/>
+11 -13
View File
@@ -334,8 +334,8 @@
<field name="name">Quotations</field>
<field name="type">ir.actions.act_window</field>
<field name="res_model">purchase.order</field>
<field name="context">{'search_default_draft': 1, 'search_default_to_approve': 1}</field>
<field name="domain">[('state','in',('draft','sent','confirmed'))]</field>
<field name="context">{}</field>
<field name="domain">[('state','in',('draft','sent','cancel'))]</field>
<field name="view_mode">tree,form,graph,calendar</field>
<field name="search_view_id" ref="view_purchase_order_filter"/>
<field name="help" type="html">
@@ -492,15 +492,6 @@
</field>
</record>
<act_window
context="{'search_default_product_id': [active_id], 'default_product_id': active_id}"
id="action_purchase_line_product_tree"
name="Purchases"
res_model="purchase.order.line"
src_model="product.product"
groups="purchase.group_purchase_user"/>
<record id="purchase_line_form_action2" model="ir.actions.act_window">
<field name="name">On Purchase Order Lines</field>
<field name="type">ir.actions.act_window</field>
@@ -613,12 +604,20 @@
</field>
</field>
</record>
<record model="ir.actions.act_window" id="action_purchase_line_product_tree">
<field name="context">{'search_default_product_id': active_id, 'default_product_id': active_id}</field>
<field name="name">Purchases</field>
<field name="res_model">purchase.order.line</field>
<field name="view_id" ref="purchase_order_line_tree"/>
</record>
<record id="view_product_account_purchase_ok_form" model="ir.ui.view">
<field name="name">product.account.purchase.ok.form.inherit</field>
<field name="model">product.product</field>
<field name="inherit_id" ref="account.product_normal_form_view"/>
<field name="arch" type="xml">
<xpath expr="//div[@name='buttons']" position="inside">
<button string="Purchases" name="%(action_purchase_line_product_tree)d" type="action" groups="purchase.group_purchase_user"/>
</xpath>
<xpath expr="//field[@name='property_account_expense']" position="replace" >
<field name="property_account_expense" domain="[('type','&lt;&gt;','view'),('type','&lt;&gt;','consolidation')]" attrs="{'readonly':[('purchase_ok','=',0)]}" groups="account.group_account_user"/>
</xpath>
@@ -627,6 +626,5 @@
</xpath>
</field>
</record>
</data>
</openerp>
+1 -1
View File
@@ -49,7 +49,7 @@
name="view_picking"
string="Incoming Shipments" states="approved"/>
<button type="object" name="invoice_open"
string="Invoices" attrs="{'invisible': [('state', '=', 'draft')]}"/>
string="Invoices" attrs="{'invisible': [('state', 'in', ['draft','sent'])]}"/>
</div>
</xpath>
</field>
+318
View File
@@ -0,0 +1,318 @@
# Mongolian translation for openobject-addons
# Copyright (c) 2013 Rosetta Contributors and Canonical Ltd 2013
# This file is distributed under the same license as the openobject-addons package.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2013.
#
msgid ""
msgstr ""
"Project-Id-Version: openobject-addons\n"
"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
"POT-Creation-Date: 2012-12-21 17:06+0000\n"
"PO-Revision-Date: 2013-02-25 09:32+0000\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: Mongolian <mn@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: 2013-02-26 05:09+0000\n"
"X-Generator: Launchpad (build 16506)\n"
#. module: report_intrastat
#: report:account.invoice.intrastat:0
msgid "Cancelled Invoice"
msgstr "Цуцлагдсан нэхэмжлэл"
#. module: report_intrastat
#: report:account.invoice.intrastat:0
msgid "Total (inclu. taxes):"
msgstr ""
#. module: report_intrastat
#: report:account.invoice.intrastat:0
msgid "Disc. (%)"
msgstr "Хөнгөлөлт. (%)"
#. module: report_intrastat
#: report:account.invoice.intrastat:0
msgid "Supplier Invoice"
msgstr "Нийлүүлэгчийн Нэхэмжлэл"
#. module: report_intrastat
#: report:account.invoice.intrastat:0
msgid "Unit Price"
msgstr "Нэгжийн үнэ"
#. module: report_intrastat
#: selection:report.intrastat,type:0
msgid "Import"
msgstr ""
#. module: report_intrastat
#: report:account.invoice.intrastat:0
#: field:report.intrastat.code,description:0
msgid "Description"
msgstr "Тайлбар"
#. module: report_intrastat
#: report:account.invoice.intrastat:0
msgid "VAT :"
msgstr "НӨАТ :"
#. module: report_intrastat
#: report:account.invoice.intrastat:0
msgid "Document"
msgstr ""
#. module: report_intrastat
#: report:account.invoice.intrastat:0
msgid "PRO-FORMA"
msgstr ""
#. module: report_intrastat
#: report:account.invoice.intrastat:0
msgid "Taxes:"
msgstr ""
#. module: report_intrastat
#: selection:report.intrastat,month:0
msgid "March"
msgstr "3-р сар"
#. module: report_intrastat
#: selection:report.intrastat,month:0
msgid "August"
msgstr "8-р сар"
#. module: report_intrastat
#: selection:report.intrastat,month:0
msgid "May"
msgstr "5-р сар"
#. module: report_intrastat
#: field:report.intrastat,type:0
msgid "Type"
msgstr "Төрөл"
#. module: report_intrastat
#: model:ir.actions.report.xml,name:report_intrastat.invoice_intrastat_id
msgid "Invoice Intrastat"
msgstr ""
#. module: report_intrastat
#: report:account.invoice.intrastat:0
msgid "Invoice Date"
msgstr "Нэхэмлэлийн Огноо"
#. module: report_intrastat
#: selection:report.intrastat,month:0
msgid "June"
msgstr "6-р сар"
#. module: report_intrastat
#: report:account.invoice.intrastat:0
msgid "Tel. :"
msgstr "Утас:"
#. module: report_intrastat
#: report:account.invoice.intrastat:0
msgid "Base"
msgstr ""
#. module: report_intrastat
#: selection:report.intrastat,month:0
msgid "January"
msgstr "1-р сар"
#. module: report_intrastat
#: selection:report.intrastat,month:0
msgid "July"
msgstr "7-р сар"
#. module: report_intrastat
#: report:account.invoice.intrastat:0
msgid "Quantity"
msgstr "Тоо хэмжээ"
#. module: report_intrastat
#: report:account.invoice.intrastat:0
msgid "Partner Ref."
msgstr ""
#. module: report_intrastat
#: selection:report.intrastat,month:0
msgid "February"
msgstr "2-р сар"
#. module: report_intrastat
#: selection:report.intrastat,month:0
msgid "October"
msgstr "10-р сар"
#. module: report_intrastat
#: model:ir.model,name:report_intrastat.model_report_intrastat
msgid "Intrastat report"
msgstr ""
#. module: report_intrastat
#: report:account.invoice.intrastat:0
msgid "Invoice"
msgstr "Нэхэмжлэл"
#. module: report_intrastat
#: model:ir.model,name:report_intrastat.model_res_country
msgid "Country"
msgstr "Улс"
#. module: report_intrastat
#: selection:report.intrastat,month:0
msgid "September"
msgstr "9-р сар"
#. module: report_intrastat
#: report:account.invoice.intrastat:0
msgid "Taxes"
msgstr ""
#. module: report_intrastat
#: selection:report.intrastat,month:0
msgid "April"
msgstr "4-р сар"
#. module: report_intrastat
#: report:account.invoice.intrastat:0
msgid "Amount"
msgstr "Дүн"
#. module: report_intrastat
#: view:report.intrastat:0
msgid "Intrastat Data"
msgstr ""
#. module: report_intrastat
#: field:report.intrastat,value:0
msgid "Value"
msgstr ""
#. module: report_intrastat
#: report:account.invoice.intrastat:0
#: model:ir.actions.act_window,name:report_intrastat.action_report_intrastat_tree_all
#: model:ir.ui.menu,name:report_intrastat.menu_report_intrastat_all
msgid "Intrastat"
msgstr ""
#. module: report_intrastat
#: report:account.invoice.intrastat:0
msgid "Draft Invoice"
msgstr "Ноорог нэхэмжлэл"
#. module: report_intrastat
#: field:report.intrastat,supply_units:0
msgid "Supply Units"
msgstr ""
#. module: report_intrastat
#: selection:report.intrastat,month:0
msgid "November"
msgstr "11-р сар"
#. module: report_intrastat
#: model:ir.model,name:report_intrastat.model_report_intrastat_code
#: field:product.template,intrastat_id:0
#: field:report.intrastat,intrastat_id:0
#: view:report.intrastat.code:0
msgid "Intrastat code"
msgstr ""
#. module: report_intrastat
#: report:account.invoice.intrastat:0
msgid "Refund"
msgstr ""
#. module: report_intrastat
#: field:report.intrastat,ref:0
msgid "Source document"
msgstr ""
#. module: report_intrastat
#: report:account.invoice.intrastat:0
msgid "Fiscal Position Remark :"
msgstr ""
#. module: report_intrastat
#: report:account.invoice.intrastat:0
#: field:report.intrastat,weight:0
msgid "Weight"
msgstr "Жин"
#. module: report_intrastat
#: model:ir.model,name:report_intrastat.model_product_template
msgid "Product Template"
msgstr "Барааны үлгэр"
#. module: report_intrastat
#: field:res.country,intrastat:0
msgid "Intrastat member"
msgstr ""
#. module: report_intrastat
#: selection:report.intrastat,month:0
msgid "December"
msgstr "12-р сар"
#. module: report_intrastat
#: report:account.invoice.intrastat:0
msgid "Tax"
msgstr "Татвар"
#. module: report_intrastat
#: field:report.intrastat,code:0
msgid "Country code"
msgstr "Улсын код"
#. module: report_intrastat
#: field:report.intrastat,month:0
msgid "Month"
msgstr "Сар"
#. module: report_intrastat
#: field:report.intrastat,currency_id:0
msgid "Currency"
msgstr "Валют"
#. module: report_intrastat
#: selection:report.intrastat,type:0
msgid "Export"
msgstr ""
#. module: report_intrastat
#: report:account.invoice.intrastat:0
msgid "Fax :"
msgstr "Факс :"
#. module: report_intrastat
#: field:report.intrastat,name:0
msgid "Year"
msgstr "Жил"
#. module: report_intrastat
#: report:account.invoice.intrastat:0
msgid "Supplier Refund"
msgstr ""
#. module: report_intrastat
#: report:account.invoice.intrastat:0
msgid "Total (excl. taxes):"
msgstr ""
#. module: report_intrastat
#: report:account.invoice.intrastat:0
msgid "Price"
msgstr "Үнэ"
#. module: report_intrastat
#: model:ir.actions.act_window,name:report_intrastat.action_report_intrastat_code_tree
#: model:ir.ui.menu,name:report_intrastat.menu_report_intrastat_code
#: view:report.intrastat.code:0
#: field:report.intrastat.code,name:0
msgid "Intrastat Code"
msgstr ""
+3
View File
@@ -89,6 +89,9 @@ TODO:
'header_view.xml',
'ir_report_view.xml',
],
'demo': [
"report/webkit_report_demo.xml",
],
'installable': True,
'auto_install': False,
'images': ['images/companies_webkit.jpeg','images/header_html.jpeg','images/header_img.jpeg'],
+1 -1
View File
@@ -55,7 +55,7 @@
<body style="border:0; margin: 0;" onload="subst()">
<table class="header" style="border-bottom: 0px solid black; width: 100%">
<tr>
<td>${helper.embed_logo_by_name('camptocamp_logo')|n}</td>
<td>${helper.embed_company_logo()|n}</td>
<td style="text-align:right"> </td>
</tr>
<tr>
+517
View File
@@ -0,0 +1,517 @@
# Slovenian translation for openobject-addons
# Copyright (c) 2013 Rosetta Contributors and Canonical Ltd 2013
# This file is distributed under the same license as the openobject-addons package.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2013.
#
msgid ""
msgstr ""
"Project-Id-Version: openobject-addons\n"
"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
"POT-Creation-Date: 2012-12-21 17:06+0000\n"
"PO-Revision-Date: 2013-02-23 22:08+0000\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: Slovenian <sl@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: 2013-02-24 04:42+0000\n"
"X-Generator: Launchpad (build 16506)\n"
#. module: report_webkit
#: view:ir.actions.report.xml:0
msgid "Webkit Template (used if Report File is not found)"
msgstr ""
#. module: report_webkit
#: selection:ir.header_webkit,format:0
msgid "Tabloid 29 279.4 x 431.8 mm"
msgstr "Tabloid 29 279.4 x 431.8 mm"
#. module: report_webkit
#: selection:ir.header_webkit,format:0
msgid "Ledger 28 431.8 x 279.4 mm"
msgstr "Ledger 28 431.8 x 279.4 mm"
#. module: report_webkit
#: code:addons/report_webkit/webkit_report.py:233
#, python-format
msgid "No header defined for this Webkit report!"
msgstr ""
#. module: report_webkit
#: help:ir.header_img,type:0
msgid "Image type(png,gif,jpeg)"
msgstr ""
#. module: report_webkit
#: help:ir.actions.report.xml,precise_mode:0
msgid ""
"This mode allow more precise element "
" position as each object is printed on a separate HTML. "
" but memory and disk "
"usage is wider"
msgstr ""
#. module: report_webkit
#: selection:ir.header_webkit,format:0
msgid "Executive 4 7.5 x 10 inches, 190.5 x 254 mm"
msgstr "Executive 4 7.5 x 10 inches, 190.5 x 254 mm"
#. module: report_webkit
#: field:ir.header_img,company_id:0
#: field:ir.header_webkit,company_id:0
msgid "Company"
msgstr "Podjetje"
#. module: report_webkit
#: code:addons/report_webkit/webkit_report.py:234
#, python-format
msgid "Please set a header in company settings."
msgstr ""
#. module: report_webkit
#: selection:ir.header_webkit,format:0
msgid "DLE 26 110 x 220 mm"
msgstr "DLE 26 110 x 220 mm"
#. module: report_webkit
#: selection:ir.header_webkit,format:0
msgid "B7 21 88 x 125 mm"
msgstr "B7 21 88 x 125 mm"
#. module: report_webkit
#: view:res.company:0
msgid "Headers"
msgstr "Glave"
#. module: report_webkit
#: help:ir.header_img,name:0
msgid "Name of Image"
msgstr ""
#. module: report_webkit
#: model:ir.actions.act_window,name:report_webkit.action_header_webkit
#: model:ir.ui.menu,name:report_webkit.menu_header_webkit
msgid "Webkit Headers/Footers"
msgstr ""
#. module: report_webkit
#: selection:ir.header_webkit,format:0
msgid "Legal 3 8.5 x 14 inches, 215.9 x 355.6 mm"
msgstr "Legal 3 8.5 x 14 inches, 215.9 x 355.6 mm"
#. module: report_webkit
#: model:ir.model,name:report_webkit.model_ir_header_webkit
msgid "ir.header_webkit"
msgstr "ir.header_webkit"
#. module: report_webkit
#: selection:ir.header_webkit,format:0
msgid "A4 0 210 x 297 mm, 8.26 x 11.69 inches"
msgstr "A4 0 210 x 297 mm, 8.26 x 11.69 inches"
#. module: report_webkit
#: code:addons/report_webkit/webkit_report.py:176
#, python-format
msgid "Webkit error"
msgstr ""
#. module: report_webkit
#: selection:ir.header_webkit,format:0
msgid "B2 17 500 x 707 mm"
msgstr "B2 17 500 x 707 mm"
#. module: report_webkit
#: code:addons/report_webkit/webkit_report.py:260
#: code:addons/report_webkit/webkit_report.py:271
#: code:addons/report_webkit/webkit_report.py:280
#: code:addons/report_webkit/webkit_report.py:293
#: code:addons/report_webkit/webkit_report.py:304
#, python-format
msgid "Webkit render!"
msgstr ""
#. module: report_webkit
#: model:ir.model,name:report_webkit.model_ir_header_img
msgid "ir.header_img"
msgstr "ir.header_img"
#. module: report_webkit
#: field:ir.actions.report.xml,precise_mode:0
msgid "Precise Mode"
msgstr ""
#. module: report_webkit
#: code:addons/report_webkit/webkit_report.py:96
#, python-format
msgid ""
"Please install executable on your system (sudo apt-get install wkhtmltopdf) "
"or download it from here: "
"http://code.google.com/p/wkhtmltopdf/downloads/list and set the path in the "
"ir.config_parameter with the webkit_path key.Minimal version is 0.9.9"
msgstr ""
#. module: report_webkit
#: selection:ir.header_webkit,format:0
msgid "A0 5 841 x 1189 mm"
msgstr "A0 5 841 x 1189 mm"
#. module: report_webkit
#: selection:ir.header_webkit,format:0
msgid "C5E 24 163 x 229 mm"
msgstr "C5E 24 163 x 229 mm"
#. module: report_webkit
#: field:ir.header_img,type:0
msgid "Type"
msgstr "Vrsta"
#. module: report_webkit
#: code:addons/report_webkit/wizard/report_webkit_actions.py:133
#, python-format
msgid "Client Actions Connections"
msgstr ""
#. module: report_webkit
#: field:res.company,header_image:0
msgid "Available Images"
msgstr ""
#. module: report_webkit
#: field:ir.header_webkit,html:0
msgid "webkit header"
msgstr ""
#. module: report_webkit
#: selection:ir.header_webkit,format:0
msgid "B1 15 707 x 1000 mm"
msgstr "B1 15 707 x 1000 mm"
#. module: report_webkit
#: selection:ir.header_webkit,format:0
msgid "A1 6 594 x 841 mm"
msgstr "A1 6 594 x 841 mm"
#. module: report_webkit
#: help:ir.actions.report.xml,webkit_header:0
msgid "The header linked to the report"
msgstr ""
#. module: report_webkit
#: code:addons/report_webkit/webkit_report.py:95
#, python-format
msgid "Wkhtmltopdf library path is not set"
msgstr ""
#. module: report_webkit
#: view:ir.actions.report.xml:0
#: view:res.company:0
msgid "Webkit"
msgstr "Webkit"
#. module: report_webkit
#: help:ir.header_webkit,format:0
msgid "Select Proper Paper size"
msgstr "Izberite velikost papirja"
#. module: report_webkit
#: selection:ir.header_webkit,format:0
msgid "B5 1 176 x 250 mm, 6.93 x 9.84 inches"
msgstr "B5 1 176 x 250 mm, 6.93 x 9.84 inches"
#. module: report_webkit
#: selection:ir.header_webkit,format:0
msgid "A7 11 74 x 105 mm"
msgstr "A7 11 74 x 105 mm"
#. module: report_webkit
#: selection:ir.header_webkit,format:0
msgid "A6 10 105 x 148 mm"
msgstr "A6 10 105 x 148 mm"
#. module: report_webkit
#: help:ir.actions.report.xml,report_webkit_data:0
msgid "This template will be used if the main report file is not found"
msgstr ""
#. module: report_webkit
#: selection:ir.header_webkit,format:0
msgid "Folio 27 210 x 330 mm"
msgstr "Folio 27 210 x 330 mm"
#. module: report_webkit
#: field:ir.header_webkit,margin_top:0
msgid "Top Margin (mm)"
msgstr ""
#. module: report_webkit
#: view:report.webkit.actions:0
msgid "_Ok"
msgstr "_V redu"
#. module: report_webkit
#: help:report.webkit.actions,print_button:0
msgid ""
"Check this to add a Print action for this Report in the sidebar of the "
"corresponding document types"
msgstr ""
#. module: report_webkit
#: selection:ir.header_webkit,format:0
msgid "B3 18 353 x 500 mm"
msgstr "B3 18 353 x 500 mm"
#. module: report_webkit
#: field:ir.actions.report.xml,webkit_header:0
msgid "Webkit Header"
msgstr ""
#. module: report_webkit
#: help:ir.actions.report.xml,webkit_debug:0
msgid "Enable the webkit engine debugger"
msgstr ""
#. module: report_webkit
#: field:ir.header_img,img:0
msgid "Image"
msgstr "Slika"
#. module: report_webkit
#: view:ir.header_img:0
msgid "Header Image"
msgstr "Slika v glavi"
#. module: report_webkit
#: field:res.company,header_webkit:0
msgid "Available html"
msgstr ""
#. module: report_webkit
#: help:report.webkit.actions,open_action:0
msgid ""
"Check this to view the newly added internal print action after creating it "
"(technical view) "
msgstr ""
#. module: report_webkit
#: view:res.company:0
msgid "Images"
msgstr "Slike"
#. module: report_webkit
#: selection:ir.header_webkit,orientation:0
msgid "Portrait"
msgstr "Pokončno"
#. module: report_webkit
#: view:report.webkit.actions:0
msgid "or"
msgstr "ali"
#. module: report_webkit
#: selection:ir.header_webkit,orientation:0
msgid "Landscape"
msgstr "Ležeče"
#. module: report_webkit
#: selection:ir.header_webkit,format:0
msgid "B8 22 62 x 88 mm"
msgstr "B8 22 62 x 88 mm"
#. module: report_webkit
#: code:addons/report_webkit/webkit_report.py:177
#, python-format
msgid "The command 'wkhtmltopdf' failed with error code = %s. Message: %s"
msgstr ""
#. module: report_webkit
#: selection:ir.header_webkit,format:0
msgid "A2 7 420 x 594 mm"
msgstr "A2 7 420 x 594 mm"
#. module: report_webkit
#: field:report.webkit.actions,print_button:0
msgid "Add print button"
msgstr ""
#. module: report_webkit
#: selection:ir.header_webkit,format:0
msgid "A9 13 37 x 52 mm"
msgstr "A9 13 37 x 52 mm"
#. module: report_webkit
#: model:ir.model,name:report_webkit.model_res_company
msgid "Companies"
msgstr "Podjetja"
#. module: report_webkit
#: field:ir.header_webkit,margin_bottom:0
msgid "Bottom Margin (mm)"
msgstr ""
#. module: report_webkit
#: model:ir.model,name:report_webkit.model_report_webkit_actions
msgid "Webkit Actions"
msgstr ""
#. module: report_webkit
#: field:report.webkit.actions,open_action:0
msgid "Open added action"
msgstr ""
#. module: report_webkit
#: field:ir.header_webkit,margin_right:0
msgid "Right Margin (mm)"
msgstr ""
#. module: report_webkit
#: code:addons/report_webkit/webkit_report.py:228
#, python-format
msgid "Webkit report template not found!"
msgstr ""
#. module: report_webkit
#: field:ir.header_webkit,orientation:0
msgid "Orientation"
msgstr "Smer prikaza"
#. module: report_webkit
#: selection:ir.header_webkit,format:0
msgid "B6 20 125 x 176 mm"
msgstr "B6 20 125 x 176 mm"
#. module: report_webkit
#: help:ir.header_webkit,html:0
msgid "Set Webkit Report Header"
msgstr ""
#. module: report_webkit
#: field:ir.header_webkit,format:0
msgid "Paper size"
msgstr "Velikost papirja"
#. module: report_webkit
#: selection:ir.header_webkit,format:0
msgid ":B10 16 31 x 44 mm"
msgstr ":B10 16 31 x 44 mm"
#. module: report_webkit
#: view:report.webkit.actions:0
msgid "Cancel"
msgstr "Prekliči"
#. module: report_webkit
#: field:ir.header_webkit,css:0
msgid "Header CSS"
msgstr ""
#. module: report_webkit
#: selection:ir.header_webkit,format:0
msgid "B4 19 250 x 353 mm"
msgstr "B4 19 250 x 353 mm"
#. module: report_webkit
#: model:ir.actions.act_window,name:report_webkit.action_header_img
#: model:ir.ui.menu,name:report_webkit.menu_header_img
msgid "Webkit Logos"
msgstr ""
#. module: report_webkit
#: code:addons/report_webkit/webkit_report.py:172
#, python-format
msgid "No diagnosis message was provided"
msgstr ""
#. module: report_webkit
#: selection:ir.header_webkit,format:0
msgid "A3 8 297 x 420 mm"
msgstr "A3 8 297 x 420 mm"
#. module: report_webkit
#: field:ir.actions.report.xml,report_webkit_data:0
msgid "Webkit Template"
msgstr ""
#. module: report_webkit
#: field:ir.header_webkit,footer_html:0
msgid "webkit footer"
msgstr ""
#. module: report_webkit
#: field:ir.actions.report.xml,webkit_debug:0
msgid "Webkit debug"
msgstr ""
#. module: report_webkit
#: selection:ir.header_webkit,format:0
msgid "Letter 2 8.5 x 11 inches, 215.9 x 279.4 mm"
msgstr "Letter 2 8.5 x 11 inches, 215.9 x 279.4 mm"
#. module: report_webkit
#: selection:ir.header_webkit,format:0
msgid "B0 14 1000 x 1414 mm"
msgstr "B0 14 1000 x 1414 mm"
#. module: report_webkit
#: field:ir.header_img,name:0
#: field:ir.header_webkit,name:0
msgid "Name"
msgstr "Naziv"
#. module: report_webkit
#: selection:ir.header_webkit,format:0
msgid "A5 9 148 x 210 mm"
msgstr "A5 9 148 x 210 mm"
#. module: report_webkit
#: selection:ir.header_webkit,format:0
msgid "A8 12 52 x 74 mm"
msgstr "A8 12 52 x 74 mm"
#. module: report_webkit
#: model:ir.actions.act_window,name:report_webkit.wizard_ofdo_report_actions
#: view:report.webkit.actions:0
msgid "Add Print Buttons"
msgstr ""
#. module: report_webkit
#: selection:ir.header_webkit,format:0
msgid "Comm10E 25 105 x 241 mm, U.S. Common 10 Envelope"
msgstr "Comm10E 25 105 x 241 mm, U.S. Common 10 Envelope"
#. module: report_webkit
#: field:ir.header_webkit,margin_left:0
msgid "Left Margin (mm)"
msgstr ""
#. module: report_webkit
#: code:addons/report_webkit/webkit_report.py:228
#, python-format
msgid "Error!"
msgstr "Napaka!"
#. module: report_webkit
#: help:ir.header_webkit,footer_html:0
msgid "Set Webkit Report Footer."
msgstr ""
#. module: report_webkit
#: selection:ir.header_webkit,format:0
msgid "B9 23 33 x 62 mm"
msgstr "B9 23 33 x 62 mm"
#. module: report_webkit
#: model:ir.model,name:report_webkit.model_ir_actions_report_xml
msgid "ir.actions.report.xml"
msgstr ""
#. module: report_webkit
#: code:addons/report_webkit/webkit_report.py:174
#, python-format
msgid "The following diagnosis message was provided:\n"
msgstr ""
#. module: report_webkit
#: view:ir.header_webkit:0
msgid "HTML Header"
msgstr ""
+2 -2
View File
@@ -39,13 +39,13 @@ def register_report(name, model, tmpl_path, parser=rml_parse):
"""Register the report into the services"""
name = 'report.%s' % name
if name in openerp.report.interface.report_int._reports:
service = openerp.report.interface.report_int[name]
service = openerp.report.interface.report_int._reports[name]
if isinstance(service, WebKitParser):
#already instantiated properly, skip it
return
if hasattr(service, 'parser'):
parser = service.parser
del openerp.report.interface.report_int[name]
del openerp.report.interface.report_int._reports[name]
WebKitParser(name, model, tmpl_path, parser=parser)
+7 -5
View File
@@ -7,11 +7,13 @@
<field name="arch" type="xml">
<xpath expr="//page[@string='Security']" position="before" >
<page string="Webkit" attrs="{'invisible':[('report_type','!=','webkit')]}">
<field name="webkit_header"/>
<field name="webkit_debug"/>
<field name="precise_mode"/>
<separator string="Webkit Template (used if Report File is not found)" colspan="4"/>
<field name="report_webkit_data" colspan="4" nolabel="1"/>
<group>
<field name="webkit_header"/>
<field name="webkit_debug"/>
<field name="precise_mode"/>
<separator string="Webkit Template (used if Report File is not found)" colspan="4"/>
<field name="report_webkit_data" colspan="4" nolabel="1"/>
</group>
</page>
</xpath>
</field>
@@ -0,0 +1,17 @@
<!DOCTYPE html>
<html>
<head>
<style type="text_css">${css}</style>
</head>
<body>
<h1>List of reports:</h1>
<ul>
% for report in objects:
<li>${report.name}</li>
% endfor
</ul>
<p>If this report does not contain headers, it is because you have a badly compiled wkhtmltopdf. Consider installing
the static version distributed on the official web site: <a href="https://code.google.com/p/wkhtmltopdf/">https://code.google.com/p/wkhtmltopdf/</a>.</p>
</body>
</html>
@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<openerp>
<data>
<report string="Report on reports"
id="webkit_demo_report"
model="ir.actions.report.xml"
name="webkit.ir.actions.report.xml"
file="report_webkit/report/webkit_report_demo.mako"
report_type="webkit"/>
</data>
</openerp>
+8
View File
@@ -39,6 +39,7 @@ class WebKitHelper(object):
self.uid = uid
self.pool = pooler.get_pool(self.cursor.dbname)
self.report_id = report_id
self.context = context
def embed_image(self, type, img, width=0, height=0) :
"Transform a DB image into an embedded HTML image"
@@ -79,6 +80,13 @@ class WebKitHelper(object):
"""Return HTML embedded logo by name"""
img, type = self.get_logo_by_name(name)
return self.embed_image(type, img, width, height)
def embed_company_logo(self, width=0, height=0):
cr, uid, context = self.cursor, self.uid, self.context
my_user = self.pool.get('res.users').browse(cr, uid, uid, context=context)
logo = my_user.company_id.logo_web
return self.embed_image("png", logo, width, height)
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
+16 -9
View File
@@ -538,15 +538,22 @@
<field name="domain">[('invoiced','&lt;&gt;', 1),('state','=','done')]</field>
<field name="filter" eval="True"/>
</record>
<act_window
context="{'search_default_product_id': active_id, 'default_product_id': active_id}"
id="action_order_line_product_tree"
name="Sales Order Lines"
res_model="sale.order.line"
src_model="product.product"
groups="base.group_sale_salesman"/>
<record id="action_order_line_product_tree" model="ir.actions.act_window">
<field name="context">{'search_default_product_id': active_id, 'default_product_id': active_id}</field>
<field name="name">Sales Order Lines</field>
<field name="res_model">sale.order.line</field>
<field name="view_id" ref="view_order_line_tree"/>
</record>
<record model="ir.ui.view" id="product_form_view_sale_order_button">
<field name="name">product.product.sale.order</field>
<field name="model">product.product</field>
<field name="inherit_id" ref="product.product_normal_form_view"/>
<field name="arch" type="xml">
<xpath expr="//div[@name='buttons']" position="inside">
<button string="Sales" name="%(action_order_line_product_tree)d" type="action" groups="base.group_sale_salesman"/>
</xpath>
</field>
</record>
<menuitem id="base.menu_invoiced" name="Invoicing" parent="base.menu_base_partner" sequence="5"/>
<menuitem id="menu_invoicing_sales_order_lines" parent="base.menu_invoiced" action="action_order_line_tree2" sequence="10" groups="sale.group_invoice_so_lines"/>
@@ -78,7 +78,7 @@ class sale_advance_payment_inv(osv.osv_memory):
result = []
for sale in sale_obj.browse(cr, uid, sale_ids, context=context):
val = inv_line_obj.product_id_change(cr, uid, [], wizard.product_id.id,
uom_id=False, partner_id=sale.partner_id.id, fposition_id=sale.fiscal_position.id)
False, partner_id=sale.partner_id.id, fposition_id=sale.fiscal_position.id)
res = val['value']
# determine and check income account
@@ -86,7 +86,7 @@ class sale_advance_payment_inv(osv.osv_memory):
prop = ir_property_obj.get(cr, uid,
'property_account_income_categ', 'product.category', context=context)
prop_id = prop and prop.id or False
account_id = fiscal_obj.map_account(cr, uid, sale.fiscal_position.id or False, prop_id)
account_id = fiscal_obj.map_account(cr, uid, sale.fiscal_position or False, prop_id)
if not account_id:
raise osv.except_osv(_('Configuration Error!'),
_('There is no income account defined as global property.'))
+2
View File
@@ -235,6 +235,8 @@ class product_product(osv.osv):
else:
location_ids = []
wids = warehouse_obj.search(cr, uid, [], context=context)
if not wids:
return res
for w in warehouse_obj.browse(cr, uid, wids, context=context):
location_ids.append(w.lot_stock_id.id)
+12 -5
View File
@@ -68,6 +68,10 @@
<field name="model">product.product</field>
<field name="inherit_id" ref="product.product_normal_form_view"/>
<field name="arch" type="xml">
<xpath expr="//div[@name='buttons']" position="inside">
<button string="Inventory" name="%(action_product_location_tree)d" type="action" attrs="{'invisible':[('type', '=', 'service')]}" groups="stock.group_locations"/>
<button string="Moves" name= "%(act_product_stock_move_open)d" type="action" attrs="{'invisible':[('type', '=', 'service')]}" groups="stock.group_stock_user"/>
</xpath>
<group name="procurement_uom" position="before">
<group name="delay" string="Delays">
<label for="produce_delay" attrs="{'invisible':[('type','=','service')]}"/>
@@ -88,13 +92,16 @@
<label for="qty_available"/>
<div>
<field name="qty_available" class="oe_inline"/>
<button name="%(action_view_change_product_quantity)d" string="update"
type="action"
class="oe_link"/>
<button name="%(action_view_change_product_quantity)d" string="⇒ Update"
type="action"
class="oe_link"/>
</div>
<label for="incoming_qty"/>
<div>
<field name="incoming_qty" class="oe_inline"/>
<field name="outgoing_qty" class="oe_inline"/>
<field name="virtual_available" class="oe_inline"/>
</div>
<field name="outgoing_qty" class="oe_inline"/>
<field name="virtual_available" class="oe_inline"/>
</group>
<group name="lot" groups="stock.group_tracking_lot,stock.group_production_lot" string="Lots">
<field name="track_production" groups="stock.group_production_lot"/>
@@ -2,13 +2,6 @@
<openerp>
<data>
<act_window
context="{'product_id': active_id}"
id="act_stock_product_location_open"
name="Stock by Location"
res_model="stock.location"
src_model="product.product"/>
<act_window
domain="[('tracking_id', '=', active_id)]"
id="act_stock_tracking_lot_2_stock_report_tracklots"
+10 -15
View File
@@ -632,6 +632,16 @@
</tree>
</field>
</record>
<record model="ir.actions.act_window" id="action_product_location_tree">
<field name="context">{'product_id': active_id}</field>
<field name="name">Stock by Location</field>
<field name="res_model">stock.location</field>
</record>
<record id="act_product_stock_move_open" model="ir.actions.act_window">
<field name="context">{'search_default_done': 1,'search_default_product_id': active_id, 'default_product_id': active_id}</field>
<field name="name">Moves</field>
<field name="res_model">stock.move</field>
</record>
<record id="action_location_tree" model="ir.actions.act_window">
<field name="name">Location Structure</field>
<field name="res_model">stock.location</field>
@@ -1562,21 +1572,6 @@
res_model="product.product"
src_model="stock.location"/>
<act_window
context="{'search_default_done': 1,'search_default_product_id': [active_id], 'default_product_id': active_id}"
id="act_product_stock_move_open"
name="Inventory Move"
res_model="stock.move"
src_model="product.product"/>
<act_window
context="{'search_default_future': 1,'search_default_product_id': [active_id], 'default_product_id': active_id}"
domain="[('state','in',('waiting','confirmed','assigned'))]"
id="act_product_stock_move_futur_open"
name="Future Stock Moves"
res_model="stock.move"
src_model="product.product"/>
<record id="ir_act_product_location_open" model="ir.values">
<field name="key2">tree_but_open</field>
<field name="model">stock.location</field>