[MERGE]: Merge with lp:~openerp-dev/openobject-addons/trunk-dev-addons2
bzr revid: rpa@tinyerp.com-20100609103617-gaorwu8xwld6m31z
This commit is contained in:
@@ -23,7 +23,7 @@
|
||||
<report auto="False" id="account_intracom" menu="False" model="account.move.line" name="account.intracom" string="IntraCom"/>
|
||||
|
||||
<report id="account_move_line_list" model="account.tax.code" name="account.tax.code.entries" rml="account/report/account_tax_code.rml" string="All Entries"/>
|
||||
|
||||
|
||||
<report
|
||||
auto="False"
|
||||
id="account_vat_declaration"
|
||||
@@ -32,21 +32,21 @@
|
||||
name="account.vat.declaration"
|
||||
rml="account/report/tax_report.rml"
|
||||
string="Taxes Report"/>
|
||||
|
||||
|
||||
<report id="report_account_voucher_new"
|
||||
string="Print Voucher"
|
||||
string="Voucher"
|
||||
model="account.move"
|
||||
name="account.move.voucher"
|
||||
rml="account/report/voucher_print.rml"
|
||||
auto="False"
|
||||
header = "False"
|
||||
menu="True"/>
|
||||
|
||||
|
||||
<menuitem
|
||||
id="menu_tax_report"
|
||||
name="Taxes"
|
||||
parent="account.menu_finance_generic_reporting" sequence="3"/>
|
||||
|
||||
|
||||
<!-- <wizard
|
||||
id="wizard_vat_declaration"
|
||||
menu="False"
|
||||
|
||||
@@ -988,11 +988,11 @@
|
||||
<field name="partner_id" select='1'/>
|
||||
</group>
|
||||
<newline/>
|
||||
<group expand="1" string="Group By..." colspan="12" col="10">
|
||||
<filter string="Journal" icon="terp-account" domain="[]" context="{'group_by':'journal_id'}"/>
|
||||
<filter string="Period" icon="terp-account" domain="[]" context="{'group_by':'period_id'}"/>
|
||||
<filter string="Type" icon="terp-account" domain="[]" context="{'group_by':'type', 'set_visible':True}"/>
|
||||
<filter string="States" icon="terp-account" domain="[]" context="{'group_by':'state'}"/>
|
||||
<group expand="0" string="Group By..." colspan="12" col="10">
|
||||
<filter string="Journal" icon="terp-folder-orange" domain="[]" context="{'group_by':'journal_id'}"/>
|
||||
<filter string="Period" icon="terp-go-month" domain="[]" context="{'group_by':'period_id'}"/>
|
||||
<filter string="Type" icon="terp-stock_symbol-selection" domain="[]" context="{'group_by':'type', 'set_visible':True}"/>
|
||||
<filter string="States" icon="terp-stock_effects-object-colorize" domain="[]" context="{'group_by':'state'}"/>
|
||||
</group>
|
||||
</search>
|
||||
</field>
|
||||
|
||||
@@ -14,7 +14,7 @@ msgstr ""
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Launchpad-Export-Date: 2010-06-08 03:40+0000\n"
|
||||
"X-Launchpad-Export-Date: 2010-06-09 03:35+0000\n"
|
||||
"X-Generator: Launchpad (build Unknown)\n"
|
||||
|
||||
#. module: account
|
||||
|
||||
@@ -13,7 +13,7 @@ msgstr ""
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Launchpad-Export-Date: 2010-06-08 03:40+0000\n"
|
||||
"X-Launchpad-Export-Date: 2010-06-09 03:35+0000\n"
|
||||
"X-Generator: Launchpad (build Unknown)\n"
|
||||
|
||||
#. module: account
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
</record>
|
||||
|
||||
<menuitem
|
||||
name="Print Central Journal"
|
||||
name="Central Journals"
|
||||
parent="account.menu_generic_report"
|
||||
action="action_account_central_journal"
|
||||
id="menu_account_central_journal"
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
</record>
|
||||
|
||||
<menuitem
|
||||
name="Print General Journal"
|
||||
name="General Journals"
|
||||
parent="account.menu_generic_report"
|
||||
action="action_account_general_journal"
|
||||
id="menu_account_general_journal"
|
||||
|
||||
@@ -33,7 +33,7 @@
|
||||
</record>
|
||||
|
||||
<menuitem
|
||||
name="Print Journal"
|
||||
name="Journals"
|
||||
parent="account.menu_generic_report"
|
||||
action="action_account_print_journal"
|
||||
id="menu_account_print_journal"
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
</record>
|
||||
|
||||
<menuitem
|
||||
name="Print Taxes Report"
|
||||
name="Taxes Report"
|
||||
parent="menu_tax_report"
|
||||
action="action_account_vat_declaration"
|
||||
id="menu_account_vat_declaration"
|
||||
|
||||
@@ -8,13 +8,13 @@ msgstr ""
|
||||
"Project-Id-Version: openobject-addons\n"
|
||||
"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"POT-Creation-Date: 2009-08-28 16:01+0000\n"
|
||||
"PO-Revision-Date: 2009-09-08 15:31+0000\n"
|
||||
"Last-Translator: Makis Nicolaou <mark.nicolaou@gmail.com>\n"
|
||||
"PO-Revision-Date: 2010-06-09 03:00+0000\n"
|
||||
"Last-Translator: Panayiotis Konstantinidis <Unknown>\n"
|
||||
"Language-Team: Greek <el@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: 2010-04-17 04:11+0000\n"
|
||||
"X-Launchpad-Export-Date: 2010-06-09 03:35+0000\n"
|
||||
"X-Generator: Launchpad (build Unknown)\n"
|
||||
|
||||
#. module: account_analytic_analysis
|
||||
@@ -80,7 +80,7 @@ msgstr "Θεωρητικά Έσοδα"
|
||||
#. module: account_analytic_analysis
|
||||
#: constraint:ir.actions.act_window:0
|
||||
msgid "Invalid model name in the action definition."
|
||||
msgstr ""
|
||||
msgstr "Λανθασμένο όνομα μοντέλου στην δήλωση ενέργειας"
|
||||
|
||||
#. module: account_analytic_analysis
|
||||
#: help:account.analytic.account,theorical_margin:0
|
||||
@@ -230,7 +230,7 @@ msgstr "Αναλυτικοί Λογαριασμοί"
|
||||
#. module: account_analytic_analysis
|
||||
#: model:ir.module.module,shortdesc:account_analytic_analysis.module_meta_information
|
||||
msgid "report_account_analytic"
|
||||
msgstr ""
|
||||
msgstr "report_account_analytic"
|
||||
|
||||
#. module: account_analytic_analysis
|
||||
#: field:account.analytic.account,ca_invoiced:0
|
||||
|
||||
@@ -0,0 +1,66 @@
|
||||
# Greek translation for openobject-addons
|
||||
# Copyright (c) 2010 Rosetta Contributors and Canonical Ltd 2010
|
||||
# This file is distributed under the same license as the openobject-addons package.
|
||||
# FIRST AUTHOR <EMAIL@ADDRESS>, 2010.
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: openobject-addons\n"
|
||||
"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"POT-Creation-Date: 2009-11-24 12:50+0000\n"
|
||||
"PO-Revision-Date: 2010-06-09 03:12+0000\n"
|
||||
"Last-Translator: Panayiotis Konstantinidis <Unknown>\n"
|
||||
"Language-Team: Greek <el@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: 2010-06-09 03:36+0000\n"
|
||||
"X-Generator: Launchpad (build Unknown)\n"
|
||||
|
||||
#. module: account_anglo_saxon
|
||||
#: view:product.category:0
|
||||
msgid " Accounting Property"
|
||||
msgstr ""
|
||||
|
||||
#. module: account_anglo_saxon
|
||||
#: model:ir.module.module,description:account_anglo_saxon.module_meta_information
|
||||
msgid ""
|
||||
"This module will support the Anglo-Saxons accounting methodology by \n"
|
||||
" changing the accounting logic with stock transactions. The difference "
|
||||
"between the Anglo-Saxon accounting countries \n"
|
||||
" and the Rhine or also called Continental accounting countries is the "
|
||||
"moment of taking the Cost of Goods Sold versus Cost of Sales. \n"
|
||||
" Anglo-Saxons accounting does take the cost when sales invoice is "
|
||||
"created, Continental accounting will take the cost at he moment the goods "
|
||||
"are shipped.\n"
|
||||
" This module will add this functionality by using a interim account, to "
|
||||
"store the value of shipped goods and will contra book this interim account \n"
|
||||
" when the invoice is created to transfer this amount to the debtor or "
|
||||
"creditor account."
|
||||
msgstr ""
|
||||
|
||||
#. module: account_anglo_saxon
|
||||
#: model:ir.module.module,shortdesc:account_anglo_saxon.module_meta_information
|
||||
msgid "Stock Account"
|
||||
msgstr ""
|
||||
|
||||
#. module: account_anglo_saxon
|
||||
#: constraint:ir.ui.view:0
|
||||
msgid "Invalid XML for View Architecture!"
|
||||
msgstr ""
|
||||
|
||||
#. module: account_anglo_saxon
|
||||
#: field:product.category,property_account_creditor_price_difference_categ:0
|
||||
#: field:product.template,property_account_creditor_price_difference:0
|
||||
msgid "Price Difference Account"
|
||||
msgstr "Λογαριασμός διαφοράς τιμής"
|
||||
|
||||
#. module: account_anglo_saxon
|
||||
#: help:product.category,property_account_creditor_price_difference_categ:0
|
||||
#: help:product.template,property_account_creditor_price_difference:0
|
||||
msgid ""
|
||||
"This account will be used to value price difference between purchase price "
|
||||
"and cost price."
|
||||
msgstr ""
|
||||
"Αυτός ο λογαριασμός θα χρησιμοποιείται να μετράει τη διαφορά μεταξύ τιμής "
|
||||
"αγοράς και τιμή κόστους."
|
||||
@@ -8,13 +8,13 @@ msgstr ""
|
||||
"Project-Id-Version: openobject-addons\n"
|
||||
"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"POT-Creation-Date: 2009-08-28 16:01+0000\n"
|
||||
"PO-Revision-Date: 2009-09-08 14:38+0000\n"
|
||||
"Last-Translator: Makis Nicolaou <mark.nicolaou@gmail.com>\n"
|
||||
"PO-Revision-Date: 2010-06-09 03:21+0000\n"
|
||||
"Last-Translator: Panayiotis Konstantinidis <Unknown>\n"
|
||||
"Language-Team: Greek <el@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: 2010-04-17 04:09+0000\n"
|
||||
"X-Launchpad-Export-Date: 2010-06-09 03:35+0000\n"
|
||||
"X-Generator: Launchpad (build Unknown)\n"
|
||||
|
||||
#. module: account_balance
|
||||
@@ -59,7 +59,7 @@ msgstr "Όνομα Λογαριασμού"
|
||||
#: rml:account.account.balance.landscape:0
|
||||
#: rml:account.balance.account.balance:0
|
||||
msgid "Debit"
|
||||
msgstr ""
|
||||
msgstr "Χρέωση"
|
||||
|
||||
#. module: account_balance
|
||||
#: wizard_button:account.balance.account.balance.report,init,checkyear:0
|
||||
@@ -143,7 +143,7 @@ msgstr "Με ισοζύγιο που δεν είναι ίσο με 0"
|
||||
#: rml:account.account.balance.landscape:0
|
||||
#: rml:account.balance.account.balance:0
|
||||
msgid "Total :"
|
||||
msgstr ""
|
||||
msgstr "Σύνολο:"
|
||||
|
||||
#. module: account_balance
|
||||
#: rml:account.account.balance.landscape:0
|
||||
@@ -196,7 +196,7 @@ msgstr "Εμφάνιση Λογαριασμών"
|
||||
#: rml:account.account.balance.landscape:0
|
||||
#: rml:account.balance.account.balance:0
|
||||
msgid "Credit"
|
||||
msgstr ""
|
||||
msgstr "Πίστωση"
|
||||
|
||||
#. module: account_balance
|
||||
#: wizard_view:account.balance.account.balance.report,backtoinit:0
|
||||
@@ -206,13 +206,13 @@ msgstr "1. Έχετε επιλέξτε περισσότερα απο 3 έτη σ
|
||||
#. module: account_balance
|
||||
#: model:ir.module.module,shortdesc:account_balance.module_meta_information
|
||||
msgid "Accounting and financial management-Compare Accounts"
|
||||
msgstr ""
|
||||
msgstr "Λογιστική και οικονομική διαχείριση - Σύγκριση λογαριασμών"
|
||||
|
||||
#. module: account_balance
|
||||
#: rml:account.account.balance.landscape:0
|
||||
#: rml:account.balance.account.balance:0
|
||||
msgid "Year :"
|
||||
msgstr ""
|
||||
msgstr "Έτος :"
|
||||
|
||||
#. module: account_balance
|
||||
#: wizard_view:account.balance.account.balance.report,backtoinit:0
|
||||
@@ -223,7 +223,7 @@ msgstr "Μπορείτε να επιλέξετε το πολύ 3 έτη. Παρ
|
||||
#: rml:account.account.balance.landscape:0
|
||||
#: rml:account.balance.account.balance:0
|
||||
msgid "Balance"
|
||||
msgstr ""
|
||||
msgstr "Υπόλοιπο"
|
||||
|
||||
#. module: account_balance
|
||||
#: wizard_view:account.balance.account.balance.report,backtoinit:0
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
<!-- Reports on crossovered.budget -->
|
||||
<report id="report_crossovered_budget"
|
||||
string="Print Budgets"
|
||||
string="Budgets"
|
||||
model="crossovered.budget"
|
||||
name="crossovered.budget.report"
|
||||
rml="account_budget/report/crossovered_budget_report.rml"
|
||||
@@ -48,7 +48,7 @@
|
||||
model="account.budget.post"
|
||||
name="account.budget"
|
||||
rml="account_budget/report/budget_report.rml"
|
||||
string="Print Budget"/>
|
||||
string="Budget"/>
|
||||
|
||||
</data>
|
||||
</openerp>
|
||||
|
||||
@@ -0,0 +1,168 @@
|
||||
# Greek translation for openobject-addons
|
||||
# Copyright (c) 2010 Rosetta Contributors and Canonical Ltd 2010
|
||||
# This file is distributed under the same license as the openobject-addons package.
|
||||
# FIRST AUTHOR <EMAIL@ADDRESS>, 2010.
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: openobject-addons\n"
|
||||
"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"POT-Creation-Date: 2009-11-24 13:11+0000\n"
|
||||
"PO-Revision-Date: 2010-06-09 02:57+0000\n"
|
||||
"Last-Translator: Panayiotis Konstantinidis <Unknown>\n"
|
||||
"Language-Team: Greek <el@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: 2010-06-09 03:36+0000\n"
|
||||
"X-Generator: Launchpad (build Unknown)\n"
|
||||
|
||||
#. module: account_coda
|
||||
#: field:account.coda,journal_id:0
|
||||
#: wizard_field:account.coda_import,init,journal_id:0
|
||||
msgid "Bank Journal"
|
||||
msgstr ""
|
||||
|
||||
#. module: account_coda
|
||||
#: constraint:ir.model:0
|
||||
msgid ""
|
||||
"The Object name must start with x_ and not contain any special character !"
|
||||
msgstr ""
|
||||
"Το όνομα του Αντικειμένου πρέπει να ξεκινά με x_ και δεν πρέπει να περιέχει "
|
||||
"ειδικούς χαρακτήρες!"
|
||||
|
||||
#. module: account_coda
|
||||
#: wizard_field:account.coda_import,extraction,note:0
|
||||
msgid "Log"
|
||||
msgstr "Καταγραφή"
|
||||
|
||||
#. module: account_coda
|
||||
#: wizard_button:account.coda_import,extraction,open:0
|
||||
msgid "_Open Statement"
|
||||
msgstr ""
|
||||
|
||||
#. module: account_coda
|
||||
#: model:ir.module.module,shortdesc:account_coda.module_meta_information
|
||||
msgid "Account CODA"
|
||||
msgstr ""
|
||||
|
||||
#. module: account_coda
|
||||
#: field:account.coda,name:0
|
||||
msgid "Coda file"
|
||||
msgstr ""
|
||||
|
||||
#. module: account_coda
|
||||
#: wizard_view:account.coda_import,init:0
|
||||
msgid "Clic on 'New' to select your file :"
|
||||
msgstr "Πατήστε \"Νέο\" για να επιλέξετε το αρχείο σας"
|
||||
|
||||
#. module: account_coda
|
||||
#: model:ir.actions.wizard,name:account_coda.wizard_account_coda_import
|
||||
msgid "Import Coda File"
|
||||
msgstr ""
|
||||
|
||||
#. module: account_coda
|
||||
#: constraint:ir.actions.act_window:0
|
||||
msgid "Invalid model name in the action definition."
|
||||
msgstr "Λανθασμένο όνομα μοντέλου στον ορισμό ενέργειας"
|
||||
|
||||
#. module: account_coda
|
||||
#: field:account.coda,note:0
|
||||
msgid "Import log"
|
||||
msgstr "Εισαγωγή ιστορικού καταγραφής"
|
||||
|
||||
#. module: account_coda
|
||||
#: wizard_field:account.coda_import,init,def_receivable:0
|
||||
msgid "Default receivable Account"
|
||||
msgstr "Προεπιλεγμένος λογαριασμός είσπραξης"
|
||||
|
||||
#. module: account_coda
|
||||
#: model:ir.module.module,description:account_coda.module_meta_information
|
||||
msgid ""
|
||||
"Module provides functionality to import\n"
|
||||
" bank statements from .csv file.\n"
|
||||
" Import coda file wizard is used to import bank statements."
|
||||
msgstr ""
|
||||
|
||||
#. module: account_coda
|
||||
#: wizard_button:account.coda_import,extraction,end:0
|
||||
msgid "_Close"
|
||||
msgstr "_Κλείσιμο"
|
||||
|
||||
#. module: account_coda
|
||||
#: field:account.coda,statement_id:0
|
||||
msgid "Generated Bank Statement"
|
||||
msgstr "Δημιουργημένος τραπεζικός λογαριασμός"
|
||||
|
||||
#. module: account_coda
|
||||
#: view:account.coda:0
|
||||
#: model:ir.actions.act_window,name:account_coda.act_account_payment_account_bank_statement
|
||||
#: model:ir.actions.act_window,name:account_coda.action_account_coda
|
||||
msgid "Coda import"
|
||||
msgstr ""
|
||||
|
||||
#. module: account_coda
|
||||
#: field:account.coda,user_id:0
|
||||
msgid "User"
|
||||
msgstr "Χρήστης"
|
||||
|
||||
#. module: account_coda
|
||||
#: constraint:ir.ui.view:0
|
||||
msgid "Invalid XML for View Architecture!"
|
||||
msgstr "Λανθασμένο XML για αρχιτεκτονική όψης!"
|
||||
|
||||
#. module: account_coda
|
||||
#: model:ir.model,name:account_coda.model_account_coda
|
||||
msgid "coda for an Account"
|
||||
msgstr ""
|
||||
|
||||
#. module: account_coda
|
||||
#: wizard_field:account.coda_import,init,def_payable:0
|
||||
msgid "Default Payable Account"
|
||||
msgstr "Προεπιλεγμένος λογαριασμός πληρωμής"
|
||||
|
||||
#. module: account_coda
|
||||
#: model:ir.ui.menu,name:account_coda.menu_account_coda
|
||||
msgid "Coda Statements"
|
||||
msgstr ""
|
||||
|
||||
#. module: account_coda
|
||||
#: model:ir.ui.menu,name:account_coda.menu_account_coda_wizard
|
||||
msgid "Import Coda Statements"
|
||||
msgstr ""
|
||||
|
||||
#. module: account_coda
|
||||
#: wizard_button:account.coda_import,init,extraction:0
|
||||
msgid "_Ok"
|
||||
msgstr "_Εντάξει"
|
||||
|
||||
#. module: account_coda
|
||||
#: wizard_view:account.coda_import,extraction:0
|
||||
#: wizard_view:account.coda_import,init:0
|
||||
msgid "Import Coda Statement"
|
||||
msgstr ""
|
||||
|
||||
#. module: account_coda
|
||||
#: field:account.bank.statement,coda_id:0
|
||||
msgid "Coda"
|
||||
msgstr ""
|
||||
|
||||
#. module: account_coda
|
||||
#: wizard_view:account.coda_import,extraction:0
|
||||
msgid "Results :"
|
||||
msgstr "Αποτελέσματα :"
|
||||
|
||||
#. module: account_coda
|
||||
#: wizard_field:account.coda_import,init,coda:0
|
||||
msgid "Coda File"
|
||||
msgstr ""
|
||||
|
||||
#. module: account_coda
|
||||
#: field:account.coda,date:0
|
||||
msgid "Import Date"
|
||||
msgstr "Εισαγωγή ημερομηνίας"
|
||||
|
||||
#. module: account_coda
|
||||
#: wizard_view:account.coda_import,init:0
|
||||
msgid "Select your bank journal :"
|
||||
msgstr ""
|
||||
@@ -0,0 +1,167 @@
|
||||
# Estonian translation for openobject-addons
|
||||
# Copyright (c) 2010 Rosetta Contributors and Canonical Ltd 2010
|
||||
# This file is distributed under the same license as the openobject-addons package.
|
||||
# FIRST AUTHOR <EMAIL@ADDRESS>, 2010.
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: openobject-addons\n"
|
||||
"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"POT-Creation-Date: 2009-11-24 13:11+0000\n"
|
||||
"PO-Revision-Date: 2010-06-08 17:34+0000\n"
|
||||
"Last-Translator: lyyser <logard.1961@gmail.com>\n"
|
||||
"Language-Team: Estonian <et@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: 2010-06-09 03:36+0000\n"
|
||||
"X-Generator: Launchpad (build Unknown)\n"
|
||||
|
||||
#. module: account_coda
|
||||
#: field:account.coda,journal_id:0
|
||||
#: wizard_field:account.coda_import,init,journal_id:0
|
||||
msgid "Bank Journal"
|
||||
msgstr ""
|
||||
|
||||
#. module: account_coda
|
||||
#: constraint:ir.model:0
|
||||
msgid ""
|
||||
"The Object name must start with x_ and not contain any special character !"
|
||||
msgstr ""
|
||||
"Objekti nimi peab algama x_'ga ja ei tohi sisaldada ühtegi erisümbolit !"
|
||||
|
||||
#. module: account_coda
|
||||
#: wizard_field:account.coda_import,extraction,note:0
|
||||
msgid "Log"
|
||||
msgstr "Logi"
|
||||
|
||||
#. module: account_coda
|
||||
#: wizard_button:account.coda_import,extraction,open:0
|
||||
msgid "_Open Statement"
|
||||
msgstr ""
|
||||
|
||||
#. module: account_coda
|
||||
#: model:ir.module.module,shortdesc:account_coda.module_meta_information
|
||||
msgid "Account CODA"
|
||||
msgstr ""
|
||||
|
||||
#. module: account_coda
|
||||
#: field:account.coda,name:0
|
||||
msgid "Coda file"
|
||||
msgstr ""
|
||||
|
||||
#. module: account_coda
|
||||
#: wizard_view:account.coda_import,init:0
|
||||
msgid "Clic on 'New' to select your file :"
|
||||
msgstr ""
|
||||
|
||||
#. module: account_coda
|
||||
#: model:ir.actions.wizard,name:account_coda.wizard_account_coda_import
|
||||
msgid "Import Coda File"
|
||||
msgstr ""
|
||||
|
||||
#. module: account_coda
|
||||
#: constraint:ir.actions.act_window:0
|
||||
msgid "Invalid model name in the action definition."
|
||||
msgstr "Vigane mudeli nimi toimingu definitsioonis."
|
||||
|
||||
#. module: account_coda
|
||||
#: field:account.coda,note:0
|
||||
msgid "Import log"
|
||||
msgstr "Impordi logi"
|
||||
|
||||
#. module: account_coda
|
||||
#: wizard_field:account.coda_import,init,def_receivable:0
|
||||
msgid "Default receivable Account"
|
||||
msgstr ""
|
||||
|
||||
#. module: account_coda
|
||||
#: model:ir.module.module,description:account_coda.module_meta_information
|
||||
msgid ""
|
||||
"Module provides functionality to import\n"
|
||||
" bank statements from .csv file.\n"
|
||||
" Import coda file wizard is used to import bank statements."
|
||||
msgstr ""
|
||||
|
||||
#. module: account_coda
|
||||
#: wizard_button:account.coda_import,extraction,end:0
|
||||
msgid "_Close"
|
||||
msgstr "_Sulge"
|
||||
|
||||
#. module: account_coda
|
||||
#: field:account.coda,statement_id:0
|
||||
msgid "Generated Bank Statement"
|
||||
msgstr ""
|
||||
|
||||
#. module: account_coda
|
||||
#: view:account.coda:0
|
||||
#: model:ir.actions.act_window,name:account_coda.act_account_payment_account_bank_statement
|
||||
#: model:ir.actions.act_window,name:account_coda.action_account_coda
|
||||
msgid "Coda import"
|
||||
msgstr ""
|
||||
|
||||
#. module: account_coda
|
||||
#: field:account.coda,user_id:0
|
||||
msgid "User"
|
||||
msgstr "Kasutaja"
|
||||
|
||||
#. module: account_coda
|
||||
#: constraint:ir.ui.view:0
|
||||
msgid "Invalid XML for View Architecture!"
|
||||
msgstr "Vigane XML vaate arhitektuurile!"
|
||||
|
||||
#. module: account_coda
|
||||
#: model:ir.model,name:account_coda.model_account_coda
|
||||
msgid "coda for an Account"
|
||||
msgstr ""
|
||||
|
||||
#. module: account_coda
|
||||
#: wizard_field:account.coda_import,init,def_payable:0
|
||||
msgid "Default Payable Account"
|
||||
msgstr "Vaikimisi on tasulised konto"
|
||||
|
||||
#. module: account_coda
|
||||
#: model:ir.ui.menu,name:account_coda.menu_account_coda
|
||||
msgid "Coda Statements"
|
||||
msgstr ""
|
||||
|
||||
#. module: account_coda
|
||||
#: model:ir.ui.menu,name:account_coda.menu_account_coda_wizard
|
||||
msgid "Import Coda Statements"
|
||||
msgstr ""
|
||||
|
||||
#. module: account_coda
|
||||
#: wizard_button:account.coda_import,init,extraction:0
|
||||
msgid "_Ok"
|
||||
msgstr "_Ok"
|
||||
|
||||
#. module: account_coda
|
||||
#: wizard_view:account.coda_import,extraction:0
|
||||
#: wizard_view:account.coda_import,init:0
|
||||
msgid "Import Coda Statement"
|
||||
msgstr ""
|
||||
|
||||
#. module: account_coda
|
||||
#: field:account.bank.statement,coda_id:0
|
||||
msgid "Coda"
|
||||
msgstr ""
|
||||
|
||||
#. module: account_coda
|
||||
#: wizard_view:account.coda_import,extraction:0
|
||||
msgid "Results :"
|
||||
msgstr "Tulemused :"
|
||||
|
||||
#. module: account_coda
|
||||
#: wizard_field:account.coda_import,init,coda:0
|
||||
msgid "Coda File"
|
||||
msgstr ""
|
||||
|
||||
#. module: account_coda
|
||||
#: field:account.coda,date:0
|
||||
msgid "Import Date"
|
||||
msgstr "Importimise aeg"
|
||||
|
||||
#. module: account_coda
|
||||
#: wizard_view:account.coda_import,init:0
|
||||
msgid "Select your bank journal :"
|
||||
msgstr ""
|
||||
@@ -13,7 +13,7 @@ msgstr ""
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Launchpad-Export-Date: 2010-06-08 03:40+0000\n"
|
||||
"X-Launchpad-Export-Date: 2010-06-09 03:35+0000\n"
|
||||
"X-Generator: Launchpad (build Unknown)\n"
|
||||
|
||||
#. module: account_followup
|
||||
|
||||
@@ -8,13 +8,13 @@ msgstr ""
|
||||
"Project-Id-Version: openobject-addons\n"
|
||||
"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"POT-Creation-Date: 2009-08-28 16:01+0000\n"
|
||||
"PO-Revision-Date: 2009-09-08 13:37+0000\n"
|
||||
"Last-Translator: Makis Nicolaou <mark.nicolaou@gmail.com>\n"
|
||||
"PO-Revision-Date: 2010-06-09 03:16+0000\n"
|
||||
"Last-Translator: Panayiotis Konstantinidis <Unknown>\n"
|
||||
"Language-Team: Greek <el@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: 2010-04-17 04:12+0000\n"
|
||||
"X-Launchpad-Export-Date: 2010-06-09 03:35+0000\n"
|
||||
"X-Generator: Launchpad (build Unknown)\n"
|
||||
|
||||
#. module: account_invoice_layout
|
||||
@@ -38,7 +38,7 @@ msgstr ""
|
||||
#. module: account_invoice_layout
|
||||
#: rml:account.invoice.layout:0
|
||||
msgid "Cancelled Invoice"
|
||||
msgstr ""
|
||||
msgstr "Ακυρωμένο τιμολόγιο"
|
||||
|
||||
#. module: account_invoice_layout
|
||||
#: selection:account.invoice.line,state:0
|
||||
@@ -59,7 +59,7 @@ msgstr "Εκπτ. (%)"
|
||||
#. module: account_invoice_layout
|
||||
#: rml:account.invoice.layout:0
|
||||
msgid "(Incl. taxes):"
|
||||
msgstr ""
|
||||
msgstr "(με φόρους)"
|
||||
|
||||
#. module: account_invoice_layout
|
||||
#: selection:account.invoice.line,state:0
|
||||
@@ -87,7 +87,7 @@ msgstr "Τιμή Μονάδας"
|
||||
#. module: account_invoice_layout
|
||||
#: constraint:ir.actions.act_window:0
|
||||
msgid "Invalid model name in the action definition."
|
||||
msgstr ""
|
||||
msgstr "Λανθασμένο όνομα μοντέλου στον ορισμό ενέργειας"
|
||||
|
||||
#. module: account_invoice_layout
|
||||
#: model:ir.model,name:account_invoice_layout.model_notify_message
|
||||
@@ -122,7 +122,7 @@ msgstr "Σχετ. Πελάτης:"
|
||||
#. module: account_invoice_layout
|
||||
#: rml:account.invoice.layout:0
|
||||
msgid ")"
|
||||
msgstr ""
|
||||
msgstr ")"
|
||||
|
||||
#. module: account_invoice_layout
|
||||
#: field:account.invoice.line,state:0
|
||||
@@ -137,7 +137,7 @@ msgstr "Τιμή"
|
||||
#. module: account_invoice_layout
|
||||
#: rml:account.invoice.layout:0
|
||||
msgid "/ ("
|
||||
msgstr ""
|
||||
msgstr "/ ("
|
||||
|
||||
#. module: account_invoice_layout
|
||||
#: rml:account.invoice.layout:0
|
||||
@@ -192,7 +192,7 @@ msgstr "Page Break"
|
||||
#. module: account_invoice_layout
|
||||
#: rml:account.invoice.layout:0
|
||||
msgid "Document:"
|
||||
msgstr ""
|
||||
msgstr "Έγγραφο:"
|
||||
|
||||
#. module: account_invoice_layout
|
||||
#: wizard_view:wizard.notify_message,init:0
|
||||
@@ -217,7 +217,7 @@ msgstr "Τιμολόγια με Διάταξη"
|
||||
#. module: account_invoice_layout
|
||||
#: rml:account.invoice.layout:0
|
||||
msgid "Description / Taxes"
|
||||
msgstr ""
|
||||
msgstr "Περιγραφή / Φόροι"
|
||||
|
||||
#. module: account_invoice_layout
|
||||
#: rml:account.invoice.layout:0
|
||||
@@ -227,7 +227,7 @@ msgstr "Ποσό"
|
||||
#. module: account_invoice_layout
|
||||
#: rml:account.invoice.layout:0
|
||||
msgid "Description/Taxes"
|
||||
msgstr ""
|
||||
msgstr "Περιγραφή/Φόροι"
|
||||
|
||||
#. module: account_invoice_layout
|
||||
#: rml:account.invoice.layout:0
|
||||
@@ -267,7 +267,7 @@ msgstr "Τιμολόγιο Προμηθευτή"
|
||||
#. module: account_invoice_layout
|
||||
#: rml:account.invoice.layout:0
|
||||
msgid "Note :"
|
||||
msgstr ""
|
||||
msgstr "Σημείωση :"
|
||||
|
||||
#. module: account_invoice_layout
|
||||
#: rml:account.invoice.layout:0
|
||||
@@ -282,7 +282,7 @@ msgstr "account_invoice_layout"
|
||||
#. module: account_invoice_layout
|
||||
#: rml:account.invoice.layout:0
|
||||
msgid "Total (Excl. taxes):"
|
||||
msgstr ""
|
||||
msgstr "Σύνολο (Χωρίς φόρους)"
|
||||
|
||||
#. module: account_invoice_layout
|
||||
#: rml:account.invoice.layout:0
|
||||
|
||||
@@ -13,7 +13,7 @@ msgstr ""
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Launchpad-Export-Date: 2010-06-08 03:40+0000\n"
|
||||
"X-Launchpad-Export-Date: 2010-06-09 03:35+0000\n"
|
||||
"X-Generator: Launchpad (build Unknown)\n"
|
||||
|
||||
#. module: account_payment
|
||||
|
||||
@@ -11,6 +11,6 @@
|
||||
menu="False"
|
||||
model="account.report.report"
|
||||
name="print.indicator.pdf"
|
||||
string="Print Indicators in PDF"/>
|
||||
string="Indicators in PDF"/>
|
||||
</data>
|
||||
</openerp>
|
||||
|
||||
@@ -13,7 +13,7 @@ msgstr ""
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Launchpad-Export-Date: 2010-06-08 03:40+0000\n"
|
||||
"X-Launchpad-Export-Date: 2010-06-09 03:35+0000\n"
|
||||
"X-Generator: Launchpad (build Unknown)\n"
|
||||
|
||||
#. module: account_tax_include
|
||||
|
||||
@@ -2,16 +2,16 @@
|
||||
<openerp>
|
||||
<data>
|
||||
<report id="report_account_voucher"
|
||||
string="Print Voucher"
|
||||
string="Vouchers"
|
||||
model="account.voucher"
|
||||
name="voucher.cash_receipt.drcr"
|
||||
rml="account_voucher/report/report_voucher.rml"
|
||||
auto="False"
|
||||
header = "False"
|
||||
menu="True"/>
|
||||
|
||||
|
||||
<report id="report_account_voucher_amt"
|
||||
string="Print Receipt"
|
||||
string="Receipts"
|
||||
model="account.voucher"
|
||||
name="voucher.cash_amount"
|
||||
rml="account_voucher/report/report_voucher_amount.rml"
|
||||
|
||||
@@ -14,7 +14,7 @@ msgstr ""
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Launchpad-Export-Date: 2010-06-08 03:41+0000\n"
|
||||
"X-Launchpad-Export-Date: 2010-06-09 03:36+0000\n"
|
||||
"X-Generator: Launchpad (build Unknown)\n"
|
||||
|
||||
#. module: account_voucher_payment
|
||||
|
||||
@@ -14,7 +14,7 @@ msgstr ""
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Launchpad-Export-Date: 2010-06-08 03:41+0000\n"
|
||||
"X-Launchpad-Export-Date: 2010-06-09 03:36+0000\n"
|
||||
"X-Generator: Launchpad (build Unknown)\n"
|
||||
|
||||
#. module: account_voucher_payment
|
||||
|
||||
@@ -0,0 +1,86 @@
|
||||
# Estonian translation for openobject-addons
|
||||
# Copyright (c) 2010 Rosetta Contributors and Canonical Ltd 2010
|
||||
# This file is distributed under the same license as the openobject-addons package.
|
||||
# FIRST AUTHOR <EMAIL@ADDRESS>, 2010.
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: openobject-addons\n"
|
||||
"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"POT-Creation-Date: 2009-05-13 20:11+0000\n"
|
||||
"PO-Revision-Date: 2010-06-08 17:42+0000\n"
|
||||
"Last-Translator: lyyser <logard.1961@gmail.com>\n"
|
||||
"Language-Team: Estonian <et@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: 2010-06-09 03:36+0000\n"
|
||||
"X-Generator: Launchpad (build Unknown)\n"
|
||||
|
||||
#. module: account_voucher_payment
|
||||
#: constraint:ir.ui.view:0
|
||||
msgid "Invalid XML for View Architecture!"
|
||||
msgstr "Vigane XML vaate arhitektuurile!"
|
||||
|
||||
#. module: account_voucher_payment
|
||||
#: wizard_view:account.voucher.unreconcile,init:0
|
||||
msgid "Unreconciliation transactions"
|
||||
msgstr "Mittesobivad tehingud"
|
||||
|
||||
#. module: account_voucher_payment
|
||||
#: model:ir.module.module,description:account_voucher_payment.module_name_translation
|
||||
msgid ""
|
||||
"This module includes :\n"
|
||||
" * It reconcile the invoice (supplier, customer) while paying through \n"
|
||||
" Accounting Vouchers\n"
|
||||
" "
|
||||
msgstr ""
|
||||
|
||||
#. module: account_voucher_payment
|
||||
#: wizard_view:account.voucher.unreconcile,init:0
|
||||
msgid ""
|
||||
"If you unreconciliate transactions, you must also verify all the actions "
|
||||
"that are linked to those transactions because they will not be disable"
|
||||
msgstr ""
|
||||
|
||||
#. module: account_voucher_payment
|
||||
#: view:account.voucher:0
|
||||
#: field:account.voucher,voucher_line_ids:0
|
||||
msgid "Voucher Lines"
|
||||
msgstr "Tähiku read"
|
||||
|
||||
#. module: account_voucher_payment
|
||||
#: model:ir.module.module,shortdesc:account_voucher_payment.module_name_translation
|
||||
msgid "Invoice Payment/Receipt by Vouchers."
|
||||
msgstr ""
|
||||
|
||||
#. module: account_voucher_payment
|
||||
#: model:ir.actions.wizard,name:account_voucher_payment.wizard_unreconcile_voucher
|
||||
msgid "Unreconcile entries"
|
||||
msgstr "Kooskõlastamatta kirjed"
|
||||
|
||||
#. module: account_voucher_payment
|
||||
#: field:account.move.line,voucher_invoice:0
|
||||
#: field:account.voucher.line,invoice_id:0
|
||||
msgid "Invoice"
|
||||
msgstr "Arve"
|
||||
|
||||
#. module: account_voucher_payment
|
||||
#: wizard_button:account.voucher.unreconcile,init,end:0
|
||||
msgid "Cancel"
|
||||
msgstr "Katkesta"
|
||||
|
||||
#. module: account_voucher_payment
|
||||
#: field:account.voucher,partner_id:0
|
||||
msgid "Partner"
|
||||
msgstr "Partner"
|
||||
|
||||
#. module: account_voucher_payment
|
||||
#: wizard_button:account.voucher.unreconcile,init,unrec:0
|
||||
msgid "Unreconcile"
|
||||
msgstr ""
|
||||
|
||||
#. module: account_voucher_payment
|
||||
#: wizard_view:account.voucher.unreconcile,init:0
|
||||
msgid "Unreconciliation"
|
||||
msgstr ""
|
||||
@@ -13,7 +13,7 @@ msgstr ""
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Launchpad-Export-Date: 2010-06-08 03:41+0000\n"
|
||||
"X-Launchpad-Export-Date: 2010-06-09 03:35+0000\n"
|
||||
"X-Generator: Launchpad (build Unknown)\n"
|
||||
|
||||
#. module: auction
|
||||
|
||||
@@ -13,7 +13,7 @@ msgstr ""
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Launchpad-Export-Date: 2010-06-08 03:41+0000\n"
|
||||
"X-Launchpad-Export-Date: 2010-06-09 03:36+0000\n"
|
||||
"X-Generator: Launchpad (build Unknown)\n"
|
||||
|
||||
#. module: auction
|
||||
|
||||
@@ -27,7 +27,9 @@
|
||||
'author': 'Tiny',
|
||||
'website': 'http://www.openerp.com',
|
||||
'depends': ['base'],
|
||||
'init_xml': [],
|
||||
'init_xml': [
|
||||
'base_action_rule_data.xml'
|
||||
],
|
||||
'update_xml': [
|
||||
'base_action_rule_view.xml',
|
||||
'security/ir.model.access.csv',
|
||||
|
||||
@@ -136,7 +136,7 @@ the rule to mark CC(mail to any other person defined in actions)."),
|
||||
|
||||
def pre_action(self, cr, uid, ids, model, context=None):
|
||||
# Searching for action rules
|
||||
cr.execute("SELECT m.model, r.id from base_action_rule r left join ir_model m on (m.id = r.name)")
|
||||
cr.execute("SELECT model.model, rule.id FROM base_action_rule rule LEFT JOIN ir_model model on (model.id = rule.name)")
|
||||
res = cr.fetchall()
|
||||
# Check if any rule matching with current object
|
||||
for obj_name, rule_id in res:
|
||||
@@ -147,7 +147,7 @@ the rule to mark CC(mail to any other person defined in actions)."),
|
||||
self._action(cr, uid, [rule_id], obj.browse(cr, uid, ids, context=context))
|
||||
return True
|
||||
|
||||
def new_create(self, old_create, model, context=None):
|
||||
def _create(self, old_create, model, context=None):
|
||||
if not context:
|
||||
context = {}
|
||||
def make_call_old(cr, uid, vals, context=context):
|
||||
@@ -157,7 +157,7 @@ the rule to mark CC(mail to any other person defined in actions)."),
|
||||
return new_id
|
||||
return make_call_old
|
||||
|
||||
def new_write(self, old_write, model, context=None):
|
||||
def _write(self, old_write, model, context=None):
|
||||
if not context:
|
||||
context = {}
|
||||
def make_call_old(cr, uid, ids, vals, context=context):
|
||||
@@ -168,38 +168,35 @@ the rule to mark CC(mail to any other person defined in actions)."),
|
||||
return old_write(cr, uid, ids, vals, context=context)
|
||||
return make_call_old
|
||||
|
||||
def create(self, cr, uid, vals, context=None):
|
||||
def _register_hook(self, cr, uid, ids, context=None):
|
||||
if not context:
|
||||
context = {}
|
||||
res_id = super(base_action_rule, self).create(cr, uid, vals, context)
|
||||
model_pool = self.pool.get('ir.model')
|
||||
model = model_pool.browse(cr, uid, vals.get('name'), context=context).model
|
||||
obj_pool = self.pool.get(model)
|
||||
obj_pool.__setattr__('old_create', obj_pool.create)
|
||||
obj_pool.__setattr__('old_write', obj_pool.write)
|
||||
obj_pool.__setattr__('create', self.new_create(obj_pool.create, model, context=context))
|
||||
obj_pool.__setattr__('write', self.new_write(obj_pool.write, model, context=context))
|
||||
for action_rule in self.browse(cr, uid, ids, context=context):
|
||||
model = action_rule.name.model
|
||||
obj_pool = self.pool.get(model)
|
||||
obj_pool.__setattr__('create', self._create(obj_pool.create, model, context=context))
|
||||
obj_pool.__setattr__('write', self._write(obj_pool.write, model, context=context))
|
||||
return True
|
||||
|
||||
def create(self, cr, uid, vals, context=None):
|
||||
res_id = super(base_action_rule, self).create(cr, uid, vals, context)
|
||||
self._register_hook(cr, uid, [res_id], context=context)
|
||||
return res_id
|
||||
|
||||
def write(self, cr, uid, ids, vals, context=None):
|
||||
res = super(base_action_rule, self).write(cr, uid, ids, vals, context)
|
||||
model_pool = self.pool.get('ir.model')
|
||||
if not context:
|
||||
context = {}
|
||||
for rule in self.browse(cr, uid, ids, context=context):
|
||||
model = model_pool.browse(cr, uid, rule.name.id, context=context).model
|
||||
obj_pool = self.pool.get(model)
|
||||
obj_pool.__setattr__('old_create', obj_pool.create)
|
||||
obj_pool.__setattr__('old_write', obj_pool.write)
|
||||
obj_pool.__setattr__('create', self.new_create(obj_pool.create, model, context=context))
|
||||
obj_pool.__setattr__('write', self.new_write(obj_pool.write, model, context=context))
|
||||
self._register_hook(cr, uid, ids, context=context)
|
||||
return res
|
||||
|
||||
def _check(self, cr, uid, automatic=False, use_new_cursor=False, \
|
||||
context=None):
|
||||
"""
|
||||
This Function is call by scheduler.
|
||||
"""
|
||||
rule_pool= self.pool.get('base.action.rule')
|
||||
rule_ids = rule_pool.search(cr, uid, [], context=context)
|
||||
return rule_pool.write(cr, uid, rule_ids, {}, context=context)
|
||||
return self._register_hook(cr, uid, rule_ids, context=context)
|
||||
|
||||
|
||||
def format_body(self, body):
|
||||
|
||||
@@ -0,0 +1,19 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<openerp>
|
||||
<data noupdate="1">
|
||||
<record id="ir_cron_crm_action" model="ir.cron">
|
||||
<field name="name">Check Action Rules</field>
|
||||
<field name="interval_number">4</field>
|
||||
<field name="interval_type">hours</field>
|
||||
<field name="numbercall">-1</field>
|
||||
<field eval="False" name="doall"/>
|
||||
<field eval="'base.action.rule'" name="model"/>
|
||||
<field eval="'_check'" name="function"/>
|
||||
<field eval="'()'" name="args"/>
|
||||
</record>
|
||||
|
||||
|
||||
|
||||
|
||||
</data>
|
||||
</openerp>
|
||||
@@ -134,7 +134,8 @@
|
||||
<field name="address" mode="form,tree" colspan="4" nolabel="1" select="1" position="replace">
|
||||
<field name="address" mode="form,tree" colspan="4" nolabel="1" select="1">
|
||||
<form string="Address">
|
||||
<group string="Postal Address" colspan="2" col="2">
|
||||
<group colspan="2" col="2">
|
||||
<separator string="Postal Address" colspan="2" col="2"/>
|
||||
<field name="type" />
|
||||
<field name="street"/>
|
||||
<field name="street2"/>
|
||||
@@ -143,7 +144,8 @@
|
||||
<field name="country_id" completion="1"/>
|
||||
<field name="state_id"/>
|
||||
</group>
|
||||
<group string="Communication" colspan="2" col="2">
|
||||
<group colspan="2" col="2">
|
||||
<separator string="Communication" colspan="2" col="2"/>
|
||||
<field name="phone"/>
|
||||
<field name="fax"/>
|
||||
<field name="email" widget="email"/>
|
||||
|
||||
@@ -13,7 +13,7 @@ msgstr ""
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Launchpad-Export-Date: 2010-06-08 03:41+0000\n"
|
||||
"X-Launchpad-Export-Date: 2010-06-09 03:35+0000\n"
|
||||
"X-Generator: Launchpad (build Unknown)\n"
|
||||
"Language: hr\n"
|
||||
|
||||
|
||||
@@ -13,7 +13,7 @@ msgstr ""
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Launchpad-Export-Date: 2010-06-08 03:40+0000\n"
|
||||
"X-Launchpad-Export-Date: 2010-06-09 03:35+0000\n"
|
||||
"X-Generator: Launchpad (build Unknown)\n"
|
||||
"Language: hr\n"
|
||||
|
||||
|
||||
+1
-10
@@ -7,16 +7,7 @@
|
||||
</record>
|
||||
|
||||
|
||||
<record id="ir_cron_crm_action" model="ir.cron">
|
||||
<field name="name">Check cases rules</field>
|
||||
<field name="interval_number">4</field>
|
||||
<field name="interval_type">hours</field>
|
||||
<field name="numbercall">-1</field>
|
||||
<field eval="False" name="doall"/>
|
||||
<field eval="'crm.case'" name="model"/>
|
||||
<field eval="'_check'" name="function"/>
|
||||
<field eval="'()'" name="args"/>
|
||||
</record>
|
||||
|
||||
|
||||
</data>
|
||||
</openerp>
|
||||
|
||||
+172
-163
File diff suppressed because it is too large
Load Diff
@@ -7,16 +7,16 @@ msgstr ""
|
||||
"Project-Id-Version: OpenERP Server 5.0.0\n"
|
||||
"Report-Msgid-Bugs-To: support@openerp.com\n"
|
||||
"POT-Creation-Date: 2009-08-28 16:01+0000\n"
|
||||
"PO-Revision-Date: 2009-09-22 23:21+0000\n"
|
||||
"Last-Translator: Fabien (Open ERP) <fp@tinyerp.com>\n"
|
||||
"PO-Revision-Date: 2010-06-08 17:43+0000\n"
|
||||
"Last-Translator: lyyser <logard.1961@gmail.com>\n"
|
||||
"Language-Team: \n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Launchpad-Export-Date: 2010-04-17 04:20+0000\n"
|
||||
"X-Launchpad-Export-Date: 2010-06-09 03:36+0000\n"
|
||||
"X-Generator: Launchpad (build Unknown)\n"
|
||||
|
||||
#. module: crm_vertical
|
||||
#: model:ir.module.module,description:crm_vertical.module_meta_information
|
||||
msgid "Simplification of the interface for CRM."
|
||||
msgstr ""
|
||||
msgstr "Kasutajaliidese lihtsustus KSH jaoks."
|
||||
|
||||
@@ -7,13 +7,13 @@ msgstr ""
|
||||
"Project-Id-Version: OpenERP Server 5.0.0\n"
|
||||
"Report-Msgid-Bugs-To: support@openerp.com\n"
|
||||
"POT-Creation-Date: 2009-08-28 16:01+0000\n"
|
||||
"PO-Revision-Date: 2009-09-16 15:43+0000\n"
|
||||
"Last-Translator: Fabien (Open ERP) <fp@tinyerp.com>\n"
|
||||
"PO-Revision-Date: 2010-06-08 17:44+0000\n"
|
||||
"Last-Translator: lyyser <logard.1961@gmail.com>\n"
|
||||
"Language-Team: \n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Launchpad-Export-Date: 2010-04-17 04:18+0000\n"
|
||||
"X-Launchpad-Export-Date: 2010-06-09 03:36+0000\n"
|
||||
"X-Generator: Launchpad (build Unknown)\n"
|
||||
|
||||
#. module: document_ics
|
||||
@@ -36,7 +36,7 @@ msgstr "Viga! Sa ei saa luua regrussiivseid kaustu."
|
||||
#. module: document_ics
|
||||
#: field:document.ics.crm.wizard,jobs:0
|
||||
msgid "Jobs Hiring Process"
|
||||
msgstr ""
|
||||
msgstr "Töökohad Töölevõtmise Protsess"
|
||||
|
||||
#. module: document_ics
|
||||
#: view:document.ics.crm.wizard:0
|
||||
@@ -122,7 +122,7 @@ msgstr "Seadista kalendrid sektsioonide jaoks "
|
||||
#. module: document_ics
|
||||
#: help:document.ics.crm.wizard,opportunity:0
|
||||
msgid "Tracks identified business opportunities for your sales pipeline."
|
||||
msgstr ""
|
||||
msgstr "Jälgib tuvastatud ärivõimalusi sinu müükide konveierile."
|
||||
|
||||
#. module: document_ics
|
||||
#: help:document.ics.crm.wizard,fund:0
|
||||
@@ -209,6 +209,8 @@ msgid ""
|
||||
"Manages the supplier and customers claims, including your corrective or "
|
||||
"preventive actions."
|
||||
msgstr ""
|
||||
"Haldab tarnijate ja klientide nõudeid, sealjuures sinu korrigeerivaid ja "
|
||||
"vältivaid tegevusi."
|
||||
|
||||
#. module: document_ics
|
||||
#: selection:document.directory.ics.fields,name:0
|
||||
@@ -241,6 +243,8 @@ msgid ""
|
||||
"Help you to encode the result of a phone call or to planify a list of phone "
|
||||
"calls to process."
|
||||
msgstr ""
|
||||
"Aitab sul arvutada telefonikõne tulemust või planeerida nimekirja "
|
||||
"telefonikõnedest töötlemiseks."
|
||||
|
||||
#. module: document_ics
|
||||
#: selection:document.directory.ics.fields,name:0
|
||||
@@ -315,7 +319,7 @@ msgstr "Tühista"
|
||||
#. module: document_ics
|
||||
#: field:document.ics.crm.wizard,opportunity:0
|
||||
msgid "Business Opportunities"
|
||||
msgstr ""
|
||||
msgstr "Äri võimalused"
|
||||
|
||||
#. module: document_ics
|
||||
#: selection:document.directory.ics.fields,name:0
|
||||
|
||||
+76
-70
@@ -7,13 +7,13 @@ msgstr ""
|
||||
"Project-Id-Version: OpenERP Server 5.0.4\n"
|
||||
"Report-Msgid-Bugs-To: support@openerp.com\n"
|
||||
"POT-Creation-Date: 2009-08-28 16:01+0000\n"
|
||||
"PO-Revision-Date: 2010-05-13 08:53+0000\n"
|
||||
"PO-Revision-Date: 2010-06-08 17:51+0000\n"
|
||||
"Last-Translator: lyyser <logard.1961@gmail.com>\n"
|
||||
"Language-Team: \n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Launchpad-Export-Date: 2010-05-14 04:55+0000\n"
|
||||
"X-Launchpad-Export-Date: 2010-06-09 03:35+0000\n"
|
||||
"X-Generator: Launchpad (build Unknown)\n"
|
||||
|
||||
#. module: event
|
||||
@@ -60,7 +60,7 @@ msgstr "Sündmuse registreerimine"
|
||||
#. module: event
|
||||
#: model:ir.actions.wizard,name:event.event_reg_invoice
|
||||
msgid "Make Invoice"
|
||||
msgstr ""
|
||||
msgstr "Loo arve"
|
||||
|
||||
#. module: event
|
||||
#: field:report.event.type.registration,draft_state:0
|
||||
@@ -145,7 +145,7 @@ msgstr "Registreerimine"
|
||||
#: field:event.type,name:0
|
||||
#: model:ir.model,name:event.model_event_type
|
||||
msgid "Event type"
|
||||
msgstr ""
|
||||
msgstr "Sündmuse liik"
|
||||
|
||||
#. module: event
|
||||
#: view:event.event:0
|
||||
@@ -153,34 +153,34 @@ msgstr ""
|
||||
#: model:ir.module.module,shortdesc:event.module_meta_information
|
||||
#: field:report.event.registration,name:0
|
||||
msgid "Event"
|
||||
msgstr ""
|
||||
msgstr "Sündmus"
|
||||
|
||||
#. module: event
|
||||
#: selection:event.event,state:0
|
||||
msgid "Confirmed"
|
||||
msgstr ""
|
||||
msgstr "Kinnitatud"
|
||||
|
||||
#. module: event
|
||||
#: wizard_view:event.confirm_registration,split:0
|
||||
msgid "Registration Confirmation"
|
||||
msgstr ""
|
||||
msgstr "Registreerimise kinnitus"
|
||||
|
||||
#. module: event
|
||||
#: view:event.registration:0
|
||||
msgid "Dates"
|
||||
msgstr ""
|
||||
msgstr "Kuupäevad"
|
||||
|
||||
#. module: event
|
||||
#: field:event.event,register_current:0
|
||||
#: model:ir.actions.act_window,name:event.action_registration_confirm
|
||||
#: model:ir.ui.menu,name:event.menu_action_registration_confirm
|
||||
msgid "Confirmed Registrations"
|
||||
msgstr ""
|
||||
msgstr "Kinnitatud registreerimised"
|
||||
|
||||
#. module: event
|
||||
#: field:event.event,mail_auto_registr:0
|
||||
msgid "Mail Auto Register"
|
||||
msgstr ""
|
||||
msgstr "Autoregistreerimise mail"
|
||||
|
||||
#. module: event
|
||||
#: view:event.registration:0
|
||||
@@ -190,12 +190,12 @@ msgstr "Tunnusmärk"
|
||||
#. module: event
|
||||
#: field:event.event,section_id:0
|
||||
msgid "Case section"
|
||||
msgstr ""
|
||||
msgstr "Juhtumi jaotis"
|
||||
|
||||
#. module: event
|
||||
#: field:event.registration,tobe_invoiced:0
|
||||
msgid "To be Invoiced"
|
||||
msgstr ""
|
||||
msgstr "Tehakse arve"
|
||||
|
||||
#. module: event
|
||||
#: model:ir.ui.menu,name:event.menu_event_event
|
||||
@@ -220,7 +220,7 @@ msgstr "Sündmused kategooria järgi"
|
||||
#. module: event
|
||||
#: wizard_view:event.confirm_registration,split:0
|
||||
msgid "The event limit is reached. What do you want to do?"
|
||||
msgstr ""
|
||||
msgstr "Sündmuste limiidipiir on saavutatud. Mida sa soovid teha?"
|
||||
|
||||
#. module: event
|
||||
#: field:report.event.type.registration,confirm_state:0
|
||||
@@ -237,7 +237,7 @@ msgstr "Viited"
|
||||
#: model:ir.ui.menu,name:event.menu_report_event_type_registration
|
||||
#: view:report.event.type.registration:0
|
||||
msgid "Registration By Event Types"
|
||||
msgstr ""
|
||||
msgstr "Registreerimine sündmuse liigijärgi"
|
||||
|
||||
#. module: event
|
||||
#: model:ir.ui.menu,name:event.menu_event_config
|
||||
@@ -262,12 +262,12 @@ msgstr "Viga: TÜ kategooria peab erinema MÜ kategooriast"
|
||||
#. module: event
|
||||
#: view:event.event:0
|
||||
msgid "Parent Category"
|
||||
msgstr ""
|
||||
msgstr "Peaktegooria"
|
||||
|
||||
#. module: event
|
||||
#: view:event.registration:0
|
||||
msgid "Registration Invoiced"
|
||||
msgstr ""
|
||||
msgstr "Registreerimine arveks tehtud"
|
||||
|
||||
#. module: event
|
||||
#: field:report.event.type.registration,nbevent:0
|
||||
@@ -277,7 +277,7 @@ msgstr "Sündmuste arv"
|
||||
#. module: event
|
||||
#: view:event.event:0
|
||||
msgid "Cancel Event"
|
||||
msgstr ""
|
||||
msgstr "Loobu sündmusest"
|
||||
|
||||
#. module: event
|
||||
#: wizard_field:event.reg_make_invoice,init,inv_rej_reason:0
|
||||
@@ -287,12 +287,12 @@ msgstr "Veateated"
|
||||
#. module: event
|
||||
#: view:event.event:0
|
||||
msgid "Mailing"
|
||||
msgstr ""
|
||||
msgstr "Postitan"
|
||||
|
||||
#. module: event
|
||||
#: model:product.template,name:event.event_product_0_product_template
|
||||
msgid "Ticket for Concert"
|
||||
msgstr ""
|
||||
msgstr "Kontserdi pilet"
|
||||
|
||||
#. module: event
|
||||
#: field:event.event,register_prospect:0
|
||||
@@ -304,12 +304,12 @@ msgstr "Kinnitamatta registreerimised"
|
||||
#. module: event
|
||||
#: field:event.registration,partner_invoice_id:0
|
||||
msgid "Partner Invoiced"
|
||||
msgstr ""
|
||||
msgstr "Partnerile arve tehtud"
|
||||
|
||||
#. module: event
|
||||
#: view:event.registration:0
|
||||
msgid "Communication history"
|
||||
msgstr ""
|
||||
msgstr "Kommunikatsiooni alalugu"
|
||||
|
||||
#. module: event
|
||||
#: selection:event.event,state:0
|
||||
@@ -319,18 +319,18 @@ msgstr "Katkestatud"
|
||||
#. module: event
|
||||
#: view:event.event:0
|
||||
msgid "Event Done"
|
||||
msgstr ""
|
||||
msgstr "Sündmus valmis"
|
||||
|
||||
#. module: event
|
||||
#: field:event.registration,badge_name:0
|
||||
msgid "Badge Name"
|
||||
msgstr ""
|
||||
msgstr "Embleemi nimi"
|
||||
|
||||
#. module: event
|
||||
#: model:ir.actions.act_window,name:event.action_event_registration
|
||||
#: model:ir.ui.menu,name:event.menu_report_event_registration
|
||||
msgid "Events On Registrations"
|
||||
msgstr ""
|
||||
msgstr "Registreerimiste sündmused"
|
||||
|
||||
#. module: event
|
||||
#: constraint:product.template:0
|
||||
@@ -342,27 +342,27 @@ msgstr ""
|
||||
#. module: event
|
||||
#: wizard_field:event.reg_make_invoice,init,inv_created:0
|
||||
msgid "Invoice Created"
|
||||
msgstr ""
|
||||
msgstr "Arve loodud"
|
||||
|
||||
#. module: event
|
||||
#: view:event.event:0
|
||||
msgid "Statistics"
|
||||
msgstr ""
|
||||
msgstr "Statistika"
|
||||
|
||||
#. module: event
|
||||
#: selection:event.event,state:0
|
||||
msgid "Draft"
|
||||
msgstr ""
|
||||
msgstr "Mustand"
|
||||
|
||||
#. module: event
|
||||
#: view:event.event:0
|
||||
msgid "Event description"
|
||||
msgstr ""
|
||||
msgstr "Sündmuse kirjeldus"
|
||||
|
||||
#. module: event
|
||||
#: model:ir.model,name:event.model_report_event_type_registration
|
||||
msgid "Event type on registration"
|
||||
msgstr ""
|
||||
msgstr "Registreerimise sündmuse liik"
|
||||
|
||||
#. module: event
|
||||
#: constraint:ir.model:0
|
||||
@@ -374,7 +374,7 @@ msgstr ""
|
||||
#. module: event
|
||||
#: field:event.registration,event_id:0
|
||||
msgid "Event Related"
|
||||
msgstr ""
|
||||
msgstr "Seotud sündmus"
|
||||
|
||||
#. module: event
|
||||
#: model:crm.case.section,name:event.case_section_event
|
||||
@@ -386,167 +386,169 @@ msgstr "Sündmused"
|
||||
#. module: event
|
||||
#: field:event.registration,nb_register:0
|
||||
msgid "Number of Registration"
|
||||
msgstr ""
|
||||
msgstr "Registreerimiste arv"
|
||||
|
||||
#. module: event
|
||||
#: view:event.event:0
|
||||
#: field:event.event,state:0
|
||||
#: view:event.registration:0
|
||||
msgid "Status"
|
||||
msgstr ""
|
||||
msgstr "Olek"
|
||||
|
||||
#. module: event
|
||||
#: model:ir.actions.act_window,name:event.action_event_categories
|
||||
msgid "Events by section"
|
||||
msgstr ""
|
||||
msgstr "Sündmused sektsioonijärgi"
|
||||
|
||||
#. module: event
|
||||
#: model:ir.ui.menu,name:event.menu_action_registration
|
||||
msgid "All Registrations"
|
||||
msgstr ""
|
||||
msgstr "Kõik registreerimised"
|
||||
|
||||
#. module: event
|
||||
#: help:event.event,mail_auto_registr:0
|
||||
msgid ""
|
||||
"Check this box if you want to use the automatic mailing for new registration"
|
||||
msgstr ""
|
||||
"Märgi see kast, kui sa tahad kasutada automaatset kirja saatmist uuel "
|
||||
"registreerimisel"
|
||||
|
||||
#. module: event
|
||||
#: view:event.event:0
|
||||
msgid "Set To Draft"
|
||||
msgstr ""
|
||||
msgstr "Sea mustandiks"
|
||||
|
||||
#. module: event
|
||||
#: view:event.registration:0
|
||||
#: model:ir.actions.wizard,name:event.event_confirm_registration
|
||||
#: field:report.event.registration,confirm_state:0
|
||||
msgid "Confirm Registration"
|
||||
msgstr ""
|
||||
msgstr "Kinnita registreerimine"
|
||||
|
||||
#. module: event
|
||||
#: view:event.registration:0
|
||||
msgid "History"
|
||||
msgstr ""
|
||||
msgstr "Ajalugu"
|
||||
|
||||
#. module: event
|
||||
#: model:ir.ui.menu,name:event.menu_event_type
|
||||
msgid "Types of Events"
|
||||
msgstr ""
|
||||
msgstr "Sündmuste liigid"
|
||||
|
||||
#. module: event
|
||||
#: field:event.registration,contact_id:0
|
||||
msgid "Partner Contact"
|
||||
msgstr ""
|
||||
msgstr "Partneri kontakt"
|
||||
|
||||
#. module: event
|
||||
#: view:event.event:0
|
||||
msgid "Auto Confirmation Email"
|
||||
msgstr ""
|
||||
msgstr "Automaatne kinnitamise e-kiri"
|
||||
|
||||
#. module: event
|
||||
#: view:event.event:0
|
||||
#: view:event.registration:0
|
||||
msgid "General"
|
||||
msgstr ""
|
||||
msgstr "Üldine"
|
||||
|
||||
#. module: event
|
||||
#: view:event.registration:0
|
||||
msgid "Send Reminder"
|
||||
msgstr ""
|
||||
msgstr "Saada meeldetuletus"
|
||||
|
||||
#. module: event
|
||||
#: selection:event.event,state:0
|
||||
msgid "Done"
|
||||
msgstr ""
|
||||
msgstr "Valmis"
|
||||
|
||||
#. module: event
|
||||
#: field:event.event,date_begin:0
|
||||
#: field:report.event.registration,date_begin:0
|
||||
msgid "Beginning date"
|
||||
msgstr ""
|
||||
msgstr "Alguskuupäev"
|
||||
|
||||
#. module: event
|
||||
#: field:event.registration,invoice_id:0
|
||||
msgid "Invoice"
|
||||
msgstr ""
|
||||
msgstr "Arve"
|
||||
|
||||
#. module: event
|
||||
#: model:ir.model,name:event.model_report_event_registration
|
||||
msgid "Events on registrations"
|
||||
msgstr ""
|
||||
msgstr "Sündmused registreerimisel"
|
||||
|
||||
#. module: event
|
||||
#: wizard_button:event.confirm_registration,split,end:0
|
||||
msgid "Cancel"
|
||||
msgstr ""
|
||||
msgstr "Katkesta"
|
||||
|
||||
#. module: event
|
||||
#: wizard_button:event.reg_make_invoice,init,open:0
|
||||
msgid "Open"
|
||||
msgstr ""
|
||||
msgstr "Ava"
|
||||
|
||||
#. module: event
|
||||
#: field:event.registration,badge_title:0
|
||||
msgid "Badge Title"
|
||||
msgstr ""
|
||||
msgstr "Embleemi pealkiri"
|
||||
|
||||
#. module: event
|
||||
#: model:ir.actions.act_window,name:event.action_new_event_form
|
||||
#: model:ir.ui.menu,name:event.menu_event_new_event
|
||||
msgid "New event"
|
||||
msgstr ""
|
||||
msgstr "Uus sündmus"
|
||||
|
||||
#. module: event
|
||||
#: field:event.registration,unit_price:0
|
||||
msgid "Unit Price"
|
||||
msgstr ""
|
||||
msgstr "Ühiku hind"
|
||||
|
||||
#. module: event
|
||||
#: model:crm.case.section,name:event.event_2_crm_case_section
|
||||
msgid "Conference on ERP Buisness"
|
||||
msgstr ""
|
||||
msgstr "ERP äri konverents"
|
||||
|
||||
#. module: event
|
||||
#: field:event.registration,badge_partner:0
|
||||
msgid "Badge Partner"
|
||||
msgstr ""
|
||||
msgstr "Partneri embleem"
|
||||
|
||||
#. module: event
|
||||
#: model:ir.actions.act_window,name:event.action_event_view_confirm
|
||||
#: model:ir.ui.menu,name:event.menu_event_event_confirm
|
||||
msgid "Confirmed Events"
|
||||
msgstr ""
|
||||
msgstr "Kinnitatud sündmused"
|
||||
|
||||
#. module: event
|
||||
#: field:event.event,register_max:0
|
||||
#: field:report.event.registration,register_max:0
|
||||
msgid "Maximum Registrations"
|
||||
msgstr ""
|
||||
msgstr "Maks. registreerimised"
|
||||
|
||||
#. module: event
|
||||
#: field:event.event,type:0
|
||||
msgid "Type"
|
||||
msgstr ""
|
||||
msgstr "Tüüp"
|
||||
|
||||
#. module: event
|
||||
#: help:event.event,mail_registr:0
|
||||
msgid "This email will be sent when someone subscribes to the event."
|
||||
msgstr ""
|
||||
msgstr "See e-kiri saadetakse, kui keegi ühineb sündmusega."
|
||||
|
||||
#. module: event
|
||||
#: model:product.template,name:event.event_product_2_product_template
|
||||
msgid "Ticket for Conference"
|
||||
msgstr ""
|
||||
msgstr "Pilet konverentsile"
|
||||
|
||||
#. module: event
|
||||
#: field:event.registration,case_id:0
|
||||
msgid "Case"
|
||||
msgstr ""
|
||||
msgstr "Juhtum"
|
||||
|
||||
#. module: event
|
||||
#: view:event.event:0
|
||||
msgid "Name"
|
||||
msgstr ""
|
||||
msgstr "Nimi"
|
||||
|
||||
#. module: event
|
||||
#: help:event.event,mail_auto_confirm:0
|
||||
@@ -554,6 +556,8 @@ msgid ""
|
||||
"Check this box if you want ot use the automatic confirmation emailing or the "
|
||||
"reminder"
|
||||
msgstr ""
|
||||
"Märgi see kast, kui sa tahad automaatset kinnitamise või meeldetuletuse "
|
||||
"kirja saatmist."
|
||||
|
||||
#. module: event
|
||||
#: help:event.event,mail_confirm:0
|
||||
@@ -562,55 +566,57 @@ msgid ""
|
||||
"subscribes to a confirmed event. This is also the email sent to remind "
|
||||
"someone about the event."
|
||||
msgstr ""
|
||||
"See e-kiri saadetakse, kui sündmus kinnitatakse või keegi ühineb kinnitatud "
|
||||
"sündmusega. See on ka kiri, mis saaadetakse sündmuse meelde tuletuseks."
|
||||
|
||||
#. module: event
|
||||
#: field:event.event,product_id:0
|
||||
msgid "Product"
|
||||
msgstr ""
|
||||
msgstr "Toode"
|
||||
|
||||
#. module: event
|
||||
#: field:event.registration,invoice_label:0
|
||||
msgid "Label Invoice"
|
||||
msgstr ""
|
||||
msgstr "Märgista arve"
|
||||
|
||||
#. module: event
|
||||
#: view:event.registration:0
|
||||
msgid "Payments"
|
||||
msgstr ""
|
||||
msgstr "Maksed"
|
||||
|
||||
#. module: event
|
||||
#: view:event.type:0
|
||||
#: field:report.event.type.registration,name:0
|
||||
msgid "Event Type"
|
||||
msgstr ""
|
||||
msgstr "Sündmuse tüüp"
|
||||
|
||||
#. module: event
|
||||
#: view:event.event:0
|
||||
#: model:ir.actions.act_window,name:event.action_registration
|
||||
#: model:ir.actions.wizard,name:event.wizard_event_registration
|
||||
msgid "Registrations"
|
||||
msgstr ""
|
||||
msgstr "Registreerimised"
|
||||
|
||||
#. module: event
|
||||
#: model:ir.actions.act_window,name:event.action_event_view_draft
|
||||
#: model:ir.ui.menu,name:event.menu_event_event_draft
|
||||
msgid "Draft Events"
|
||||
msgstr ""
|
||||
msgstr "Sündmuste mustandid"
|
||||
|
||||
#. module: event
|
||||
#: model:ir.ui.menu,name:event.menu_event_main
|
||||
msgid "Events Organisation"
|
||||
msgstr ""
|
||||
msgstr "Sündmuste organiseerimine"
|
||||
|
||||
#. module: event
|
||||
#: view:event.registration:0
|
||||
msgid "Actions"
|
||||
msgstr ""
|
||||
msgstr "Toimingud"
|
||||
|
||||
#. module: event
|
||||
#: model:ir.actions.wizard,name:event.wizard_event_reg_partners
|
||||
msgid "List Register Partners"
|
||||
msgstr ""
|
||||
msgstr "Registreeritud partnerite nimekiri"
|
||||
|
||||
#. module: event
|
||||
#: constraint:product.product:0
|
||||
@@ -620,4 +626,4 @@ msgstr "Viga: Vigane EAN kood"
|
||||
#. module: event
|
||||
#: view:event.event:0
|
||||
msgid "Auto Registration Email"
|
||||
msgstr ""
|
||||
msgstr "Automaatne registreerimise e-kiri"
|
||||
|
||||
@@ -13,7 +13,7 @@ msgstr ""
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Launchpad-Export-Date: 2010-06-08 03:41+0000\n"
|
||||
"X-Launchpad-Export-Date: 2010-06-09 03:36+0000\n"
|
||||
"X-Generator: Launchpad (build Unknown)\n"
|
||||
"Language: hr\n"
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@ msgstr ""
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Launchpad-Export-Date: 2010-06-08 03:41+0000\n"
|
||||
"X-Launchpad-Export-Date: 2010-06-09 03:36+0000\n"
|
||||
"X-Generator: Launchpad (build Unknown)\n"
|
||||
|
||||
#. module: hr_evaluation
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<openerp>
|
||||
<data>
|
||||
<report auto="False" id="hr_expenses" model="hr.expense.expense" name="hr.expense" rml="hr_expense/report/expense.rml" string="Print HR expenses"/>
|
||||
<report auto="False" id="hr_expenses" model="hr.expense.expense" name="hr.expense" rml="hr_expense/report/expense.rml" string="HR expenses"/>
|
||||
</data>
|
||||
</openerp>
|
||||
|
||||
@@ -13,7 +13,7 @@ msgstr ""
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Launchpad-Export-Date: 2010-06-08 03:40+0000\n"
|
||||
"X-Launchpad-Export-Date: 2010-06-09 03:35+0000\n"
|
||||
"X-Generator: Launchpad (build Unknown)\n"
|
||||
"Language: hr\n"
|
||||
|
||||
|
||||
@@ -57,7 +57,7 @@
|
||||
</record>
|
||||
|
||||
<record id="action_hr_timesheet_my" model="ir.actions.act_window">
|
||||
<field name="name">Print My Timesheet</field>
|
||||
<field name="name">My Timesheet</field>
|
||||
<field name="res_model">hr.analytical.timesheet.employee</field>
|
||||
<field name="view_type">form</field>
|
||||
<field name="view_mode">tree,form</field>
|
||||
|
||||
@@ -13,7 +13,7 @@ msgstr ""
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Launchpad-Export-Date: 2010-06-08 03:41+0000\n"
|
||||
"X-Launchpad-Export-Date: 2010-06-09 03:35+0000\n"
|
||||
"X-Generator: Launchpad (build Unknown)\n"
|
||||
|
||||
#. module: hr_timesheet_invoice
|
||||
|
||||
@@ -13,7 +13,7 @@ msgstr ""
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Launchpad-Export-Date: 2010-06-08 03:40+0000\n"
|
||||
"X-Launchpad-Export-Date: 2010-06-09 03:35+0000\n"
|
||||
"X-Generator: Launchpad (build Unknown)\n"
|
||||
"Language: hr\n"
|
||||
|
||||
|
||||
@@ -13,7 +13,7 @@ msgstr ""
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Launchpad-Export-Date: 2010-06-08 03:40+0000\n"
|
||||
"X-Launchpad-Export-Date: 2010-06-09 03:35+0000\n"
|
||||
"X-Generator: Launchpad (build Unknown)\n"
|
||||
|
||||
#. module: l10n_fr
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<data>
|
||||
<report
|
||||
id="report_lunch_order"
|
||||
string="Print Order"
|
||||
string="Lunch Order"
|
||||
model="lunch.order"
|
||||
name="lunch.order"
|
||||
rml="lunch/report/order.rml"
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -8,13 +8,13 @@ msgstr ""
|
||||
"Project-Id-Version: openobject-addons\n"
|
||||
"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"POT-Creation-Date: 2009-11-26 05:24+0000\n"
|
||||
"PO-Revision-Date: 2010-04-11 22:28+0000\n"
|
||||
"Last-Translator: Juan Eduardo Riva <juaneduardoriva@gmail.com>\n"
|
||||
"PO-Revision-Date: 2010-06-08 14:19+0000\n"
|
||||
"Last-Translator: victor tejada yau <Unknown>\n"
|
||||
"Language-Team: Spanish <es@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: 2010-04-17 04:21+0000\n"
|
||||
"X-Launchpad-Export-Date: 2010-06-09 03:36+0000\n"
|
||||
"X-Generator: Launchpad (build Unknown)\n"
|
||||
|
||||
#. module: olap
|
||||
@@ -57,7 +57,7 @@ msgstr ""
|
||||
#. module: olap
|
||||
#: field:olap.cube.table,schema_id:0
|
||||
msgid "Schema id"
|
||||
msgstr ""
|
||||
msgstr "Schema id"
|
||||
|
||||
#. module: olap
|
||||
#: field:olap.schema,database_id:0
|
||||
@@ -186,7 +186,7 @@ msgstr ""
|
||||
#. module: olap
|
||||
#: field:olap.measure,formatstring:0
|
||||
msgid "Format string"
|
||||
msgstr ""
|
||||
msgstr "Formato de cadena"
|
||||
|
||||
#. module: olap
|
||||
#: wizard_button:olap.query_builder,exec,exec:0
|
||||
@@ -307,17 +307,17 @@ msgstr "Nombre de la aplicación"
|
||||
#. module: olap
|
||||
#: field:olap.cube.table,column_link_id:0
|
||||
msgid "Relational Column"
|
||||
msgstr ""
|
||||
msgstr "columna relacional"
|
||||
|
||||
#. module: olap
|
||||
#: field:olap.level,type:0
|
||||
msgid "Level class"
|
||||
msgstr ""
|
||||
msgstr "Nivel de clase"
|
||||
|
||||
#. module: olap
|
||||
#: field:olap.cube,name:0
|
||||
msgid "Cube name"
|
||||
msgstr ""
|
||||
msgstr "nombre de cubo"
|
||||
|
||||
#. module: olap
|
||||
#: model:ir.actions.act_window,name:olap.action_view_olap_application_table_form
|
||||
|
||||
@@ -13,7 +13,7 @@ msgstr ""
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Launchpad-Export-Date: 2010-06-08 03:40+0000\n"
|
||||
"X-Launchpad-Export-Date: 2010-06-09 03:35+0000\n"
|
||||
"X-Generator: Launchpad (build Unknown)\n"
|
||||
"Language: hr\n"
|
||||
|
||||
|
||||
@@ -0,0 +1,23 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
##############################################################################
|
||||
#
|
||||
# OpenERP, Open Source Management Solution
|
||||
# Copyright (C) 2004-2010 Tiny SPRL (<http://tiny.be>).
|
||||
#
|
||||
# This program is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Affero General Public License as
|
||||
# published by the Free Software Foundation, either version 3 of the
|
||||
# License, or (at your option) any later version.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU Affero General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Affero General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
##############################################################################
|
||||
import product_price_unit
|
||||
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
|
||||
|
||||
@@ -0,0 +1,39 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
##############################################################################
|
||||
#
|
||||
# OpenERP, Open Source Management Solution
|
||||
# Copyright (C) 2004-2010 Tiny SPRL (<http://tiny.be>).
|
||||
#
|
||||
# This program is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Affero General Public License as
|
||||
# published by the Free Software Foundation, either version 3 of the
|
||||
# License, or (at your option) any later version.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU Affero General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Affero General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
##############################################################################
|
||||
|
||||
{
|
||||
"name" : "Product Price Unit",
|
||||
"version" : "1.1",
|
||||
"author" : "Tiny",
|
||||
"category" : "",
|
||||
"depends" : ["base", 'account','hr_expense','mrp', 'sale'],
|
||||
"init_xml" : [],
|
||||
"demo_xml" : [],
|
||||
"description": """
|
||||
""",
|
||||
'update_xml': [
|
||||
'product_price_unit_data.xml',
|
||||
'product_price_unit_view.xml',
|
||||
],
|
||||
'installable': True,
|
||||
'active': False,
|
||||
}
|
||||
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,32 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<openerp>
|
||||
<data noupdate="1">
|
||||
<!--
|
||||
Resource: product.price.unit
|
||||
-->
|
||||
<record id="pu1" model="product.price.unit">
|
||||
<field name="name">Price/Unit</field>
|
||||
<field name="code"> </field>
|
||||
<field name="coefficient">1</field>
|
||||
</record>
|
||||
|
||||
<record id="pu2" model="product.price.unit">
|
||||
<field name="name">Price/100 Units</field>
|
||||
<field name="code">%</field>
|
||||
<field name="coefficient">100</field>
|
||||
</record>
|
||||
|
||||
<record id="pu3" model="product.price.unit">
|
||||
<field name="name">Price/1000 Units</field>
|
||||
<field name="code">‰</field>
|
||||
<field name="coefficient">1000</field>
|
||||
</record>
|
||||
|
||||
<record id="pu4" model="product.price.unit">
|
||||
<field name="name">Price in Cents</field>
|
||||
<field name="code">¢</field>
|
||||
<field name="coefficient">100</field>
|
||||
</record>
|
||||
|
||||
</data>
|
||||
</openerp>
|
||||
@@ -0,0 +1,196 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<openerp>
|
||||
<data>
|
||||
<!-- Product Form -->
|
||||
<record id="product_normal_form_view" model="ir.ui.view">
|
||||
<field name="name">product_price_unit_form</field>
|
||||
<field name="model">product.product</field>
|
||||
<field name="inherit_id" ref="product.product_normal_form_view"/>
|
||||
<field name="type">form</field>
|
||||
<field name="arch" type="xml">
|
||||
<field name="list_price" position="after">
|
||||
<field name="price_unit_id" on_change="on_change_price_unit(price_unit_id,standard_price,list_price)"/>
|
||||
<field name="standard_price_coeff"/>
|
||||
<field name="list_price_coeff"/>
|
||||
</field>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
<!-- Product Tree -->
|
||||
<record id="product_product_tree_view_value1" model="ir.ui.view">
|
||||
<field name="name">product.product.tree</field>
|
||||
<field name="model">product.product</field>
|
||||
<field name="type">tree</field>
|
||||
<field name="inherit_id" ref="product.product_product_tree_view"/>
|
||||
<field name="arch" type="xml">
|
||||
<field name="qty_available" position="after">
|
||||
<field name="average_price" />
|
||||
<field name="stock_value" sum="Sum Stock Value"/>
|
||||
</field>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
<record id="view_category_property_form_price_unit" model="ir.ui.view">
|
||||
<field name="name">product.category.stock.property.form.inherit</field>
|
||||
<field name="model">product.category</field>
|
||||
<field name="type">form</field>
|
||||
<field name="inherit_id" ref="stock.view_category_property_form"/>
|
||||
<field name="arch" type="xml">
|
||||
<field name="property_stock_journal" position="after">
|
||||
<field name="property_stock_location" domain="[('usage','=','internal')]"/>
|
||||
</field>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
<record id="view_category_allow_negative_form" model="ir.ui.view">
|
||||
<field name="name">product.category.stock.allow_negative.form.inherit</field>
|
||||
<field name="model">product.category</field>
|
||||
<field name="type">form</field>
|
||||
<field name="inherit_id" ref="view_category_property_form_price_unit"/>
|
||||
<field name="arch" type="xml">
|
||||
<field name="sequence" position="after">
|
||||
<field name="allow_negative_stock" />
|
||||
</field>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
<record id="view_normal_property_form_price_unit" model="ir.ui.view">
|
||||
<field name="name">product.normal.stock.property.form.inherit</field>
|
||||
<field name="model">product.product</field>
|
||||
<field name="type">form</field>
|
||||
<field name="inherit_id" ref="stock.view_normal_property_form"/>
|
||||
<field name="arch" type="xml">
|
||||
<field name="property_stock_inventory" position="after">
|
||||
<field name="property_stock_location" domain="[('usage','=','internal')]" widget="selection"/>
|
||||
</field>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
<record id="view_template_allow_negative_form" model="ir.ui.view">
|
||||
<field name="name">product.normal.stock.allow_negative.form.inherit</field>
|
||||
<field name="model">product.product</field>
|
||||
<field name="type">form</field>
|
||||
<field name="inherit_id" ref="view_normal_property_form_price_unit"/>
|
||||
<field name="arch" type="xml">
|
||||
<field name="active" position="after">
|
||||
<field name="allow_negative_stock" />
|
||||
</field>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
<!-- Invoice Line Form -->
|
||||
<record id="view_invoice_line_form1" model="ir.ui.view">
|
||||
<field name="name">invoice_price_unit_form</field>
|
||||
<field name="model">account.invoice.line</field>
|
||||
<field name="inherit_id" ref="account.view_invoice_line_form"/>
|
||||
<field name="type">form</field>
|
||||
<field name="arch" type="xml">
|
||||
<field name="product_id" position="replace">
|
||||
<field name="product_id" on_change="price_product_id_change(product_id, uos_id, quantity, name, parent.type, parent.partner_id, parent.fiscal_position, price_unit, price_unit_id, parent.address_invoice_id, parent.currency_id, {'company_id': parent.company_id})" colspan="4"/>
|
||||
</field>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
<record id="view_invoice_line_form" model="ir.ui.view">
|
||||
<field name="name">invoice_price_unit_form1</field>
|
||||
<field name="model">account.invoice.line</field>
|
||||
<field name="inherit_id" ref="view_invoice_line_form1"/>
|
||||
<field name="type">form</field>
|
||||
<field name="arch" type="xml">
|
||||
<field name="price_unit" position="after">
|
||||
<field name="price_unit_id"/>
|
||||
</field>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
<!-- Invoice Line Tree -->
|
||||
<record id="view_invoice_line_tree" model="ir.ui.view">
|
||||
<field name="name">invoice_price_unit_tree</field>
|
||||
<field name="model">account.invoice.line</field>
|
||||
<field name="inherit_id" ref="account.view_invoice_line_tree"/>
|
||||
<field name="type">tree</field>
|
||||
<field name="arch" type="xml">
|
||||
<field name="discount" position="after">
|
||||
<field name="price_unit_id"/>
|
||||
</field>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
<!-- HR Expense Line Form -->
|
||||
<record id="view_expenses_form" model="ir.ui.view">
|
||||
<field name="name">hr_expense_line_price_unit_form</field>
|
||||
<field name="model">hr.expense.expense</field>
|
||||
<field name="inherit_id" ref="hr_expense.view_expenses_form"/>
|
||||
<field name="type">form</field>
|
||||
<field name="arch" type="xml">
|
||||
<field name="unit_amount" position="after">
|
||||
<field name="price_unit_id"/>
|
||||
</field>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
<!-- HR Expense Line Tree -->
|
||||
<record id="view_expenses_line_tree" model="ir.ui.view">
|
||||
<field name="name">hr_expense_line_price_unit_tree</field>
|
||||
<field name="model">hr.expense.line</field>
|
||||
<field name="inherit_id" ref="hr_expense.view_expenses_line_tree"/>
|
||||
<field name="type">tree</field>
|
||||
<field name="arch" type="xml">
|
||||
<field name="unit_amount" position="after">
|
||||
<field name="price_unit_id"/>
|
||||
</field>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
<!-- MRP bom Form -->
|
||||
<record id="mrp_bom_form_view_inherit" model="ir.ui.view">
|
||||
<field name="name">mrp.bom.form.inherit</field>
|
||||
<field name="model">mrp.bom</field>
|
||||
<field name="inherit_id" ref="mrp.mrp_bom_form_view"/>
|
||||
<field name="type">form</field>
|
||||
<field name="arch" type="xml">
|
||||
<field name="company_id" position="after">
|
||||
<field name="price_unit_id"/>
|
||||
</field>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
<record id="view_order_form_inherit5" model="ir.ui.view">
|
||||
<field name="name">sale.order.form.inherit5</field>
|
||||
<field name="model">sale.order</field>
|
||||
<field name="inherit_id" ref="sale.view_order_form"/>
|
||||
<field name="type">form</field>
|
||||
<field name="arch" type="xml">
|
||||
<xpath expr="/form/notebook/page/field[@name='order_line']/form/notebook/page/field[@name='price_unit']" position="after">
|
||||
<field name="price_unit_id" required="True"/>
|
||||
</xpath>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
<!-- Purchase Order Line Form -->
|
||||
<record id="purchase_order_line_form1" model="ir.ui.view">
|
||||
<field name="name">purchase_order_line_price_unit_form</field>
|
||||
<field name="model">purchase.order.line</field>
|
||||
<field name="inherit_id" ref="purchase.purchase_order_line_form"/>
|
||||
<field name="type">form</field>
|
||||
<field name="arch" type="xml">
|
||||
<field name="price_unit" position="after">
|
||||
<field name="price_unit_id" required="True"/>
|
||||
</field>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
<record id="purchase_order_line_form" model="ir.ui.view">
|
||||
<field name="name">purchase_order_line_price_unit_form</field>
|
||||
<field name="model">purchase.order.line</field>
|
||||
<field name="inherit_id" ref="purchase_order_line_form1"/>
|
||||
<field name="type">form</field>
|
||||
<field name="arch" type="xml">
|
||||
<field name="product_id" position="replace">
|
||||
<field colspan="4" context="partner_id=parent.partner_id,quantity=product_qty,pricelist=parent.pricelist_id,uom=product_uom,warehouse=parent.warehouse_id" name="product_id" on_change="price_product_id_change(parent.pricelist_id,price_unit_id,product_id,product_qty,product_uom,parent.partner_id, parent.date_order, parent.fiscal_position)"/>
|
||||
</field>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
</data>
|
||||
</openerp>
|
||||
@@ -123,7 +123,7 @@ class project(osv.osv):
|
||||
'active': fields.boolean('Active', help="If the active field is set to true, it will allow you to hide the project without removing it."),
|
||||
'sequence': fields.integer('Sequence', help="Gives the sequence order when displaying a list of Projects."),
|
||||
'category_id': fields.many2one('account.analytic.account','Analytic Account', help="Link this project to an analytic account if you need financial management on projects. It enables you to connect projects with budgets, planning, cost and revenue analysis, timesheets on projects, etc."),
|
||||
'priority': fields.integer('Sequence'),
|
||||
'priority': fields.integer('Sequence', help="Gives the sequence order when displaying a list of task"),
|
||||
'warn_manager': fields.boolean('Warn Manager', help="If you check this field, the project manager will receive a request each time a task is completed by his team."),
|
||||
'members': fields.many2many('res.users', 'project_user_rel', 'project_id', 'uid', 'Project Members', help="Project's member. Not used in any computation, just for information purpose."),
|
||||
'tasks': fields.one2many('project.task', 'project_id', "Project tasks"),
|
||||
@@ -150,14 +150,14 @@ class project(osv.osv):
|
||||
if leave['date_start'] > leave['date']:
|
||||
return False
|
||||
return True
|
||||
|
||||
|
||||
def _check_escalation(self, cr, uid, ids):
|
||||
project_obj = self.browse(cr, uid, ids[0])
|
||||
if project_obj.project_escalation_id:
|
||||
if project_obj.project_escalation_id.id == project_obj.id:
|
||||
return False
|
||||
return True
|
||||
|
||||
return True
|
||||
|
||||
_constraints = [
|
||||
(_check_dates, 'Error! project start-date must be lower then project end-date.', ['date_start', 'date']),
|
||||
(_check_escalation, 'Error! You cannot assign escalation to the same project!', ['project_escalation_id'])
|
||||
|
||||
@@ -34,7 +34,7 @@
|
||||
'depends': ['base', 'account', 'stock', 'process', 'mrp_procurement'],
|
||||
'init_xml': [],
|
||||
'update_xml': [
|
||||
|
||||
|
||||
'security/purchase_security.xml',
|
||||
'security/ir.model.access.csv',
|
||||
'purchase_workflow.xml',
|
||||
|
||||
@@ -13,7 +13,7 @@ msgstr ""
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Launchpad-Export-Date: 2010-06-08 03:40+0000\n"
|
||||
"X-Launchpad-Export-Date: 2010-06-09 03:35+0000\n"
|
||||
"X-Generator: Launchpad (build Unknown)\n"
|
||||
|
||||
#. module: purchase
|
||||
|
||||
@@ -23,6 +23,7 @@
|
||||
name="Incoming Shipments" sequence="9"/>
|
||||
<menuitem action="stock.action_reception_picking_move" id="menu_action_reception_picking_move"
|
||||
name="Incoming Products" parent="menu_procurement_management_inventory" sequence="10"/>
|
||||
<menuitem action="stock.action_picking_tree_out" id="menu_action_picking_treeout" parent="menu_procurement_management_inventory" sequence="11"/>
|
||||
|
||||
<!--Invoice control-->
|
||||
<menuitem id="menu_procurement_management_invoice" name="Invoice Control"
|
||||
|
||||
@@ -0,0 +1,203 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<openerp>
|
||||
<data>
|
||||
<record model="ir.ui.view" id="view_purchase_order_graph">
|
||||
<field name="name">product.month.graph</field>
|
||||
<field name="model">purchase.report</field>
|
||||
<field name="type">graph</field>
|
||||
<field name="arch" type="xml">
|
||||
<graph string="Purchase Orders Statistics" type="bar">
|
||||
<field name="product_id"/>
|
||||
<field name="quantity" operator="+"/>
|
||||
<field name="price_total" operator="+"/>
|
||||
</graph>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
<record id="view_purchase_order_tree" model="ir.ui.view">
|
||||
<field name="name">purchase.order.tree</field>
|
||||
<field name="model">purchase.report</field>
|
||||
<field name="type">tree</field>
|
||||
<field name="arch" type="xml">
|
||||
<tree string="Purchase Orders Statistics">
|
||||
<field name="date" invisible="1"/>
|
||||
<field name="date_approve" invisible="1"/>
|
||||
<field name="expected_date" invisible="1"/>
|
||||
<field name="user_id" invisible="1"/>
|
||||
<field name="partner_id" invisible="1"/>
|
||||
<field name="product_id" invisible="1"/>
|
||||
<field name="quantity" invisible="1"/>
|
||||
<field name="day" invisible="1"/>
|
||||
<field name="name" invisible="1"/>
|
||||
<field name="month" invisible="1"/>
|
||||
<field name="warehouse_id" invisible="1"/>
|
||||
<field name="validator" invisible="1"/>
|
||||
<field name="company_id" invisible="1"/>
|
||||
<field name="state" invisible="1"/>
|
||||
<field name="location_id" invisible="1"/>
|
||||
<field name="shipped_qty" sum="# of received"/>
|
||||
<field name="invoiced_qty" sum="# of invoiced"/>
|
||||
<field name="nbr" sum="# of Lines"/>
|
||||
<field name="price_average" avg="Average Price"/>
|
||||
<field name="price_total" sum="Total Price"/>
|
||||
<field name="delay" sum="# Days to close"/>
|
||||
<field name="delay_pass" sum="Total Price"/>
|
||||
</tree>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
<record id="view_purchase_order_search" model="ir.ui.view">
|
||||
<field name="name">report.purchase.order.search</field>
|
||||
<field name="model">purchase.report</field>
|
||||
<field name="type">search</field>
|
||||
<field name="arch" type="xml">
|
||||
<search string="Purchase Orders">
|
||||
<group colspan="10" col="12">
|
||||
<filter icon="terp-purchase" string="This Year"
|
||||
domain="[('date','<=', time.strftime('%%Y-%%m-%%d')),('date','>',(datetime.date.today()-datetime.timedelta(days=365)).strftime('%%Y-%%m-%%d'))]"
|
||||
help="Tasks performed in this year"/>
|
||||
<filter icon="terp-purchase" string="This Month"
|
||||
name="month"
|
||||
domain="[('date','<=', time.strftime('%%Y-%%m-%%d')), ('date','>',(datetime.date.today()-datetime.timedelta(days=30)).strftime('%%Y-%%m-%%d'))]"
|
||||
help="Tasks performed in this month"/>
|
||||
<filter icon="gtk-media-rewind"
|
||||
string=" 7 Days "
|
||||
separator="1"
|
||||
domain="[('date','<=', time.strftime('%%Y-%%m-%%d')), ('date','>',(datetime.date.today()-datetime.timedelta(days=7)).strftime('%%Y-%%m-%%d'))]"
|
||||
help="Tasks during last 7 days"/>
|
||||
<separator orientation="vertical"/>
|
||||
<filter icon="terp-purchase"
|
||||
string="Quotations"
|
||||
domain="[('state','=','draft')]"/>
|
||||
<filter icon="terp-purchase"
|
||||
string="Waiting Schedule"
|
||||
domain="[('state','=','waiting_date')]"/>
|
||||
<filter icon="terp-purchase"
|
||||
string="Manual in progress"
|
||||
domain="[('state','=','manual')]"/>
|
||||
<filter icon="terp-purchase" string="Done" domain="[('state','=','done')]"/>
|
||||
|
||||
<separator orientation="vertical"/>
|
||||
<field name="partner_id" string="Supplier"/>
|
||||
<field name="product_id"/>
|
||||
<field name="user_id" widget="selection">
|
||||
<filter icon="terp-purchase"
|
||||
string="Purchase Non User"
|
||||
help="Purchase Non User"
|
||||
domain="[('user_id','=',False)]"/>
|
||||
</field>
|
||||
</group>
|
||||
<newline/>
|
||||
<group expand="1" string="Group By..." colspan="10" col="12">
|
||||
<filter string="Responsible" name="Responsible" icon="terp-purchase" context="{'group_by':'user_id'}"/>
|
||||
<filter string="Supplier" name="partner_id" icon="terp-purchase" context="{'group_by':'partner_id'}"/>
|
||||
<filter string="Validated by" icon="terp-purchase" context="{'group_by':'validator'}"/>
|
||||
<separator orientation="vertical"/>
|
||||
<filter string="Product" icon="terp-purchase" context="{'group_by':'product_id'}"/>
|
||||
<separator orientation="vertical"/>
|
||||
<filter string="State" icon="terp-purchase" context="{'group_by':'state'}"/>
|
||||
<separator orientation="vertical"/>
|
||||
<filter string="Warehouse" icon="terp-purchase" context="{'group_by':'warehouse_id'}"/>
|
||||
<filter string="Destination" icon="terp-purchase" context="{'group_by':'location_id'}"/>
|
||||
<filter string="Company" icon="terp-purchase" context="{'group_by':'company_id'}" groups="base.group_multi_company"/>
|
||||
<separator orientation="vertical"/>
|
||||
<filter string="Day" icon="terp-purchase" context="{'group_by':'day'}"/>
|
||||
<filter string="Month" icon="terp-purchase" context="{'group_by':'month'}"/>
|
||||
<filter string="Year" icon="terp-purchase" context="{'group_by':'name'}"/>
|
||||
</group>
|
||||
<newline/>
|
||||
<group expand="0" string="Extended filters..." colspan="10" col="12" groups="base.group_extended">
|
||||
<field name="date"/>
|
||||
<field name="date_approve"/>
|
||||
<field name="expected_date"/>
|
||||
<newline/>
|
||||
<field name="invoice_method"/>
|
||||
<field name="warehouse_id" widget="selection"/>
|
||||
<field name="validator" widget="selection"/>
|
||||
<separator orientation="vertical"/>
|
||||
<field name="location_id"/>
|
||||
<field name="company_id" groups="base.group_multi_company" widget="selection"/>
|
||||
</group>
|
||||
</search>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
<record id="action_purchase_order_report_all" model="ir.actions.act_window">
|
||||
<field name="name">Purchase Orders</field>
|
||||
<field name="res_model">purchase.report</field>
|
||||
<field name="view_type">form</field>
|
||||
<field name="view_mode">tree,graph</field>
|
||||
<field name="search_view_id" ref="view_purchase_order_search"/>
|
||||
<field name="context">{'search_default_month':1,'search_default_Responsible':1,'group_by_no_leaf':1,'group_by':[]}</field>
|
||||
</record>
|
||||
|
||||
<menuitem id="base.next_id_73" name="Reporting" parent="base.menu_purchase_root" sequence="8"/>
|
||||
<menuitem action="action_purchase_order_report_all" id="menu_action_purchase_order_report_all" parent="base.next_id_73" sequence="3"/>
|
||||
|
||||
<record model="ir.ui.view" id="view_purchase_order_qty_amount_graph">
|
||||
<field name="name">purchase.order.qty.amount.graph</field>
|
||||
<field name="model">purchase.order.qty.amount</field>
|
||||
<field name="type">graph</field>
|
||||
<field name="arch" type="xml">
|
||||
<graph string="Total Qty and Amount by month" type="bar">
|
||||
<field name="month"/>
|
||||
<field name="total_qty" operator="+"/>
|
||||
<field name="total_amount" operator="+"/>
|
||||
</graph>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
<record model="ir.ui.view" id="view_purchase_order_qty_amount_tree">
|
||||
<field name="name">purchase.order.qty.amount.tree</field>
|
||||
<field name="model">purchase.order.qty.amount</field>
|
||||
<field name="type">tree</field>
|
||||
<field name="arch" type="xml">
|
||||
<tree string="Total Qty and Amount by month" >
|
||||
<field name="month"/>
|
||||
<field name="total_qty" />
|
||||
<field name="total_amount"/>
|
||||
</tree>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
<record id="action_purchase_order_qty_amount_all" model="ir.actions.act_window">
|
||||
<field name="name">Total Qty and Amount by month</field>
|
||||
<field name="res_model">purchase.order.qty.amount</field>
|
||||
<field name="view_type">form</field>
|
||||
<field name="view_mode">graph,tree</field>
|
||||
</record>
|
||||
|
||||
<record model="ir.ui.view" id="view_purchase_order_by_user_graph">
|
||||
<field name="name">purchase.order.by.user.graph</field>
|
||||
<field name="model">purchase.order.by.user</field>
|
||||
<field name="type">graph</field>
|
||||
<field name="arch" type="xml">
|
||||
<graph string="Total Orders by User per month" type="bar">
|
||||
<field name="name" />
|
||||
<field name="month" group="True" />
|
||||
<field name="nbr" operator="+"/>
|
||||
</graph>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
<record model="ir.ui.view" id="view_purchase_order_by_user_tree">
|
||||
<field name="name">purchase.order.by.user.tree</field>
|
||||
<field name="model">purchase.order.by.user</field>
|
||||
<field name="type">tree</field>
|
||||
<field name="arch" type="xml">
|
||||
<tree string="Total Orders by User per month" >
|
||||
<field name="name"/>
|
||||
<field name="month"/>
|
||||
<field name="nbr" />
|
||||
</tree>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
<record id="action_purchase_order_by_user_all" model="ir.actions.act_window">
|
||||
<field name="name">Total Orders by User per month</field>
|
||||
<field name="res_model">purchase.order.by.user</field>
|
||||
<field name="view_type">form</field>
|
||||
<field name="view_mode">graph,tree</field>
|
||||
</record>
|
||||
</data>
|
||||
</openerp>
|
||||
@@ -13,7 +13,7 @@ msgstr ""
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Launchpad-Export-Date: 2010-06-08 03:40+0000\n"
|
||||
"X-Launchpad-Export-Date: 2010-06-09 03:35+0000\n"
|
||||
"X-Generator: Launchpad (build Unknown)\n"
|
||||
"Language: hr\n"
|
||||
|
||||
|
||||
@@ -13,7 +13,7 @@ msgstr ""
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Launchpad-Export-Date: 2010-06-08 03:40+0000\n"
|
||||
"X-Launchpad-Export-Date: 2010-06-09 03:35+0000\n"
|
||||
"X-Generator: Launchpad (build Unknown)\n"
|
||||
"Language: hr\n"
|
||||
|
||||
|
||||
@@ -13,7 +13,7 @@ msgstr ""
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Launchpad-Export-Date: 2010-06-08 03:40+0000\n"
|
||||
"X-Launchpad-Export-Date: 2010-06-09 03:35+0000\n"
|
||||
"X-Generator: Launchpad (build Unknown)\n"
|
||||
"Language: hr\n"
|
||||
|
||||
|
||||
@@ -13,7 +13,7 @@ msgstr ""
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Launchpad-Export-Date: 2010-06-08 03:41+0000\n"
|
||||
"X-Launchpad-Export-Date: 2010-06-09 03:36+0000\n"
|
||||
"X-Generator: Launchpad (build Unknown)\n"
|
||||
"Language: hr\n"
|
||||
|
||||
|
||||
@@ -13,7 +13,7 @@ msgstr ""
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Launchpad-Export-Date: 2010-06-08 03:40+0000\n"
|
||||
"X-Launchpad-Export-Date: 2010-06-09 03:35+0000\n"
|
||||
"X-Generator: Launchpad (build Unknown)\n"
|
||||
"Language: hr\n"
|
||||
|
||||
|
||||
@@ -13,7 +13,7 @@ msgstr ""
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Launchpad-Export-Date: 2010-06-08 03:40+0000\n"
|
||||
"X-Launchpad-Export-Date: 2010-06-09 03:35+0000\n"
|
||||
"X-Generator: Launchpad (build Unknown)\n"
|
||||
"Language: hr\n"
|
||||
|
||||
|
||||
@@ -13,7 +13,7 @@ msgstr ""
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Launchpad-Export-Date: 2010-06-08 03:40+0000\n"
|
||||
"X-Launchpad-Export-Date: 2010-06-09 03:35+0000\n"
|
||||
"X-Generator: Launchpad (build Unknown)\n"
|
||||
"Language: hr\n"
|
||||
|
||||
|
||||
@@ -13,7 +13,7 @@ msgstr ""
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Launchpad-Export-Date: 2010-06-08 03:41+0000\n"
|
||||
"X-Launchpad-Export-Date: 2010-06-09 03:35+0000\n"
|
||||
"X-Generator: Launchpad (build Unknown)\n"
|
||||
"Language: hr\n"
|
||||
|
||||
|
||||
@@ -13,7 +13,7 @@ msgstr ""
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Launchpad-Export-Date: 2010-06-08 03:41+0000\n"
|
||||
"X-Launchpad-Export-Date: 2010-06-09 03:36+0000\n"
|
||||
"X-Generator: Launchpad (build Unknown)\n"
|
||||
|
||||
#. module: report_task
|
||||
|
||||
@@ -14,7 +14,7 @@ msgstr ""
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Launchpad-Export-Date: 2010-06-08 03:40+0000\n"
|
||||
"X-Launchpad-Export-Date: 2010-06-09 03:35+0000\n"
|
||||
"X-Generator: Launchpad (build Unknown)\n"
|
||||
|
||||
#. module: sale
|
||||
|
||||
@@ -13,7 +13,7 @@ msgstr ""
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Launchpad-Export-Date: 2010-06-08 03:40+0000\n"
|
||||
"X-Launchpad-Export-Date: 2010-06-09 03:35+0000\n"
|
||||
"X-Generator: Launchpad (build Unknown)\n"
|
||||
"Language: hr\n"
|
||||
|
||||
|
||||
@@ -13,7 +13,7 @@ msgstr ""
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Launchpad-Export-Date: 2010-06-08 03:40+0000\n"
|
||||
"X-Launchpad-Export-Date: 2010-06-09 03:35+0000\n"
|
||||
"X-Generator: Launchpad (build Unknown)\n"
|
||||
"Language: hr\n"
|
||||
|
||||
|
||||
@@ -13,7 +13,7 @@ msgstr ""
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Launchpad-Export-Date: 2010-06-08 03:40+0000\n"
|
||||
"X-Launchpad-Export-Date: 2010-06-09 03:35+0000\n"
|
||||
"X-Generator: Launchpad (build Unknown)\n"
|
||||
"Language: hr\n"
|
||||
|
||||
|
||||
@@ -28,8 +28,8 @@ import re
|
||||
class scrum_project(osv.osv):
|
||||
_inherit = 'project.project'
|
||||
_columns = {
|
||||
'product_owner_id': fields.many2one('res.users', 'Product Owner'),
|
||||
'sprint_size': fields.integer('Sprint Days',help="Number of days allocated for sprint"),
|
||||
'product_owner_id': fields.many2one('res.users', 'Product Owner', help="The person who is responsible for the product"),
|
||||
'sprint_size': fields.integer('Sprint Days', help="Number of days allocated for sprint"),
|
||||
'scrum': fields.integer('Is a Scrum Project'),
|
||||
}
|
||||
_defaults = {
|
||||
|
||||
@@ -0,0 +1,22 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
##############################################################################
|
||||
#
|
||||
# OpenERP, Open Source Management Solution
|
||||
# Copyright (C) 2004-2010 Tiny SPRL (<http://tiny.be>).
|
||||
#
|
||||
# This program is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Affero General Public License as
|
||||
# published by the Free Software Foundation, either version 3 of the
|
||||
# License, or (at your option) any later version.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU Affero General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Affero General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
##############################################################################
|
||||
import share
|
||||
import wizard
|
||||
@@ -0,0 +1,44 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
##############################################################################
|
||||
#
|
||||
# OpenERP, Open Source Management Solution
|
||||
# Copyright (C) 2004-2010 Tiny SPRL (<http://tiny.be>).
|
||||
#
|
||||
# This program is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Affero General Public License as
|
||||
# published by the Free Software Foundation, either version 3 of the
|
||||
# License, or (at your option) any later version.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU Affero General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Affero General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
##############################################################################
|
||||
|
||||
|
||||
{
|
||||
"name" : "Share Management",
|
||||
"version" : "1.1",
|
||||
"depends" : ["base"],
|
||||
"author" : "Tiny",
|
||||
"category": 'Generic Modules',
|
||||
"description": """The goal is to implement a generic sharing mechanism, where user of OpenERP
|
||||
can share data from OpenERP to their colleagues, customers, or friends.
|
||||
The system will work by creating new users and groups on the fly, and by
|
||||
combining the appropriate access rights and ir.rules to ensure that the /shared
|
||||
users/ will only have access to the correct data.
|
||||
""",
|
||||
'website': 'http://www.openerp.com',
|
||||
'init_xml': [],
|
||||
'update_xml': [
|
||||
'share_view.xml',
|
||||
'wizard/share_wizard_view.xml'
|
||||
],
|
||||
'installable': True,
|
||||
'active': False,
|
||||
}
|
||||
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
|
||||
@@ -0,0 +1,36 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
##############################################################################
|
||||
#
|
||||
# OpenERP, Open Source Management Solution
|
||||
# Copyright (C) 2004-2010 Tiny SPRL (<http://tiny.be>).
|
||||
#
|
||||
# This program is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Affero General Public License as
|
||||
# published by the Free Software Foundation, either version 3 of the
|
||||
# License, or (at your option) any later version.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU Affero General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Affero General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
##############################################################################
|
||||
from osv import fields, osv, orm
|
||||
class res_groups(osv.osv):
|
||||
_name = "res.groups"
|
||||
_inherit = 'res.groups'
|
||||
_columns = {
|
||||
'share': fields.boolean('Share')
|
||||
}
|
||||
res_groups()
|
||||
|
||||
class res_users(osv.osv):
|
||||
_name = 'res.users'
|
||||
_inherit = 'res.users'
|
||||
_columns = {
|
||||
'share': fields.boolean('Share')
|
||||
}
|
||||
res_users()
|
||||
@@ -0,0 +1,27 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<openerp>
|
||||
<data>
|
||||
<record id="view_groups_form" model="ir.ui.view">
|
||||
<field name="name">res.groups.form</field>
|
||||
<field name="model">res.groups</field>
|
||||
<field name="type">form</field>
|
||||
<field name="inherit_id" ref="base.view_groups_form"/>
|
||||
<field name="arch" type="xml">
|
||||
<field name="name" position="after">
|
||||
<field name="share"/>
|
||||
</field>
|
||||
</field>
|
||||
</record>
|
||||
<record id="view_users_form" model="ir.ui.view">
|
||||
<field name="name">res.users.form</field>
|
||||
<field name="model">res.users</field>
|
||||
<field name="type">form</field>
|
||||
<field name="inherit_id" ref="base.view_users_form"/>
|
||||
<field name="arch" type="xml">
|
||||
<field name="password" position="after">
|
||||
<field name="share"/>
|
||||
</field>
|
||||
</field>
|
||||
</record>
|
||||
</data>
|
||||
</openerp>
|
||||
@@ -0,0 +1,22 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
##############################################################################
|
||||
#
|
||||
# OpenERP, Open Source Management Solution
|
||||
# Copyright (C) 2004-2010 Tiny SPRL (<http://tiny.be>).
|
||||
#
|
||||
# This program is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Affero General Public License as
|
||||
# published by the Free Software Foundation, either version 3 of the
|
||||
# License, or (at your option) any later version.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU Affero General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Affero General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
##############################################################################
|
||||
|
||||
import share_wizard
|
||||
@@ -0,0 +1,430 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
##############################################################################
|
||||
#
|
||||
# OpenERP, Open Source Management Solution
|
||||
# Copyright (C) 2004-2010 Tiny SPRL (<http://tiny.be>).
|
||||
#
|
||||
# This program is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Affero General Public License as
|
||||
# published by the Free Software Foundation, either version 3 of the
|
||||
# License, or (at your option) any later version.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU Affero General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Affero General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
##############################################################################
|
||||
from osv import osv, fields
|
||||
from tools.translate import _
|
||||
import tools
|
||||
|
||||
def _generate_random_number():
|
||||
import random
|
||||
RANDOM_PASS_CHARACTERS = [chr(x) for x in range(48,58) + range(97,123) + range(65,91)]
|
||||
RANDOM_PASS_CHARACTERS.remove('l') #lowercase l, easily mistaken as one or capital i
|
||||
RANDOM_PASS_CHARACTERS.remove('I') #uppercase i, easily mistaken as one or lowercase l
|
||||
RANDOM_PASS_CHARACTERS.remove('O') #uppercase o, mistaken with zero
|
||||
RANDOM_PASS_CHARACTERS.remove('o') #lowercase o, mistaken with zero
|
||||
RANDOM_PASS_CHARACTERS.remove('0') #zero, mistaken with o-letter
|
||||
def generate_random_pass():
|
||||
pass_chars = RANDOM_PASS_CHARACTERS[:]
|
||||
random.shuffle(pass_chars)
|
||||
return ''.join(pass_chars[0:10])
|
||||
return generate_random_pass()
|
||||
|
||||
class share_create(osv.osv_memory):
|
||||
_name = 'share.create'
|
||||
_description = 'Create share'
|
||||
|
||||
def _access(self, cr, uid, ids, field_name, arg, context=None):
|
||||
if context is None:
|
||||
context = {}
|
||||
res = {}
|
||||
action_id = context.get('action_id', False)
|
||||
access_obj = self.pool.get('ir.model.access')
|
||||
action_obj = self.pool.get('ir.actions.act_window')
|
||||
model_obj = self.pool.get('ir.model')
|
||||
user_obj = self.pool.get('res.users')
|
||||
current_user = user_obj.browse(cr, uid, uid)
|
||||
access_ids = []
|
||||
if action_id:
|
||||
action = action_obj.browse(cr, uid, action_id, context=context)
|
||||
active_model_ids = model_obj.search(cr, uid, [('model','=',action.res_model)])
|
||||
active_model_id = active_model_ids and active_model_ids[0] or False
|
||||
access_ids = access_obj.search(cr, uid, [
|
||||
('group_id','in',map(lambda x:x.id, current_user.groups_id)),
|
||||
('model_id','',active_model_id)])
|
||||
for rec_id in ids:
|
||||
write_access = False
|
||||
read_access = False
|
||||
for access in access_obj.browse(cr, uid, access_ids, context=context):
|
||||
if access.perm_write:
|
||||
write_access = True
|
||||
if access.perm_read:
|
||||
read_access = True
|
||||
res[rec_id]['write_access'] = write_access
|
||||
res[rec_id]['read_access'] = read_access
|
||||
return res
|
||||
|
||||
_columns = {
|
||||
'action_id': fields.many2one('ir.actions.act_window', 'Action', required=True),
|
||||
'domain': fields.char('Domain', size=64),
|
||||
'user_type': fields.selection( [ ('existing','Existing'),('new','New')],'User Type'),
|
||||
'user_ids': fields.many2many('res.users', 'share_user_rel', 'share_id','user_id', 'Share Users'),
|
||||
'new_user': fields.text("New user"),
|
||||
'access_mode': fields.selection( [ ('readonly','READ ONLY'),('readwrite','READ & WRITE')],'Access Mode'),
|
||||
'write_access': fields.function(_access, method=True, string='Write Access',type='boolean', multi='write_access'),
|
||||
'read_access': fields.function(_access, method=True, string='Write Access',type='boolean', multi='read_access'),
|
||||
}
|
||||
_defaults = {
|
||||
'user_type' : 'existing',
|
||||
'domain': '[]',
|
||||
'access_mode': 'readonly'
|
||||
}
|
||||
|
||||
def default_get(self, cr, uid, fields, context=None):
|
||||
"""
|
||||
To get default values for the object.
|
||||
"""
|
||||
|
||||
res = super(share_create, self).default_get(cr, uid, fields, context=context)
|
||||
if not context:
|
||||
context={}
|
||||
action_id = context.get('action_id', False)
|
||||
domain = context.get('domain', '[]')
|
||||
|
||||
|
||||
if 'action_id' in fields:
|
||||
res['action_id'] = action_id
|
||||
if 'domain' in fields:
|
||||
res['domain'] = domain
|
||||
return res
|
||||
|
||||
def do_step_1(self, cr, uid, ids, context=None):
|
||||
"""
|
||||
This action to excute step 1
|
||||
|
||||
"""
|
||||
if not context:
|
||||
context = {}
|
||||
|
||||
data_obj = self.pool.get('ir.model.data')
|
||||
|
||||
step1_form_view = data_obj._get_id(cr, uid, 'share', 'share_step1_form')
|
||||
|
||||
if step1_form_view:
|
||||
step1_form_view_id = data_obj.browse(cr, uid, step1_form_view, context=context).res_id
|
||||
|
||||
step1_id = False
|
||||
for this in self.browse(cr, uid, ids, context=context):
|
||||
vals ={
|
||||
'domain': this.domain,
|
||||
'action_id': this.action_id and this.action_id.id or False,
|
||||
}
|
||||
|
||||
context.update(vals)
|
||||
value = {
|
||||
'name': _('Step:2 Sharing Wizard'),
|
||||
'view_type': 'form',
|
||||
'view_mode': 'form',
|
||||
'res_model': 'share.create',
|
||||
'view_id': False,
|
||||
'views': [(step1_form_view_id, 'form'), (False, 'tree'), (False, 'calendar'), (False, 'graph')],
|
||||
'type': 'ir.actions.act_window',
|
||||
'context': context,
|
||||
'target': 'new'
|
||||
}
|
||||
return value
|
||||
|
||||
|
||||
def do_step_2(self, cr, uid, ids, context=None):
|
||||
"""
|
||||
This action to excute step 2
|
||||
|
||||
"""
|
||||
if not context:
|
||||
context = {}
|
||||
|
||||
data_obj = self.pool.get('ir.model.data')
|
||||
|
||||
step2_form_view = data_obj._get_id(cr, uid, 'share', 'share_step2_form')
|
||||
|
||||
if step2_form_view:
|
||||
step2_form_view_id = data_obj.browse(cr, uid, step2_form_view, context=context).res_id
|
||||
|
||||
step1_id = False
|
||||
for this in self.browse(cr, uid, ids, context=context):
|
||||
vals ={
|
||||
'user_type': this.user_type,
|
||||
'existing_user_ids': map(lambda x:x.id, this.user_ids),
|
||||
'new_user': this.new_user,
|
||||
'domain': this.domain,
|
||||
'access_mode': this.access_mode,
|
||||
'action_id': this.action_id and this.action_id.id or False
|
||||
}
|
||||
|
||||
context.update(vals)
|
||||
value = {
|
||||
'name': _('Step:3 Sharing Wizard'),
|
||||
'view_type': 'form',
|
||||
'view_mode': 'form',
|
||||
'res_model': 'share.create',
|
||||
'view_id': False,
|
||||
'views': [(step2_form_view_id, 'form'), (False, 'tree'), (False, 'calendar'), (False, 'graph')],
|
||||
'type': 'ir.actions.act_window',
|
||||
'context': context,
|
||||
'target': 'new'
|
||||
}
|
||||
return value
|
||||
|
||||
|
||||
def do_step_3(self, cr, uid, ids, context=None):
|
||||
"""
|
||||
This action to excute step 3
|
||||
|
||||
"""
|
||||
if not context:
|
||||
context = {}
|
||||
|
||||
group_obj = self.pool.get('res.groups')
|
||||
user_obj = self.pool.get('res.users')
|
||||
fields_obj = self.pool.get('ir.model.fields')
|
||||
model_access_obj = self.pool.get('ir.model.access')
|
||||
model_obj = self.pool.get('ir.model')
|
||||
rule_obj = self.pool.get('ir.rule')
|
||||
action_obj = self.pool.get('ir.actions.act_window')
|
||||
|
||||
new_users = context.get('new_user', False)
|
||||
action_id = context.get('action_id', False)
|
||||
user_type = context.get('user_type', False)
|
||||
access_mode = context.get('access_mode', False)
|
||||
action = action_obj.browse(cr, uid, action_id, context=context)
|
||||
active_model = action.res_model
|
||||
|
||||
active_id = False #TODO: Pass record id of res_model of action
|
||||
existing_user_ids = context.get('existing_user_ids', False)
|
||||
domain = eval(context.get('domain', '[]'))
|
||||
|
||||
# Create Share Group
|
||||
share_group_name = '%s: %s' %('Sharing', active_model)
|
||||
group_ids = group_obj.search(cr, uid, [('name','=',share_group_name)])
|
||||
group_id = group_ids and group_ids[0] or False
|
||||
if not group_id:
|
||||
group_id = group_obj.create(cr, uid, {'name': share_group_name, 'share': True})
|
||||
else:
|
||||
group = group_obj.browse(cr, uid, group_id, context=context)
|
||||
if not group.share:
|
||||
raise osv.except_osv(_('Error'), _("Share Group is exits without sharing !"))
|
||||
|
||||
# Create new user
|
||||
|
||||
current_user = user_obj.browse(cr, uid, uid)
|
||||
user_ids = []
|
||||
if user_type == 'new' and new_users:
|
||||
for new_user in new_users.split('\n'):
|
||||
password = _generate_random_number()
|
||||
user_id = user_obj.create(cr, uid, {
|
||||
'login': new_user,
|
||||
'password': password,
|
||||
'name': new_user,
|
||||
'user_email': new_user,
|
||||
'groups_id': [(6,0,[group_id])],
|
||||
'action_id': action_id,
|
||||
'share': True,
|
||||
'company_id': current_user.company_id and current_user.company_id.id})
|
||||
user_ids.append(user_id)
|
||||
context['new_user_ids'] = user_ids
|
||||
|
||||
# Modify existing user
|
||||
if user_type == 'existing':
|
||||
user_obj.write(cr, uid, existing_user_ids , {
|
||||
'groups_id': [(4,group_id)],
|
||||
'action_id': action_id
|
||||
})
|
||||
|
||||
|
||||
#ACCESS RIGHTS / IR.RULES COMPUTATION
|
||||
#TODO: TO Resolve Recurrent Problems
|
||||
active_model_ids = model_obj.search(cr, uid, [('model','=',active_model)])
|
||||
active_model_id = active_model_ids and active_model_ids[0] or False
|
||||
|
||||
def _get_relation(model_id, ttypes, new_obj=[]):
|
||||
obj = []
|
||||
models = map(lambda x:x[1].model, new_obj)
|
||||
field_ids = fields_obj.search(cr, uid, [('model_id','=',model_id),('ttype','in', ttypes)])
|
||||
for field in fields_obj.browse(cr, uid, field_ids, context=context):
|
||||
if field.relation not in models:
|
||||
relation_model_ids = model_obj.search(cr, uid, [('model','=',field.relation)])
|
||||
relation_model_id = relation_model_ids and relation_model_ids[0] or False
|
||||
relation_model = model_obj.browse(cr, uid, relation_model_id, context=context)
|
||||
obj.append((field.relation_field, relation_model))
|
||||
|
||||
if relation_model_id != model_id and field.ttype in ['one2many', 'many2many']:
|
||||
obj += _get_relation(relation_model_id, [field.ttype], obj)
|
||||
|
||||
return obj
|
||||
|
||||
obj0 = model_obj.browse(cr, uid, active_model_id, context=context)
|
||||
obj1 = _get_relation(active_model_id, ['one2many'])
|
||||
obj2 = _get_relation(active_model_id, ['one2many', 'many2many'])
|
||||
obj3 = _get_relation(active_model_id, ['many2one'])
|
||||
for rel_field, model in obj1:
|
||||
obj3 += _get_relation(model.id, ['many2one'])
|
||||
if access_mode == 'readonly':
|
||||
for rel_field, model in obj1+obj2+obj3:
|
||||
model_access_obj.create(cr, uid, {
|
||||
'name': 'Read Access of group %s on %s model'%(share_group_name, model.name),
|
||||
'model_id' : model.id,
|
||||
'group_id' : group_id,
|
||||
'perm_read' : True
|
||||
})
|
||||
if access_mode == 'readwrite':
|
||||
for rel_field, model in obj1+obj2+obj3:
|
||||
model_access_obj.create(cr, uid, {
|
||||
'name': 'Read Access of group %s on %s model'%(share_group_name, model.name),
|
||||
'model_id' : model.id,
|
||||
'group_id' : group_id,
|
||||
'perm_read' : True,
|
||||
'perm_write' : True
|
||||
})
|
||||
for rel_field, model in obj2+obj3:
|
||||
model_access_obj.create(cr, uid, {
|
||||
'name': 'Read Access of group %s on %s model'%(share_group_name, model.name),
|
||||
'model_id' : model.id,
|
||||
'group_id' : group_id,
|
||||
'perm_read' : True
|
||||
})
|
||||
|
||||
rule_obj.create(cr, uid, {
|
||||
'name': '%s-%s'%(share_group_name, obj0.model),
|
||||
'model_id': obj0.id,
|
||||
'domain': domain,
|
||||
'group_ids': [(6,0,[group_id])]
|
||||
})
|
||||
for rel_field, model in obj1:
|
||||
obj1_domain = []
|
||||
for opr1, opt, opr2 in domain:
|
||||
new_opr1 = '%s.%s'%(rel_field, opr1)
|
||||
obj1_domain.append((new_opr1, opt, opr2))
|
||||
|
||||
rule_obj.create(cr, uid, {
|
||||
'name': '%s-%s'%(share_group_name, model.model),
|
||||
'model_id': model.id,
|
||||
'domain': obj1_domain,
|
||||
'groups': [(6,0,[group_id])]
|
||||
})
|
||||
# TODO:
|
||||
# And on OBJ0, OBJ1, OBJ2, OBJ3: add all rules from groups of the user
|
||||
# that is sharing in the many2many of the rules on the new group
|
||||
# (rule must be copied instead of adding it if it contains a reference to uid
|
||||
# or user.xxx so it can be replaced correctly)
|
||||
context['share_model'] = active_model
|
||||
context['share_rec_id'] = active_id
|
||||
|
||||
|
||||
data_obj = self.pool.get('ir.model.data')
|
||||
|
||||
form_view = data_obj._get_id(cr, uid, 'share', 'share_result_form')
|
||||
form_view_id = False
|
||||
if form_view:
|
||||
form_view_id = data_obj.browse(cr, uid, form_view, context=context).res_id
|
||||
|
||||
|
||||
value = {
|
||||
'name': _('Step:4 Share Users Detail'),
|
||||
'view_type': 'form',
|
||||
'view_mode': 'form',
|
||||
'res_model': 'share.result',
|
||||
'view_id': False,
|
||||
'views': [(form_view_id, 'form'), (False, 'tree'), (False, 'calendar'), (False, 'graph')],
|
||||
'type': 'ir.actions.act_window',
|
||||
'context': context,
|
||||
'target': 'new'
|
||||
}
|
||||
return value
|
||||
share_create()
|
||||
|
||||
|
||||
class share_result(osv.osv_memory):
|
||||
_name = "share.result"
|
||||
_columns = {
|
||||
'users': fields.text("Users", readonly=True),
|
||||
}
|
||||
|
||||
|
||||
|
||||
def do_send_email(self, cr, uid, ids, context=None):
|
||||
user_obj = self.pool.get('res.users')
|
||||
if not context:
|
||||
context={}
|
||||
existing_user_ids = context.get('existing_user_ids', [])
|
||||
new_user_ids = context.get('new_user_ids', [])
|
||||
share_url = tools.config.get('share_root_url', False)
|
||||
user = user_obj.browse(cr, uid, uid, context=context)
|
||||
for share_user in user_obj.browse(cr, uid, new_user_ids+existing_user_ids, context=context):
|
||||
email_to = share_user.user_email
|
||||
subject = '%s wants to share private data with you' %(user.name)
|
||||
body = """
|
||||
Dear,
|
||||
|
||||
%s wants to share private data from OpenERP with you!
|
||||
"""%(user.name)
|
||||
if share_url:
|
||||
body += """
|
||||
To view it, you can access the following URL:
|
||||
%s
|
||||
"""%(user.name, share_url)
|
||||
if share_user.id in new_user_ids:
|
||||
body += """
|
||||
You may use the following login and password to get access to this
|
||||
protected area:
|
||||
login: %s
|
||||
password: %s
|
||||
"""%(user.login, user.password)
|
||||
elif share_user.id in existing_user_ids:
|
||||
body += """
|
||||
You may use your existing login and password to get access to this
|
||||
additional data. As a reminder, your login is %s.
|
||||
"""%(user.name)
|
||||
|
||||
flag = tools.email_send(
|
||||
user.user_email,
|
||||
email_to,
|
||||
subject,
|
||||
body
|
||||
)
|
||||
return flag
|
||||
|
||||
|
||||
def default_get(self, cr, uid, fields, context=None):
|
||||
"""
|
||||
To get default values for the object.
|
||||
"""
|
||||
|
||||
res = super(share_result, self).default_get(cr, uid, fields, context=context)
|
||||
user_obj = self.pool.get('res.users')
|
||||
if not context:
|
||||
context={}
|
||||
existing_user_ids = context.get('existing_user_ids', [])
|
||||
new_user_ids = context.get('new_user_ids', [])
|
||||
share_url = tools.config.get('share_root_url', False)
|
||||
if 'users' in fields:
|
||||
users = []
|
||||
for user in user_obj.browse(cr, uid, new_user_ids):
|
||||
txt = 'Login: %s Password: %s' %(user.login, user.password)
|
||||
if share_url:
|
||||
txt += ' Share URL: %s' %(share_url)
|
||||
users.append(txt)
|
||||
for user in user_obj.browse(cr, uid, existing_user_ids):
|
||||
txt = 'Login: %s' %(user.login)
|
||||
if share_url:
|
||||
txt += ' Share URL: %s' %(share_url)
|
||||
users.append(txt)
|
||||
res['users'] = '\n'.join(users)
|
||||
return res
|
||||
|
||||
share_result()
|
||||
@@ -0,0 +1,108 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<openerp>
|
||||
<data>
|
||||
|
||||
<record id="share_step0_form" model="ir.ui.view">
|
||||
<field name="name">share.step0.form</field>
|
||||
<field name="model">share.create</field>
|
||||
<field name="type">form</field>
|
||||
<field name="arch" type="xml">
|
||||
<form string="Share">
|
||||
<separator colspan="4" string="Step 1: Chose the action and the additional domain"/>
|
||||
<field name="action_id"/>
|
||||
<field name="domain"/>
|
||||
<separator colspan="4"/>
|
||||
<group col="2" colspan="4">
|
||||
<button special="cancel" string="Cancel" icon='gtk-cancel'/>
|
||||
<button name="do_step_1" string="Next" colspan="1" type="object" icon="gtk-go-forward"/>
|
||||
</group>
|
||||
</form>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
<record id="share_step1_form" model="ir.ui.view">
|
||||
<field name="name">share.step1.form</field>
|
||||
<field name="model">share.create</field>
|
||||
<field name="type">form</field>
|
||||
<field name="arch" type="xml">
|
||||
<form string="Share">
|
||||
<separator colspan="4" string="Step 2: Chose the User type"/>
|
||||
<field name="user_type"/>
|
||||
<newline/>
|
||||
<group colspan="4" attrs="{'invisible':[('user_type','!=','existing')]}">
|
||||
<separator colspan="4" string="Exising Users"/>
|
||||
<field colspan="4" nolabel="1" name="user_ids" domain="[('share_user','=',True)]"/>
|
||||
</group>
|
||||
<group colspan="4" attrs="{'invisible':[('user_type','!=','new')]}">
|
||||
<separator colspan="4" string="New Users"/>
|
||||
<field colspan="4" nolabel="1" name="new_user"/>
|
||||
</group>
|
||||
<separator colspan="4"/>
|
||||
<group col="3" colspan="4">
|
||||
<button special="cancel" string="Cancel" icon='gtk-cancel'/>
|
||||
<button name="do_step_1" string="Previous" colspan="1" type="object" icon="gtk-go-back"/>
|
||||
<button name="do_step_2" string="Next" colspan="1" type="object" icon="gtk-go-forward"/>
|
||||
</group>
|
||||
</form>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
<record id="share_step2_form" model="ir.ui.view">
|
||||
<field name="name">share.step2.form</field>
|
||||
<field name="model">share.create</field>
|
||||
<field name="type">form</field>
|
||||
<field name="arch" type="xml">
|
||||
<form string="Share">
|
||||
<separator colspan="4" string="Step 3: Chose Access Mode"/>
|
||||
<group colspan="4" attrs="{'invisible':[('read_access','!=',True)]}">
|
||||
<field name="access_mode" attrs="{'readonly':[('write_access','!=',True)]}"/>
|
||||
</group>
|
||||
<separator colspan="4"/>
|
||||
<group col="3" colspan="4">
|
||||
<button special="cancel" string="Cancel" icon='gtk-cancel'/>
|
||||
<button name="do_step_2" string="Previous" colspan="1" type="object" icon="gtk-go-back"/>
|
||||
<button name="do_step_3" string="Next" colspan="1" type="object" icon="gtk-go-forward"/>
|
||||
</group>
|
||||
</form>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
|
||||
|
||||
<record id="action_share_wizard" model="ir.actions.act_window">
|
||||
<field name="name">Share Access Rules</field>
|
||||
<field name="type">ir.actions.act_window</field>
|
||||
<field name="res_model">share.create</field>
|
||||
<field name="view_type">form</field>
|
||||
<field name="view_mode">form</field>
|
||||
<field name="view_id" ref="share_step0_form"/>
|
||||
<field name="target">new</field>
|
||||
</record>
|
||||
|
||||
<menuitem action="action_share_wizard" id="menu_action_share_wizard" parent="base.menu_security"/>
|
||||
|
||||
|
||||
<record id="share_result_form" model="ir.ui.view">
|
||||
<field name="name">share.result.form</field>
|
||||
<field name="model">share.result</field>
|
||||
<field name="type">form</field>
|
||||
<field name="arch" type="xml">
|
||||
<form string="Share">
|
||||
<separator colspan="4" string="Step 4: Share Users Detail"/>
|
||||
<field name="users" colspan="4" nolabel="1"/>
|
||||
<separator colspan="4"/>
|
||||
<group col="2" colspan="4">
|
||||
<button special="cancel" string="Cancel" icon='gtk-cancel'/>
|
||||
<button name="do_send_email" string="Send Email" type="object" icon="gtk-apply"/>
|
||||
</group>
|
||||
</form>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</data>
|
||||
</openerp>
|
||||
@@ -170,7 +170,7 @@
|
||||
<blockTable colWidths="538.0" style="Table_Title_String">
|
||||
<tr>
|
||||
<td>
|
||||
<para style="terp_header">Packing List: [[ picking.name ]]</para>
|
||||
<para style="terp_header">Picking List: [[ picking.name ]]</para>
|
||||
</td>
|
||||
</tr>
|
||||
</blockTable>
|
||||
|
||||
@@ -814,7 +814,7 @@ class stock_picking(osv.osv):
|
||||
invoices_group[partner.id] = invoice_id
|
||||
res[picking.id] = invoice_id
|
||||
for move_line in picking.move_lines:
|
||||
origin = move_line.picking_id.name
|
||||
origin = move_line.picking_id.name or ''
|
||||
if move_line.picking_id.origin:
|
||||
origin += ':' + move_line.picking_id.origin
|
||||
if group:
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<data>
|
||||
<report auto="False" id="report_product_history" model="product.product" name="stock.product.history" string="Future Stock Forecast"/>
|
||||
<report id="report_picking_list" model="stock.picking" name="stock.picking.list" string="Picking list" rml="stock/report/picking.rml"/>
|
||||
<report id="report_move_labels" model="stock.move" name="stock.move.label" string="Print Item Labels" xml="stock/report/lot_move_label.xml" xsl="stock/report/lot_move_label.xsl"/>
|
||||
<report id="report_move_labels" model="stock.move" name="stock.move.label" string="Item Labels" xml="stock/report/lot_move_label.xml" xsl="stock/report/lot_move_label.xsl"/>
|
||||
<report auto="False" id="report_location_overview" model="stock.location" name="lot.stock.overview" string="Location Overview" rml="stock/report/lot_overview.rml" groups="base.group_extended"/>
|
||||
<report auto="False" id="report_lot_location" model="stock.location" name="lot.location" rml="stock/report/lot_location.rml" string="Lots by location"/>
|
||||
<report id="report_location_overview_all" model="stock.location" name="lot.stock.overview_all" string="Location Content (With children)" rml="stock/report/lot_overview_all.rml"/>
|
||||
|
||||
@@ -1734,5 +1734,32 @@
|
||||
<field name="view_id" ref="view_move_delivery_products_planned_graph"/>
|
||||
</record>
|
||||
|
||||
<record id="action_picking_tree_out" model="ir.actions.act_window">
|
||||
<field name="name">Outcoming Shipments</field>
|
||||
<field name="res_model">stock.picking</field>
|
||||
<field name="type">ir.actions.act_window</field>
|
||||
<field name="view_type">form</field>
|
||||
<field name="view_mode">tree,form,calendar</field>
|
||||
<field name="domain">[('type','=','out')]</field>
|
||||
<field name="context">{'contact_display': 'partner',"search_default_available":1}</field>
|
||||
<field name="search_view_id" ref="view_picking_in_search"/>
|
||||
</record>
|
||||
<record id="action_invoice_tree5_out" model="ir.actions.act_window.view">
|
||||
<field eval="1" name="sequence"/>
|
||||
<field name="view_mode">tree</field>
|
||||
<field name="view_id" ref="view_picking_in_tree"/>
|
||||
<field name="act_window_id" ref="action_picking_tree_out"/>
|
||||
</record>
|
||||
<record id="action_invoice_tree5_view2_out" model="ir.actions.act_window.view">
|
||||
<field eval="2" name="sequence"/>
|
||||
<field name="view_mode">form</field>
|
||||
<field name="view_id" ref="view_picking_in_form"/>
|
||||
<field name="act_window_id" ref="action_picking_tree_out"/>
|
||||
</record>
|
||||
<record id="action_invoice_tree5_viewout_cal" model="ir.actions.act_window.view">
|
||||
<field eval="3" name="sequence"/>
|
||||
<field name="view_mode">calendar</field>
|
||||
<field name="act_window_id" ref="action_picking_tree_out"/>
|
||||
</record>
|
||||
</data>
|
||||
</openerp>
|
||||
|
||||
@@ -14,7 +14,7 @@ msgstr ""
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Launchpad-Export-Date: 2010-06-08 03:41+0000\n"
|
||||
"X-Launchpad-Export-Date: 2010-06-09 03:36+0000\n"
|
||||
"X-Generator: Launchpad (build Unknown)\n"
|
||||
"Language: hr\n"
|
||||
|
||||
|
||||
@@ -6,20 +6,20 @@
|
||||
id="report_survey_form"
|
||||
model="survey"
|
||||
name="survey.form"
|
||||
string="Print Survey"/>
|
||||
string="Surveys"/>
|
||||
|
||||
<report auto="True"
|
||||
id="survey_analysis"
|
||||
<report auto="True"
|
||||
id="survey_analysis"
|
||||
model="survey"
|
||||
name="survey.analysis"
|
||||
rml=""
|
||||
string="Print Survey Statistics"/>
|
||||
rml=""
|
||||
string="Surveys Statistics"/>
|
||||
|
||||
<report auto="True"
|
||||
id="survey_browse_response"
|
||||
<report auto="True"
|
||||
id="survey_browse_response"
|
||||
model="survey"
|
||||
name="survey.browse.response"
|
||||
rml=""
|
||||
string="Print Answers"/>
|
||||
string="Surveys Answers"/>
|
||||
</data>
|
||||
</openerp>
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
<?xml version="1.0" ?>
|
||||
<openerp>
|
||||
<data>
|
||||
|
||||
|
||||
<!-- Survey Print Form View -->
|
||||
|
||||
|
||||
<record id="view_survey_print" model="ir.ui.view">
|
||||
<field name="name">Survey Print</field>
|
||||
<field name="model">survey.print</field>
|
||||
@@ -35,7 +35,7 @@
|
||||
<field name="target">new</field>
|
||||
</record>
|
||||
|
||||
<menuitem name="Print Survey" id="menu_print_survey_form" sequence="1"
|
||||
<menuitem name="Surveys" id="menu_print_survey_form" sequence="1"
|
||||
action="action_view_survey_print" parent="menu_reporting"
|
||||
groups="group_survey_manager" icon="STOCK_PRINT"/>
|
||||
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
<?xml version="1.0" ?>
|
||||
<openerp>
|
||||
<data>
|
||||
|
||||
|
||||
<!-- Survey Print answer Form View -->
|
||||
|
||||
|
||||
<record id="view_survey_print_answer" model="ir.ui.view">
|
||||
<field name="name">Survey Print Answer</field>
|
||||
<field name="model">survey.print.answer</field>
|
||||
@@ -36,7 +36,7 @@
|
||||
<field name="target">new</field>
|
||||
</record>
|
||||
|
||||
<menuitem name="Print Answer" action="action_view_survey_print_answer" id="menu_print_survey_answer"
|
||||
<menuitem name="Surveys Answers" action="action_view_survey_print_answer" id="menu_print_survey_answer"
|
||||
parent="menu_reporting" icon="STOCK_PRINT" groups="group_survey_manager"/>
|
||||
|
||||
</data>
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
<?xml version="1.0" ?>
|
||||
<openerp>
|
||||
<data>
|
||||
|
||||
|
||||
<!-- Survey Print Statistics Form View -->
|
||||
|
||||
|
||||
<record id="view_survey_print_statistics" model="ir.ui.view">
|
||||
<field name="name">Survey Print Statistics</field>
|
||||
<field name="model">survey.print.statistics</field>
|
||||
@@ -30,7 +30,7 @@
|
||||
<field name="target">new</field>
|
||||
</record>
|
||||
|
||||
<menuitem name="Print Survey Statistics" action="action_view_survey_print_statistics" id="menu_print_survey_statistics"
|
||||
<menuitem name="Surveys Statistics" action="action_view_survey_print_statistics" id="menu_print_survey_statistics"
|
||||
parent="menu_reporting" icon="STOCK_PRINT" groups="group_survey_manager"/>
|
||||
|
||||
</data>
|
||||
|
||||
@@ -14,7 +14,7 @@ msgstr ""
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Launchpad-Export-Date: 2010-06-08 03:41+0000\n"
|
||||
"X-Launchpad-Export-Date: 2010-06-09 03:36+0000\n"
|
||||
"X-Generator: Launchpad (build Unknown)\n"
|
||||
"Language: hr\n"
|
||||
|
||||
|
||||
@@ -13,7 +13,7 @@ msgstr ""
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Launchpad-Export-Date: 2010-06-08 03:41+0000\n"
|
||||
"X-Launchpad-Export-Date: 2010-06-09 03:36+0000\n"
|
||||
"X-Generator: Launchpad (build Unknown)\n"
|
||||
"Language: hr\n"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user