diff options
| author | Raphael Collet <rco@openerp.com> | 2012-03-22 13:44:03 +0100 |
|---|---|---|
| committer | Raphael Collet <rco@openerp.com> | 2012-03-22 13:44:03 +0100 |
| commit | c59d3bea1ff76d83d369d7e58c397d2c2d4b381f (patch) | |
| tree | d847c226b27cac03a307581d3a59e55f0f8d2e04 /addons | |
| parent | e9b08b69f2b87471013d04a9161459b46bd8fff0 (diff) | |
| parent | f7adcf47e810cb74b5e7984cd6b214f9edacf969 (diff) | |
[MERGE] parent branch trunk-v62_config
bzr revid: rco@openerp.com-20120322124403-n10zeae7nxld8sy8
Diffstat (limited to 'addons')
61 files changed, 4076 insertions, 396 deletions
diff --git a/addons/account/i18n/el.po b/addons/account/i18n/el.po index 27f6d85aa60..9a543cc2ead 100644 --- a/addons/account/i18n/el.po +++ b/addons/account/i18n/el.po @@ -8,20 +8,20 @@ msgstr "" "Project-Id-Version: openobject-addons\n" "Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n" "POT-Creation-Date: 2012-02-08 00:35+0000\n" -"PO-Revision-Date: 2011-01-24 20:02+0000\n" -"Last-Translator: Dimitris Andavoglou <dimitrisand@gmail.com>\n" +"PO-Revision-Date: 2012-03-18 19:30+0000\n" +"Last-Translator: Tryfon Farmakakis <farmakakistryfon@gmail.com>\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: 2012-02-09 06:19+0000\n" -"X-Generator: Launchpad (build 14763)\n" +"X-Launchpad-Export-Date: 2012-03-19 04:40+0000\n" +"X-Generator: Launchpad (build 14969)\n" #. module: account #: view:account.invoice.report:0 #: view:analytic.entries.report:0 msgid "last month" -msgstr "" +msgstr "τελευταίος μήνας" #. module: account #: model:process.transition,name:account.process_transition_supplierreconcilepaid0 @@ -39,6 +39,8 @@ msgid "" "Determine the display order in the report 'Accounting \\ Reporting \\ " "Generic Reporting \\ Taxes \\ Taxes Report'" msgstr "" +"Καθορίστε την σειρά προβολής στην αναφορά 'Λογιστικά \\ Αναφορές \\ Γενικές " +"Αναφορές \\ Φόροι \\ Φορολογικές Αναφορές'" #. module: account #: view:account.move.reconcile:0 @@ -82,7 +84,7 @@ msgstr "" #: code:addons/account/account_bank_statement.py:302 #, python-format msgid "Journal item \"%s\" is not valid." -msgstr "" +msgstr "Το αντικείμενο \"%s\" στο ημερολόγιο δεν είναι έγκυρο." #. module: account #: model:ir.model,name:account.model_report_aged_receivable @@ -117,6 +119,8 @@ msgid "" "Configuration error! The currency chosen should be shared by the default " "accounts too." msgstr "" +"Σφάλμα διαμόρφωσης! Το επιλεγμένο νόμισμα θα πρέπει να συμφωνεί με το " +"νόμισμα των προεπιλεγμένων λογαριασμών." #. module: account #: report:account.invoice:0 @@ -167,7 +171,7 @@ msgstr "Προειδοποίηση" #: code:addons/account/account.py:3112 #, python-format msgid "Miscellaneous Journal" -msgstr "" +msgstr "Ημερολόγιο διαφόρων συμβάντων" #. module: account #: field:account.fiscal.position.account,account_src_id:0 @@ -188,7 +192,7 @@ msgstr "Τιμολόγια που εκδόθηκαν τις τελευταίες #. module: account #: field:accounting.report,label_filter:0 msgid "Column Label" -msgstr "" +msgstr "Ετικέτα Στήλης" #. module: account #: code:addons/account/wizard/account_move_journal.py:95 @@ -203,6 +207,9 @@ msgid "" "invoice) to create analytic entries, OpenERP will look for a matching " "journal of the same type." msgstr "" +"Δίνει τον τύπο του αναλυτικού ημερολογίου. Όταν χρειαστεί σε ένα έγγραφο (πχ " +"σε ένα τιμολόγιο) να δημιουργηθούν αναλυτικές εγγραφές, το OpenERP θα " +"αναζητήσει αυτόματα ένα ημερολόγιο ίδιου τύπου." #. module: account #: model:ir.actions.act_window,name:account.action_account_tax_template_form @@ -261,6 +268,9 @@ msgid "" "legal reports, and set the rules to close a fiscal year and generate opening " "entries." msgstr "" +"Ο Τύπος Λογαριασμού έχει πληροφοριακή χρησιμότητα. Παράγει νομικές αναφορές " +"εξειδικευμένες για την χώρα, θέτει τους κανόνες για το κλείσιμο ενός " +"οικονομικού έτους και επίσης παράγει εναρκτήριες εγγραφές." #. module: account #: report:account.overdue:0 diff --git a/addons/account_analytic_analysis/account_analytic_analysis_view.xml b/addons/account_analytic_analysis/account_analytic_analysis_view.xml index 60d30f9fff0..bbbbb5c491f 100644 --- a/addons/account_analytic_analysis/account_analytic_analysis_view.xml +++ b/addons/account_analytic_analysis/account_analytic_analysis_view.xml @@ -3,15 +3,15 @@ <data> <!-- - Analytic Account form + Analytic Account form Remove information on Account data => because they move on analysis sheet create a page with invoicing informations --> <record id="account_analytic_account_invoice_stat_form" model="ir.ui.view"> - <field name="name">account.analytic.account.invoice.stat.form.inherit</field> - <field name="model">account.analytic.account</field> - <field name="type">form</field> + <field name="name">account.analytic.account.invoice.stat.form.inherit</field> + <field name="model">account.analytic.account</field> + <field name="type">form</field> <field name="inherit_id" ref="hr_timesheet_invoice.account_analytic_account_form_form"/> <field eval="18" name="priority"/> <field name="arch" type="xml"> @@ -30,9 +30,9 @@ </record> <record id="hr_timesheet.account_analytic_account_form_form" model="ir.ui.view"> - <field name="name">account.analytic.account.invoice.form.inherit</field> - <field name="model">account.analytic.account</field> - <field name="type">form</field> + <field name="name">account.analytic.account.invoice.form.inherit</field> + <field name="model">account.analytic.account</field> + <field name="type">form</field> <field name="inherit_id" ref="account.view_account_analytic_account_form"/> <field eval="18" name="priority"/> <field name="arch" type="xml"> @@ -69,7 +69,7 @@ </tree> </field> </page> - <page string="Stats by user"> + <page string="Stats by user"> <field colspan="4" name="user_ids" nolabel="1"> <tree string="Users"> <field name="user"/> @@ -97,19 +97,33 @@ </field> </field> </record> - - <record id="view_account_analytic_account_tree_c2c_3" model="ir.ui.view"> - <field name="name">account.analytic.account.tree</field> - <field name="model">account.analytic.account</field> + + <record id="view_account_analytic_account_tree_c2c_3" model="ir.ui.view"> + <field name="name">account.analytic.account.tree</field> + <field name="model">account.analytic.account</field> <field name="inherit_id" ref="account.view_account_analytic_account_list"/> - <field name="type">tree</field> - <field name="arch" type="xml"> - <field name="date" position="before"> + <field name="type">tree</field> + <field name="arch" type="xml"> + <field name="date" position="before"> <field name="last_invoice_date"/> <field name="ca_to_invoice"/> </field> </field> </record> + <record id="view_contract_installation" model="ir.ui.view"> + <field name="name">Sales Application</field> + <field name="model">sale.config.settings</field> + <field name="inherit_id" ref="sale.view_sales_config"/> + <field name="type">form</field> + <field name="arch" type="xml"> + <group name="config_contracts" position="inside"> + <separator string="Contracts" colspan="4"/> + <field name="module_analytic_user_function"/> + <field name="module_analytic_journal_billing_rate"/> + </group> + </field> + </record> + </data> </openerp> diff --git a/addons/account_analytic_analysis/i18n/sr@latin.po b/addons/account_analytic_analysis/i18n/sr@latin.po index 6311bbb991c..53715611d10 100644 --- a/addons/account_analytic_analysis/i18n/sr@latin.po +++ b/addons/account_analytic_analysis/i18n/sr@latin.po @@ -8,19 +8,19 @@ msgstr "" "Project-Id-Version: openobject-addons\n" "Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n" "POT-Creation-Date: 2012-02-08 00:35+0000\n" -"PO-Revision-Date: 2011-11-03 22:52+0000\n" +"PO-Revision-Date: 2012-03-13 16:49+0000\n" "Last-Translator: Milan Milosevic <Unknown>\n" "Language-Team: Serbian latin <sr@latin@li.org>\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2012-02-09 06:32+0000\n" -"X-Generator: Launchpad (build 14763)\n" +"X-Launchpad-Export-Date: 2012-03-14 04:42+0000\n" +"X-Generator: Launchpad (build 14933)\n" #. module: account_analytic_analysis #: field:account.analytic.account,revenue_per_hour:0 msgid "Revenue per Time (real)" -msgstr "" +msgstr "Prihod po vremenu (realnom)" #. module: account_analytic_analysis #: help:account.analytic.account,remaining_ca:0 @@ -38,11 +38,13 @@ msgid "" "The contracts to be renewed because the deadline is passed or the working " "hours are higher than the allocated hours" msgstr "" +"Ugovor treba da se obnovi jer je rok pređen, ili ima više radnih sati od " +"određenih sati" #. module: account_analytic_analysis #: view:account.analytic.account:0 msgid "Pending contracts to renew with your customer" -msgstr "" +msgstr "Ugovori na čekanju za potvrdu sa Vašom strankom" #. module: account_analytic_analysis #: help:account.analytic.account,hours_qtt_non_invoiced:0 @@ -50,26 +52,28 @@ msgid "" "Number of time (hours/days) (from journal of type 'general') that can be " "invoiced if you invoice based on analytic account." msgstr "" +"Broj vremena (dana/sati) (iz dnevnika tipa 'opšte') koji se može fakturisati " +"ako Vam je fakturisanje bazirano na analitičkom kontu." #. module: account_analytic_analysis #: view:account.analytic.account:0 msgid "Analytic Accounts with a past deadline in one month." -msgstr "" +msgstr "Analitička konta sa pređenim rokom u jednom mesecu." #. module: account_analytic_analysis #: view:account.analytic.account:0 msgid "Group By..." -msgstr "" +msgstr "Grupiši po..." #. module: account_analytic_analysis #: view:account.analytic.account:0 msgid "End Date" -msgstr "" +msgstr "Datum završetka" #. module: account_analytic_analysis #: view:account.analytic.account:0 msgid "Create Invoice" -msgstr "" +msgstr "Napravi fakturu" #. module: account_analytic_analysis #: field:account.analytic.account,last_invoice_date:0 @@ -87,16 +91,18 @@ msgid "" "Number of time you spent on the analytic account (from timesheet). It " "computes quantities on all journal of type 'general'." msgstr "" +"Vreme potrošeno na analitički konto (s vremenske tabele). Obračunava " +"kvantitete na sve dnevnike tipa 'opšte'." #. module: account_analytic_analysis #: view:account.analytic.account:0 msgid "Contracts in progress" -msgstr "" +msgstr "Ugovori u toku" #. module: account_analytic_analysis #: field:account.analytic.account,is_overdue_quantity:0 msgid "Overdue Quantity" -msgstr "" +msgstr "Preloraečnja" #. module: account_analytic_analysis #: model:ir.actions.act_window,help:account_analytic_analysis.action_account_analytic_overdue @@ -108,6 +114,11 @@ msgid "" "pending accounts and reopen or close the according to the negotiation with " "the customer." msgstr "" +"Naći ćete ovde ugovore koje treba obnoviti jer je rok istekao, ili su radni " +"sati veći od određenih. OpenERP automatski postavlja ta analitička konta na " +"stanje 'na čekanju', da bi se iznelo upozorenje za vreme sačuvavanja u " +"tabelama vremena. Prodavci bi trebalo da provere sva konta na čekanju i " +"zatvore ili ih ponovo otvore, u zavisnosti od dogovora sa strankama." #. module: account_analytic_analysis #: field:account.analytic.account,ca_theorical:0 @@ -117,7 +128,7 @@ msgstr "Teoretski prihod" #. module: account_analytic_analysis #: field:account.analytic.account,hours_qtt_non_invoiced:0 msgid "Uninvoiced Time" -msgstr "" +msgstr "Neobračunato vreme" #. module: account_analytic_analysis #: help:account.analytic.account,last_worked_invoiced_date:0 @@ -131,7 +142,7 @@ msgstr "" #. module: account_analytic_analysis #: view:account.analytic.account:0 msgid "To Renew" -msgstr "" +msgstr "Za obnovu" #. module: account_analytic_analysis #: field:account.analytic.account,last_worked_date:0 @@ -141,24 +152,25 @@ msgstr "Datum poslednje Cene / Rada" #. module: account_analytic_analysis #: field:account.analytic.account,hours_qtt_invoiced:0 msgid "Invoiced Time" -msgstr "" +msgstr "Obračunato vreme" #. module: account_analytic_analysis #: view:account.analytic.account:0 msgid "" "A contract in OpenERP is an analytic account having a partner set on it." msgstr "" +"Ugovor u OpenERP-u je analitički konto sa partnerom koji mu je pripisan." #. module: account_analytic_analysis #: field:account.analytic.account,remaining_hours:0 msgid "Remaining Time" -msgstr "" +msgstr "Preostalo vreme" #. module: account_analytic_analysis #: model:ir.actions.act_window,name:account_analytic_analysis.action_account_analytic_overdue #: model:ir.ui.menu,name:account_analytic_analysis.menu_action_account_analytic_overdue msgid "Contracts to Renew" -msgstr "" +msgstr "Ugovori za obnovu" #. module: account_analytic_analysis #: field:account.analytic.account,theorical_margin:0 @@ -168,7 +180,7 @@ msgstr "Teoretska stopa marže" #. module: account_analytic_analysis #: view:account.analytic.account:0 msgid " +1 Month" -msgstr "" +msgstr " +1 mesec" #. module: account_analytic_analysis #: help:account.analytic.account,ca_theorical:0 @@ -183,7 +195,7 @@ msgstr "" #. module: account_analytic_analysis #: view:account.analytic.account:0 msgid "Pending" -msgstr "" +msgstr "Na čekanju" #. module: account_analytic_analysis #: field:account.analytic.account,ca_to_invoice:0 @@ -198,7 +210,7 @@ msgstr "Izračunato pomoću formule: Fakturisani iznos - Ukupni troškovi." #. module: account_analytic_analysis #: view:account.analytic.account:0 msgid "Parent" -msgstr "" +msgstr "Parent" #. module: account_analytic_analysis #: field:account.analytic.account,user_ids:0 @@ -214,7 +226,7 @@ msgstr "Izračunava se pomoću formule: (Realna marža / ukupni troškovi) * 100 #. module: account_analytic_analysis #: model:ir.model,name:account_analytic_analysis.model_account_analytic_analysis_summary_user msgid "Hours Summary by User" -msgstr "Ukupno sati po Korisniku" +msgstr "Ukupno sati po korisniku" #. module: account_analytic_analysis #: field:account.analytic.account,ca_invoiced:0 @@ -229,7 +241,7 @@ msgstr "Datum poslednjeg obračunatog troška" #. module: account_analytic_analysis #: view:account.analytic.account:0 msgid "Contract" -msgstr "" +msgstr "Ugovor" #. module: account_analytic_analysis #: field:account.analytic.account,real_margin_rate:0 @@ -264,7 +276,7 @@ msgstr "Preostali prihod" #. module: account_analytic_analysis #: help:account.analytic.account,remaining_hours:0 msgid "Computed using the formula: Maximum Time - Total Time" -msgstr "" +msgstr "Obračunato koristeći formulu: Maksimalno vreme - ukupno vreme" #. module: account_analytic_analysis #: help:account.analytic.account,hours_qtt_invoiced:0 @@ -272,6 +284,8 @@ msgid "" "Number of time (hours/days) that can be invoiced plus those that already " "have been invoiced." msgstr "" +"Trajanje vremena (dani/sati) koji se mogu obračunati, plus ono koje je već " +"obračunato." #. module: account_analytic_analysis #: help:account.analytic.account,ca_to_invoice:0 @@ -285,7 +299,7 @@ msgstr "" #. module: account_analytic_analysis #: help:account.analytic.account,revenue_per_hour:0 msgid "Computed using the formula: Invoiced Amount / Total Time" -msgstr "" +msgstr "Izračunato koristeći formulu: obračunat iznos / ukupno vreme" #. module: account_analytic_analysis #: field:account.analytic.account,total_cost:0 @@ -304,18 +318,18 @@ msgstr "Mesec" #: field:account_analytic_analysis.summary.user,account_id:0 #: model:ir.model,name:account_analytic_analysis.model_account_analytic_account msgid "Analytic Account" -msgstr "Analitički nalog" +msgstr "Analitički konto" #. module: account_analytic_analysis #: model:ir.actions.act_window,name:account_analytic_analysis.action_account_analytic_overdue_all #: model:ir.ui.menu,name:account_analytic_analysis.menu_action_account_analytic_overdue_all msgid "Contracts" -msgstr "" +msgstr "Ugovori" #. module: account_analytic_analysis #: view:account.analytic.account:0 msgid "Manager" -msgstr "" +msgstr "Rukovodilac" #. module: account_analytic_analysis #: model:ir.actions.act_window,name:account_analytic_analysis.action_hr_tree_invoiced_all @@ -326,22 +340,22 @@ msgstr "Sve neobračunate stavke" #. module: account_analytic_analysis #: help:account.analytic.account,last_invoice_date:0 msgid "If invoice from the costs, this is the date of the latest invoiced." -msgstr "" +msgstr "ako se obračunava iz troškova, ovo je datum poslednjeg obračuna." #. module: account_analytic_analysis #: view:account.analytic.account:0 msgid "Associated Partner" -msgstr "" +msgstr "Povezani partner" #. module: account_analytic_analysis #: view:account.analytic.account:0 msgid "Open" -msgstr "" +msgstr "Otvori" #. module: account_analytic_analysis #: view:account.analytic.account:0 msgid "Contracts that are not assigned to an account manager." -msgstr "" +msgstr "Ugovori koji oš nisu pripisani rukovodiocu naloga." #. module: account_analytic_analysis #: field:account.analytic.account,hours_quantity:0 diff --git a/addons/account_asset/i18n/gu.po b/addons/account_asset/i18n/gu.po new file mode 100644 index 00000000000..a2fcdc3c058 --- /dev/null +++ b/addons/account_asset/i18n/gu.po @@ -0,0 +1,793 @@ +# Gujarati translation for openobject-addons +# Copyright (c) 2012 Rosetta Contributors and Canonical Ltd 2012 +# This file is distributed under the same license as the openobject-addons package. +# FIRST AUTHOR <EMAIL@ADDRESS>, 2012. +# +msgid "" +msgstr "" +"Project-Id-Version: openobject-addons\n" +"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n" +"POT-Creation-Date: 2012-02-08 01:37+0100\n" +"PO-Revision-Date: 2012-03-15 19:22+0000\n" +"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" +"Language-Team: Gujarati <gu@li.org>\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Launchpad-Export-Date: 2012-03-16 05:09+0000\n" +"X-Generator: Launchpad (build 14951)\n" + +#. module: account_asset +#: view:account.asset.asset:0 +msgid "Assets in draft and open states" +msgstr "" + +#. module: account_asset +#: field:account.asset.category,method_end:0 +#: field:account.asset.history,method_end:0 field:asset.modify,method_end:0 +msgid "Ending date" +msgstr "" + +#. module: account_asset +#: field:account.asset.asset,value_residual:0 +msgid "Residual Value" +msgstr "" + +#. module: account_asset +#: field:account.asset.category,account_expense_depreciation_id:0 +msgid "Depr. Expense Account" +msgstr "" + +#. module: account_asset +#: view:asset.depreciation.confirmation.wizard:0 +msgid "Compute Asset" +msgstr "" + +#. module: account_asset +#: view:asset.asset.report:0 +msgid "Group By..." +msgstr "ગ્રુપ દ્વારા..." + +#. module: account_asset +#: field:asset.asset.report,gross_value:0 +msgid "Gross Amount" +msgstr "" + +#. module: account_asset +#: view:account.asset.asset:0 field:account.asset.asset,name:0 +#: field:account.asset.depreciation.line,asset_id:0 +#: field:account.asset.history,asset_id:0 field:account.move.line,asset_id:0 +#: view:asset.asset.report:0 field:asset.asset.report,asset_id:0 +#: model:ir.model,name:account_asset.model_account_asset_asset +msgid "Asset" +msgstr "" + +#. module: account_asset +#: help:account.asset.asset,prorata:0 help:account.asset.category,prorata:0 +msgid "" +"Indicates that the first depreciation entry for this asset have to be done " +"from the purchase date instead of the first January" +msgstr "" + +#. module: account_asset +#: field:account.asset.history,name:0 +msgid "History name" +msgstr "" + +#. module: account_asset +#: field:account.asset.asset,company_id:0 +#: field:account.asset.category,company_id:0 view:asset.asset.report:0 +#: field:asset.asset.report,company_id:0 +msgid "Company" +msgstr "કંપની" + +#. module: account_asset +#: view:asset.modify:0 +msgid "Modify" +msgstr "સુધારો" + +#. module: account_asset +#: selection:account.asset.asset,state:0 view:asset.asset.report:0 +#: selection:asset.asset.report,state:0 +msgid "Running" +msgstr "ચાલી રહ્યું છે" + +#. module: account_asset +#: field:account.asset.depreciation.line,amount:0 +msgid "Depreciation Amount" +msgstr "" + +#. module: account_asset +#: view:asset.asset.report:0 +#: model:ir.actions.act_window,name:account_asset.action_asset_asset_report +#: model:ir.model,name:account_asset.model_asset_asset_report +#: model:ir.ui.menu,name:account_asset.menu_action_asset_asset_report +msgid "Assets Analysis" +msgstr "" + +#. module: account_asset +#: field:asset.modify,name:0 +msgid "Reason" +msgstr "કારણ" + +#. module: account_asset +#: field:account.asset.asset,method_progress_factor:0 +#: field:account.asset.category,method_progress_factor:0 +msgid "Degressive Factor" +msgstr "" + +#. module: account_asset +#: model:ir.actions.act_window,name:account_asset.action_account_asset_asset_list_normal +#: model:ir.ui.menu,name:account_asset.menu_action_account_asset_asset_list_normal +msgid "Asset Categories" +msgstr "" + +#. module: account_asset +#: view:asset.depreciation.confirmation.wizard:0 +msgid "" +"This wizard will post the depreciation lines of running assets that belong " +"to the selected period." +msgstr "" + +#. module: account_asset +#: field:account.asset.asset,account_move_line_ids:0 +#: field:account.move.line,entry_ids:0 +#: model:ir.actions.act_window,name:account_asset.act_entries_open +msgid "Entries" +msgstr "પ્રવેશો" + +#. module: account_asset +#: view:account.asset.asset:0 +#: field:account.asset.asset,depreciation_line_ids:0 +msgid "Depreciation Lines" +msgstr "" + +#. module: account_asset +#: help:account.asset.asset,salvage_value:0 +msgid "It is the amount you plan to have that you cannot depreciate." +msgstr "" + +#. module: account_asset +#: field:account.asset.depreciation.line,depreciation_date:0 +#: view:asset.asset.report:0 field:asset.asset.report,depreciation_date:0 +msgid "Depreciation Date" +msgstr "" + +#. module: account_asset +#: field:account.asset.category,account_asset_id:0 +msgid "Asset Account" +msgstr "" + +#. module: account_asset +#: field:asset.asset.report,posted_value:0 +msgid "Posted Amount" +msgstr "" + +#. module: account_asset +#: view:account.asset.asset:0 view:asset.asset.report:0 +#: model:ir.actions.act_window,name:account_asset.action_account_asset_asset_form +#: model:ir.ui.menu,name:account_asset.menu_action_account_asset_asset_form +#: model:ir.ui.menu,name:account_asset.menu_finance_assets +#: model:ir.ui.menu,name:account_asset.menu_finance_config_assets +msgid "Assets" +msgstr "" + +#. module: account_asset +#: field:account.asset.category,account_depreciation_id:0 +msgid "Depreciation Account" +msgstr "" + +#. module: account_asset +#: view:account.asset.asset:0 view:account.asset.category:0 +#: view:account.asset.history:0 view:asset.modify:0 field:asset.modify,note:0 +msgid "Notes" +msgstr "નોંધ" + +#. module: account_asset +#: field:account.asset.depreciation.line,move_id:0 +msgid "Depreciation Entry" +msgstr "" + +#. module: account_asset +#: sql_constraint:account.move.line:0 +msgid "Wrong credit or debit value in accounting entry !" +msgstr "" + +#. module: account_asset +#: view:asset.asset.report:0 field:asset.asset.report,nbr:0 +msgid "# of Depreciation Lines" +msgstr "" + +#. module: account_asset +#: view:asset.asset.report:0 +msgid "Assets in draft state" +msgstr "" + +#. module: account_asset +#: field:account.asset.asset,method_end:0 +#: selection:account.asset.asset,method_time:0 +#: selection:account.asset.category,method_time:0 +#: selection:account.asset.history,method_time:0 +msgid "Ending Date" +msgstr "" + +#. module: account_asset +#: field:account.asset.asset,code:0 +msgid "Reference" +msgstr "સંદર્ભ" + +#. module: account_asset +#: constraint:account.invoice:0 +msgid "Invalid BBA Structured Communication !" +msgstr "" + +#. module: account_asset +#: view:account.asset.asset:0 +msgid "Account Asset" +msgstr "" + +#. module: account_asset +#: model:ir.actions.act_window,name:account_asset.action_asset_depreciation_confirmation_wizard +#: model:ir.ui.menu,name:account_asset.menu_asset_depreciation_confirmation_wizard +msgid "Compute Assets" +msgstr "" + +#. module: account_asset +#: field:account.asset.depreciation.line,sequence:0 +msgid "Sequence of the depreciation" +msgstr "" + +#. module: account_asset +#: field:account.asset.asset,method_period:0 +#: field:account.asset.category,method_period:0 +#: field:account.asset.history,method_period:0 +#: field:asset.modify,method_period:0 +msgid "Period Length" +msgstr "" + +#. module: account_asset +#: selection:account.asset.asset,state:0 view:asset.asset.report:0 +#: selection:asset.asset.report,state:0 +msgid "Draft" +msgstr "ડ્રાફ્ટ" + +#. module: account_asset +#: view:asset.asset.report:0 +msgid "Date of asset purchase" +msgstr "" + +#. module: account_asset +#: help:account.asset.asset,method_number:0 +msgid "Calculates Depreciation within specified interval" +msgstr "" + +#. module: account_asset +#: view:account.asset.asset:0 +msgid "Change Duration" +msgstr "" + +#. module: account_asset +#: field:account.asset.category,account_analytic_id:0 +msgid "Analytic account" +msgstr "" + +#. module: account_asset +#: field:account.asset.asset,method:0 field:account.asset.category,method:0 +msgid "Computation Method" +msgstr "" + +#. module: account_asset +#: help:account.asset.asset,method_period:0 +msgid "State here the time during 2 depreciations, in months" +msgstr "" + +#. module: account_asset +#: constraint:account.asset.asset:0 +msgid "" +"Prorata temporis can be applied only for time method \"number of " +"depreciations\"." +msgstr "" + +#. module: account_asset +#: help:account.asset.history,method_time:0 +msgid "" +"The method to use to compute the dates and number of depreciation lines.\n" +"Number of Depreciations: Fix the number of depreciation lines and the time " +"between 2 depreciations.\n" +"Ending Date: Choose the time between 2 depreciations and the date the " +"depreciations won't go beyond." +msgstr "" + +#. module: account_asset +#: field:account.asset.asset,purchase_value:0 +msgid "Gross value " +msgstr "" + +#. module: account_asset +#: constraint:account.asset.asset:0 +msgid "Error ! You can not create recursive assets." +msgstr "" + +#. module: account_asset +#: help:account.asset.history,method_period:0 +msgid "Time in month between two depreciations" +msgstr "" + +#. module: account_asset +#: view:asset.asset.report:0 field:asset.asset.report,name:0 +msgid "Year" +msgstr "" + +#. module: account_asset +#: view:asset.modify:0 +#: model:ir.actions.act_window,name:account_asset.action_asset_modify +#: model:ir.model,name:account_asset.model_asset_modify +msgid "Modify Asset" +msgstr "" + +#. module: account_asset +#: view:account.asset.asset:0 +msgid "Other Information" +msgstr "" + +#. module: account_asset +#: field:account.asset.asset,salvage_value:0 +msgid "Salvage Value" +msgstr "" + +#. module: account_asset +#: field:account.invoice.line,asset_category_id:0 view:asset.asset.report:0 +msgid "Asset Category" +msgstr "" + +#. module: account_asset +#: view:account.asset.asset:0 +msgid "Set to Close" +msgstr "" + +#. module: account_asset +#: model:ir.actions.wizard,name:account_asset.wizard_asset_compute +msgid "Compute assets" +msgstr "" + +#. module: account_asset +#: model:ir.actions.wizard,name:account_asset.wizard_asset_modify +msgid "Modify asset" +msgstr "" + +#. module: account_asset +#: view:account.asset.asset:0 +msgid "Assets in closed state" +msgstr "" + +#. module: account_asset +#: field:account.asset.asset,parent_id:0 +msgid "Parent Asset" +msgstr "" + +#. module: account_asset +#: view:account.asset.history:0 +#: model:ir.model,name:account_asset.model_account_asset_history +msgid "Asset history" +msgstr "" + +#. module: account_asset +#: view:asset.asset.report:0 +msgid "Assets purchased in current year" +msgstr "" + +#. module: account_asset +#: field:account.asset.asset,state:0 field:asset.asset.report,state:0 +msgid "State" +msgstr "" + +#. module: account_asset +#: model:ir.model,name:account_asset.model_account_invoice_line +msgid "Invoice Line" +msgstr "" + +#. module: account_asset +#: constraint:account.move.line:0 +msgid "" +"The selected account of your Journal Entry forces to provide a secondary " +"currency. You should remove the secondary currency on the account or select " +"a multi-currency view on the journal." +msgstr "" + +#. module: account_asset +#: view:asset.asset.report:0 +msgid "Month" +msgstr "" + +#. module: account_asset +#: view:account.asset.asset:0 +msgid "Depreciation Board" +msgstr "" + +#. module: account_asset +#: model:ir.model,name:account_asset.model_account_move_line +msgid "Journal Items" +msgstr "" + +#. module: account_asset +#: field:asset.asset.report,unposted_value:0 +msgid "Unposted Amount" +msgstr "" + +#. module: account_asset +#: field:account.asset.asset,method_time:0 +#: field:account.asset.category,method_time:0 +#: field:account.asset.history,method_time:0 +msgid "Time Method" +msgstr "" + +#. module: account_asset +#: view:account.asset.category:0 +msgid "Analytic information" +msgstr "" + +#. module: account_asset +#: view:asset.modify:0 +msgid "Asset durations to modify" +msgstr "" + +#. module: account_asset +#: constraint:account.move.line:0 +msgid "" +"The date of your Journal Entry is not in the defined period! You should " +"change the date or remove this constraint from the journal." +msgstr "" + +#. module: account_asset +#: field:account.asset.asset,note:0 field:account.asset.category,note:0 +#: field:account.asset.history,note:0 +msgid "Note" +msgstr "" + +#. module: account_asset +#: help:account.asset.asset,method:0 help:account.asset.category,method:0 +msgid "" +"Choose the method to use to compute the amount of depreciation lines.\n" +" * Linear: Calculated on basis of: Gross Value / Number of Depreciations\n" +" * Degressive: Calculated on basis of: Remaining Value * Degressive Factor" +msgstr "" + +#. module: account_asset +#: help:account.asset.asset,method_time:0 +#: help:account.asset.category,method_time:0 +msgid "" +"Choose the method to use to compute the dates and number of depreciation " +"lines.\n" +" * Number of Depreciations: Fix the number of depreciation lines and the " +"time between 2 depreciations.\n" +" * Ending Date: Choose the time between 2 depreciations and the date the " +"depreciations won't go beyond." +msgstr "" + +#. module: account_asset +#: view:asset.asset.report:0 +msgid "Assets in running state" +msgstr "" + +#. module: account_asset +#: view:account.asset.asset:0 +msgid "Closed" +msgstr "" + +#. module: account_asset +#: field:account.asset.asset,partner_id:0 +#: field:asset.asset.report,partner_id:0 +msgid "Partner" +msgstr "" + +#. module: account_asset +#: view:asset.asset.report:0 field:asset.asset.report,depreciation_value:0 +msgid "Amount of Depreciation Lines" +msgstr "" + +#. module: account_asset +#: view:asset.asset.report:0 +msgid "Posted depreciation lines" +msgstr "" + +#. module: account_asset +#: constraint:account.move.line:0 +msgid "Company must be the same for its related account and period." +msgstr "" + +#. module: account_asset +#: field:account.asset.asset,child_ids:0 +msgid "Children Assets" +msgstr "" + +#. module: account_asset +#: view:asset.asset.report:0 +msgid "Date of depreciation" +msgstr "" + +#. module: account_asset +#: field:account.asset.history,user_id:0 +msgid "User" +msgstr "" + +#. module: account_asset +#: field:account.asset.history,date:0 +msgid "Date" +msgstr "" + +#. module: account_asset +#: view:asset.asset.report:0 +msgid "Assets purchased in current month" +msgstr "" + +#. module: account_asset +#: constraint:account.move.line:0 +msgid "You can not create journal items on an account of type view." +msgstr "" + +#. module: account_asset +#: view:asset.asset.report:0 +msgid "Extended Filters..." +msgstr "" + +#. module: account_asset +#: view:account.asset.asset:0 view:asset.depreciation.confirmation.wizard:0 +msgid "Compute" +msgstr "" + +#. module: account_asset +#: view:account.asset.category:0 +msgid "Search Asset Category" +msgstr "" + +#. module: account_asset +#: model:ir.model,name:account_asset.model_asset_depreciation_confirmation_wizard +msgid "asset.depreciation.confirmation.wizard" +msgstr "" + +#. module: account_asset +#: field:account.asset.asset,active:0 +msgid "Active" +msgstr "" + +#. module: account_asset +#: model:ir.actions.wizard,name:account_asset.wizard_asset_close +msgid "Close asset" +msgstr "" + +#. module: account_asset +#: field:account.asset.depreciation.line,parent_state:0 +msgid "State of Asset" +msgstr "" + +#. module: account_asset +#: field:account.asset.depreciation.line,name:0 +msgid "Depreciation Name" +msgstr "" + +#. module: account_asset +#: view:account.asset.asset:0 field:account.asset.asset,history_ids:0 +msgid "History" +msgstr "" + +#. module: account_asset +#: sql_constraint:account.invoice:0 +msgid "Invoice Number must be unique per Company!" +msgstr "" + +#. module: account_asset +#: field:asset.depreciation.confirmation.wizard,period_id:0 +msgid "Period" +msgstr "" + +#. module: account_asset +#: view:account.asset.asset:0 +msgid "General" +msgstr "" + +#. module: account_asset +#: field:account.asset.asset,prorata:0 field:account.asset.category,prorata:0 +msgid "Prorata Temporis" +msgstr "" + +#. module: account_asset +#: view:account.asset.category:0 +msgid "Accounting information" +msgstr "" + +#. module: account_asset +#: model:ir.model,name:account_asset.model_account_invoice +msgid "Invoice" +msgstr "" + +#. module: account_asset +#: model:ir.actions.act_window,name:account_asset.action_account_asset_asset_form_normal +msgid "Review Asset Categories" +msgstr "" + +#. module: account_asset +#: view:asset.depreciation.confirmation.wizard:0 view:asset.modify:0 +msgid "Cancel" +msgstr "" + +#. module: account_asset +#: selection:account.asset.asset,state:0 selection:asset.asset.report,state:0 +msgid "Close" +msgstr "" + +#. module: account_asset +#: view:account.asset.asset:0 view:account.asset.category:0 +msgid "Depreciation Method" +msgstr "" + +#. module: account_asset +#: field:account.asset.asset,purchase_date:0 view:asset.asset.report:0 +#: field:asset.asset.report,purchase_date:0 +msgid "Purchase Date" +msgstr "" + +#. module: account_asset +#: selection:account.asset.asset,method:0 +#: selection:account.asset.category,method:0 +msgid "Degressive" +msgstr "" + +#. module: account_asset +#: help:asset.depreciation.confirmation.wizard,period_id:0 +msgid "" +"Choose the period for which you want to automatically post the depreciation " +"lines of running assets" +msgstr "" + +#. module: account_asset +#: view:account.asset.asset:0 +msgid "Current" +msgstr "" + +#. module: account_asset +#: field:account.asset.depreciation.line,remaining_value:0 +msgid "Amount to Depreciate" +msgstr "" + +#. module: account_asset +#: field:account.asset.category,open_asset:0 +msgid "Skip Draft State" +msgstr "" + +#. module: account_asset +#: view:account.asset.asset:0 view:account.asset.category:0 +#: view:account.asset.history:0 +msgid "Depreciation Dates" +msgstr "" + +#. module: account_asset +#: field:account.asset.asset,currency_id:0 +msgid "Currency" +msgstr "" + +#. module: account_asset +#: field:account.asset.category,journal_id:0 +msgid "Journal" +msgstr "" + +#. module: account_asset +#: field:account.asset.depreciation.line,depreciated_value:0 +msgid "Amount Already Depreciated" +msgstr "" + +#. module: account_asset +#: field:account.asset.depreciation.line,move_check:0 +#: view:asset.asset.report:0 field:asset.asset.report,move_check:0 +msgid "Posted" +msgstr "" + +#. module: account_asset +#: help:account.asset.asset,state:0 +msgid "" +"When an asset is created, the state is 'Draft'.\n" +"If the asset is confirmed, the state goes in 'Running' and the depreciation " +"lines can be posted in the accounting.\n" +"You can manually close an asset when the depreciation is over. If the last " +"line of depreciation is posted, the asset automatically goes in that state." +msgstr "" + +#. module: account_asset +#: field:account.asset.category,name:0 +msgid "Name" +msgstr "" + +#. module: account_asset +#: help:account.asset.category,open_asset:0 +msgid "" +"Check this if you want to automatically confirm the assets of this category " +"when created by invoices." +msgstr "" + +#. module: account_asset +#: view:account.asset.asset:0 +msgid "Set to Draft" +msgstr "" + +#. module: account_asset +#: selection:account.asset.asset,method:0 +#: selection:account.asset.category,method:0 +msgid "Linear" +msgstr "" + +#. module: account_asset +#: view:asset.asset.report:0 +msgid "Month-1" +msgstr "" + +#. module: account_asset +#: model:ir.model,name:account_asset.model_account_asset_depreciation_line +msgid "Asset depreciation line" +msgstr "" + +#. module: account_asset +#: field:account.asset.asset,category_id:0 view:account.asset.category:0 +#: field:asset.asset.report,asset_category_id:0 +#: model:ir.model,name:account_asset.model_account_asset_category +msgid "Asset category" +msgstr "" + +#. module: account_asset +#: view:asset.asset.report:0 +msgid "Assets purchased in last month" +msgstr "" + +#. module: account_asset +#: code:addons/account_asset/wizard/wizard_asset_compute.py:49 +#, python-format +msgid "Created Asset Moves" +msgstr "" + +#. module: account_asset +#: constraint:account.move.line:0 +msgid "You can not create journal items on closed account." +msgstr "" + +#. module: account_asset +#: model:ir.actions.act_window,help:account_asset.action_asset_asset_report +msgid "" +"From this report, you can have an overview on all depreciation. The tool " +"search can also be used to personalise your Assets reports and so, match " +"this analysis to your needs;" +msgstr "" + +#. module: account_asset +#: help:account.asset.category,method_period:0 +msgid "State here the time between 2 depreciations, in months" +msgstr "" + +#. module: account_asset +#: field:account.asset.asset,method_number:0 +#: selection:account.asset.asset,method_time:0 +#: field:account.asset.category,method_number:0 +#: selection:account.asset.category,method_time:0 +#: field:account.asset.history,method_number:0 +#: selection:account.asset.history,method_time:0 +#: field:asset.modify,method_number:0 +msgid "Number of Depreciations" +msgstr "" + +#. module: account_asset +#: view:account.asset.asset:0 +msgid "Create Move" +msgstr "" + +#. module: account_asset +#: view:asset.depreciation.confirmation.wizard:0 +msgid "Post Depreciation Lines" +msgstr "" + +#. module: account_asset +#: view:account.asset.asset:0 +msgid "Confirm Asset" +msgstr "" + +#. module: account_asset +#: model:ir.actions.act_window,name:account_asset.action_account_asset_asset_tree +#: model:ir.ui.menu,name:account_asset.menu_action_account_asset_asset_tree +msgid "Asset Hierarchy" +msgstr "" diff --git a/addons/account_bank_statement_extensions/i18n/sr@latin.po b/addons/account_bank_statement_extensions/i18n/sr@latin.po index b8551612a9e..369cc5f11a1 100644 --- a/addons/account_bank_statement_extensions/i18n/sr@latin.po +++ b/addons/account_bank_statement_extensions/i18n/sr@latin.po @@ -8,14 +8,14 @@ msgstr "" "Project-Id-Version: openobject-addons\n" "Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n" "POT-Creation-Date: 2012-02-08 00:35+0000\n" -"PO-Revision-Date: 2012-03-07 18:50+0000\n" +"PO-Revision-Date: 2012-03-13 16:55+0000\n" "Last-Translator: Milan Milosevic <Unknown>\n" "Language-Team: Serbian Latin <sr@latin@li.org>\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2012-03-08 04:43+0000\n" -"X-Generator: Launchpad (build 14914)\n" +"X-Launchpad-Export-Date: 2012-03-14 04:43+0000\n" +"X-Generator: Launchpad (build 14933)\n" #. module: account_bank_statement_extensions #: view:account.bank.statement.line:0 @@ -274,7 +274,7 @@ msgstr "Podređeni kodovi" #. module: account_bank_statement_extensions #: view:confirm.statement.line:0 msgid "Are you sure you want to confirm the selected Bank Statement lines ?" -msgstr "Da li zaista želite da izabrane redove izvoda banke?" +msgstr "Da li zaista želite sa potvrdite izabrane redove izvoda banke?" #. module: account_bank_statement_extensions #: constraint:account.bank.statement.line:0 @@ -300,82 +300,82 @@ msgstr "Nacrt redova izvoda." #. module: account_bank_statement_extensions #: view:account.bank.statement.line:0 msgid "Glob. Am." -msgstr "" +msgstr "Glob.izn." #. module: account_bank_statement_extensions #: model:ir.model,name:account_bank_statement_extensions.model_account_bank_statement_line msgid "Bank Statement Line" -msgstr "" +msgstr "Red izvoda banke" #. module: account_bank_statement_extensions #: field:account.bank.statement.line.global,code:0 msgid "Code" -msgstr "" +msgstr "Kod" #. module: account_bank_statement_extensions #: field:account.bank.statement.line,counterparty_name:0 msgid "Counterparty Name" -msgstr "" +msgstr "Ime druge strane" #. module: account_bank_statement_extensions #: field:account.bank.statement.line.global,name:0 msgid "Communication" -msgstr "" +msgstr "Komunikacija" #. module: account_bank_statement_extensions #: model:ir.model,name:account_bank_statement_extensions.model_res_partner_bank msgid "Bank Accounts" -msgstr "" +msgstr "Bankovni računi" #. module: account_bank_statement_extensions #: constraint:account.bank.statement:0 msgid "The journal and period chosen have to belong to the same company." -msgstr "" +msgstr "Dnevnik i izabrani period treba da pripadaju istom preduzeću." #. module: account_bank_statement_extensions #: model:ir.model,name:account_bank_statement_extensions.model_account_bank_statement msgid "Bank Statement" -msgstr "" +msgstr "Izvod banke" #. module: account_bank_statement_extensions #: view:account.bank.statement.line:0 msgid "Statement Line" -msgstr "" +msgstr "Red izvoda" #. module: account_bank_statement_extensions #: sql_constraint:account.bank.statement.line.global:0 msgid "The code must be unique !" -msgstr "" +msgstr "Kod mora biti jedinstven !" #. module: account_bank_statement_extensions #: field:account.bank.statement.line.global,bank_statement_line_ids:0 #: model:ir.actions.act_window,name:account_bank_statement_extensions.action_bank_statement_line #: model:ir.ui.menu,name:account_bank_statement_extensions.bank_statement_line msgid "Bank Statement Lines" -msgstr "" +msgstr "Redovi izvoda banke" #. module: account_bank_statement_extensions #: view:account.bank.statement.line.global:0 msgid "Child Batch Payments" -msgstr "" +msgstr "Podređena grupna plaćanja" #. module: account_bank_statement_extensions #: view:cancel.statement.line:0 #: view:confirm.statement.line:0 msgid "Cancel" -msgstr "" +msgstr "Otkaži" #. module: account_bank_statement_extensions #: view:account.bank.statement.line:0 msgid "Statement Lines" -msgstr "" +msgstr "Redovi izvoda" #. module: account_bank_statement_extensions #: view:account.bank.statement.line:0 msgid "Total Amount" -msgstr "" +msgstr "Ukupan iznos" #. module: account_bank_statement_extensions #: field:account.bank.statement.line,globalisation_id:0 msgid "Globalisation ID" -msgstr "" +msgstr "ID globalizacije" diff --git a/addons/account_check_writing/i18n/gu.po b/addons/account_check_writing/i18n/gu.po new file mode 100644 index 00000000000..79578aa43d7 --- /dev/null +++ b/addons/account_check_writing/i18n/gu.po @@ -0,0 +1,199 @@ +# Gujarati translation for openobject-addons +# Copyright (c) 2012 Rosetta Contributors and Canonical Ltd 2012 +# This file is distributed under the same license as the openobject-addons package. +# FIRST AUTHOR <EMAIL@ADDRESS>, 2012. +# +msgid "" +msgstr "" +"Project-Id-Version: openobject-addons\n" +"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n" +"POT-Creation-Date: 2012-02-08 00:35+0000\n" +"PO-Revision-Date: 2012-03-15 19:22+0000\n" +"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" +"Language-Team: Gujarati <gu@li.org>\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Launchpad-Export-Date: 2012-03-16 05:09+0000\n" +"X-Generator: Launchpad (build 14951)\n" + +#. module: account_check_writing +#: selection:res.company,check_layout:0 +msgid "Check on Top" +msgstr "" + +#. module: account_check_writing +#: model:ir.actions.act_window,help:account_check_writing.action_write_check +msgid "" +"The check payment form allows you to track the payment you do to your " +"suppliers specially by check. When you select a supplier, the payment method " +"and an amount for the payment, OpenERP will propose to reconcile your " +"payment with the open supplier invoices or bills.You can print the check" +msgstr "" + +#. module: account_check_writing +#: view:account.voucher:0 +#: model:ir.actions.report.xml,name:account_check_writing.account_print_check_bottom +#: model:ir.actions.report.xml,name:account_check_writing.account_print_check_middle +#: model:ir.actions.report.xml,name:account_check_writing.account_print_check_top +msgid "Print Check" +msgstr "" + +#. module: account_check_writing +#: selection:res.company,check_layout:0 +msgid "Check in middle" +msgstr "" + +#. module: account_check_writing +#: help:res.company,check_layout:0 +msgid "" +"Check on top is compatible with Quicken, QuickBooks and Microsoft Money. " +"Check in middle is compatible with Peachtree, ACCPAC and DacEasy. Check on " +"bottom is compatible with Peachtree, ACCPAC and DacEasy only" +msgstr "" + +#. module: account_check_writing +#: selection:res.company,check_layout:0 +msgid "Check on bottom" +msgstr "" + +#. module: account_check_writing +#: constraint:res.company:0 +msgid "Error! You can not create recursive companies." +msgstr "" + +#. module: account_check_writing +#: help:account.journal,allow_check_writing:0 +msgid "Check this if the journal is to be used for writing checks." +msgstr "" + +#. module: account_check_writing +#: field:account.journal,allow_check_writing:0 +msgid "Allow Check writing" +msgstr "" + +#. module: account_check_writing +#: report:account.print.check.bottom:0 +#: report:account.print.check.middle:0 +#: report:account.print.check.top:0 +msgid "Description" +msgstr "વર્ણન" + +#. module: account_check_writing +#: model:ir.model,name:account_check_writing.model_account_journal +msgid "Journal" +msgstr "રોજનામું" + +#. module: account_check_writing +#: model:ir.actions.act_window,name:account_check_writing.action_write_check +#: model:ir.ui.menu,name:account_check_writing.menu_action_write_check +msgid "Write Checks" +msgstr "" + +#. module: account_check_writing +#: report:account.print.check.bottom:0 +#: report:account.print.check.middle:0 +#: report:account.print.check.top:0 +msgid "Discount" +msgstr "" + +#. module: account_check_writing +#: report:account.print.check.bottom:0 +#: report:account.print.check.middle:0 +#: report:account.print.check.top:0 +msgid "Original Amount" +msgstr "" + +#. module: account_check_writing +#: view:res.company:0 +msgid "Configuration" +msgstr "રુપરેખાંકન" + +#. module: account_check_writing +#: field:account.voucher,allow_check:0 +msgid "Allow Check Writing" +msgstr "" + +#. module: account_check_writing +#: report:account.print.check.bottom:0 +#: report:account.print.check.middle:0 +#: report:account.print.check.top:0 +msgid "Payment" +msgstr "" + +#. module: account_check_writing +#: field:account.journal,use_preprint_check:0 +msgid "Use Preprinted Check" +msgstr "" + +#. module: account_check_writing +#: sql_constraint:res.company:0 +msgid "The company name must be unique !" +msgstr "" + +#. module: account_check_writing +#: report:account.print.check.bottom:0 +#: report:account.print.check.middle:0 +#: report:account.print.check.top:0 +msgid "Due Date" +msgstr "" + +#. module: account_check_writing +#: model:ir.model,name:account_check_writing.model_res_company +msgid "Companies" +msgstr "" + +#. module: account_check_writing +#: view:res.company:0 +msgid "Default Check layout" +msgstr "" + +#. module: account_check_writing +#: constraint:account.journal:0 +msgid "" +"Configuration error! The currency chosen should be shared by the default " +"accounts too." +msgstr "" + +#. module: account_check_writing +#: report:account.print.check.bottom:0 +#: report:account.print.check.middle:0 +msgid "Balance Due" +msgstr "" + +#. module: account_check_writing +#: report:account.print.check.bottom:0 +#: report:account.print.check.middle:0 +#: report:account.print.check.top:0 +msgid "Check Amount" +msgstr "" + +#. module: account_check_writing +#: model:ir.model,name:account_check_writing.model_account_voucher +msgid "Accounting Voucher" +msgstr "" + +#. module: account_check_writing +#: sql_constraint:account.journal:0 +msgid "The name of the journal must be unique per company !" +msgstr "" + +#. module: account_check_writing +#: sql_constraint:account.journal:0 +msgid "The code of the journal must be unique per company !" +msgstr "" + +#. module: account_check_writing +#: field:account.voucher,amount_in_word:0 +msgid "Amount in Word" +msgstr "" + +#. module: account_check_writing +#: report:account.print.check.top:0 +msgid "Open Balance" +msgstr "" + +#. module: account_check_writing +#: field:res.company,check_layout:0 +msgid "Choose Check layout" +msgstr "" diff --git a/addons/account_check_writing/i18n/sr@latin.po b/addons/account_check_writing/i18n/sr@latin.po new file mode 100644 index 00000000000..8a76d73bc1e --- /dev/null +++ b/addons/account_check_writing/i18n/sr@latin.po @@ -0,0 +1,208 @@ +# Serbian Latin translation for openobject-addons +# Copyright (c) 2012 Rosetta Contributors and Canonical Ltd 2012 +# This file is distributed under the same license as the openobject-addons package. +# FIRST AUTHOR <EMAIL@ADDRESS>, 2012. +# +msgid "" +msgstr "" +"Project-Id-Version: openobject-addons\n" +"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n" +"POT-Creation-Date: 2012-02-08 00:35+0000\n" +"PO-Revision-Date: 2012-03-16 09:19+0000\n" +"Last-Translator: Milan Milosevic <Unknown>\n" +"Language-Team: Serbian Latin <sr@latin@li.org>\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Launchpad-Export-Date: 2012-03-17 04:55+0000\n" +"X-Generator: Launchpad (build 14951)\n" + +#. module: account_check_writing +#: selection:res.company,check_layout:0 +msgid "Check on Top" +msgstr "Ček na vrhu" + +#. module: account_check_writing +#: model:ir.actions.act_window,help:account_check_writing.action_write_check +msgid "" +"The check payment form allows you to track the payment you do to your " +"suppliers specially by check. When you select a supplier, the payment method " +"and an amount for the payment, OpenERP will propose to reconcile your " +"payment with the open supplier invoices or bills.You can print the check" +msgstr "" +"Obrazac za plaćanje čekom Vam omogućava da pratite plaćanja koja vršite " +"svojim dobavljačima čekom. Kad izaberete, dobavljača, način plaćanja i iznos " +"uplate, OpenERP predložiće ravnanje s otvorenim obračunima dobavljača ili " +"računa. Možete odštampati ček" + +#. module: account_check_writing +#: view:account.voucher:0 +#: model:ir.actions.report.xml,name:account_check_writing.account_print_check_bottom +#: model:ir.actions.report.xml,name:account_check_writing.account_print_check_middle +#: model:ir.actions.report.xml,name:account_check_writing.account_print_check_top +msgid "Print Check" +msgstr "Štampanje čeka" + +#. module: account_check_writing +#: selection:res.company,check_layout:0 +msgid "Check in middle" +msgstr "Ček u sredini" + +#. module: account_check_writing +#: help:res.company,check_layout:0 +msgid "" +"Check on top is compatible with Quicken, QuickBooks and Microsoft Money. " +"Check in middle is compatible with Peachtree, ACCPAC and DacEasy. Check on " +"bottom is compatible with Peachtree, ACCPAC and DacEasy only" +msgstr "" +"Ček na vrhu kompatibilan je sa Quicken, QuickBooks i Microsoft Money. Ček u " +"sredini kompatibilan je sa Peachtree, ACCPAC i DacEasy. Ček na dnu " +"kompatibilan je samo sa Peachtree, ACCPAC i DacEasy" + +#. module: account_check_writing +#: selection:res.company,check_layout:0 +msgid "Check on bottom" +msgstr "Ček na dnu" + +#. module: account_check_writing +#: constraint:res.company:0 +msgid "Error! You can not create recursive companies." +msgstr "Greška! Ne možete da napravite rekurzivna preduzeća." + +#. module: account_check_writing +#: help:account.journal,allow_check_writing:0 +msgid "Check this if the journal is to be used for writing checks." +msgstr "Obeležite ovo ako dnevnik treba biti korišćen za pisanje čekova-" + +#. module: account_check_writing +#: field:account.journal,allow_check_writing:0 +msgid "Allow Check writing" +msgstr "Dozvoli pisanje čekova" + +#. module: account_check_writing +#: report:account.print.check.bottom:0 +#: report:account.print.check.middle:0 +#: report:account.print.check.top:0 +msgid "Description" +msgstr "Opis" + +#. module: account_check_writing +#: model:ir.model,name:account_check_writing.model_account_journal +msgid "Journal" +msgstr "Dnevnik" + +#. module: account_check_writing +#: model:ir.actions.act_window,name:account_check_writing.action_write_check +#: model:ir.ui.menu,name:account_check_writing.menu_action_write_check +msgid "Write Checks" +msgstr "Ispiši čekove" + +#. module: account_check_writing +#: report:account.print.check.bottom:0 +#: report:account.print.check.middle:0 +#: report:account.print.check.top:0 +msgid "Discount" +msgstr "Popust" + +#. module: account_check_writing +#: report:account.print.check.bottom:0 +#: report:account.print.check.middle:0 +#: report:account.print.check.top:0 +msgid "Original Amount" +msgstr "Prvobitni iznos" + +#. module: account_check_writing +#: view:res.company:0 +msgid "Configuration" +msgstr "Podešavanje" + +#. module: account_check_writing +#: field:account.voucher,allow_check:0 +msgid "Allow Check Writing" +msgstr "Dozvoli pisanje čekova" + +#. module: account_check_writing +#: report:account.print.check.bottom:0 +#: report:account.print.check.middle:0 +#: report:account.print.check.top:0 +msgid "Payment" +msgstr "Plaćanje" + +#. module: account_check_writing +#: field:account.journal,use_preprint_check:0 +msgid "Use Preprinted Check" +msgstr "iskoristi predefinisan ček" + +#. module: account_check_writing +#: sql_constraint:res.company:0 +msgid "The company name must be unique !" +msgstr "Ime kompanije mora biti jedinstveno !" + +#. module: account_check_writing +#: report:account.print.check.bottom:0 +#: report:account.print.check.middle:0 +#: report:account.print.check.top:0 +msgid "Due Date" +msgstr "Krajnji rok" + +#. module: account_check_writing +#: model:ir.model,name:account_check_writing.model_res_company +msgid "Companies" +msgstr "Preduzeća" + +#. module: account_check_writing +#: view:res.company:0 +msgid "Default Check layout" +msgstr "Izgled čeka po defaultu" + +#. module: account_check_writing +#: constraint:account.journal:0 +msgid "" +"Configuration error! The currency chosen should be shared by the default " +"accounts too." +msgstr "" +"Greška podešavanja! Izabrana valuta mora biti zajednička za default račune " +"takođe." + +#. module: account_check_writing +#: report:account.print.check.bottom:0 +#: report:account.print.check.middle:0 +msgid "Balance Due" +msgstr "Stanje dugovanja" + +#. module: account_check_writing +#: report:account.print.check.bottom:0 +#: report:account.print.check.middle:0 +#: report:account.print.check.top:0 +msgid "Check Amount" +msgstr "Iznos čeka" + +#. module: account_check_writing +#: model:ir.model,name:account_check_writing.model_account_voucher +msgid "Accounting Voucher" +msgstr "KVaučer knjigovodstva" + +#. module: account_check_writing +#: sql_constraint:account.journal:0 +msgid "The name of the journal must be unique per company !" +msgstr "Peachtree, ACCPAC and DacEasy only !" + +#. module: account_check_writing +#: sql_constraint:account.journal:0 +msgid "The code of the journal must be unique per company !" +msgstr "Kod dnevnika mora biti jedinstven po preduzeću !" + +#. module: account_check_writing +#: field:account.voucher,amount_in_word:0 +msgid "Amount in Word" +msgstr "Iznos rečima" + +#. module: account_check_writing +#: report:account.print.check.top:0 +msgid "Open Balance" +msgstr "Otvori stanje" + +#. module: account_check_writing +#: field:res.company,check_layout:0 +msgid "Choose Check layout" +msgstr "Izaberi izgled čeka" diff --git a/addons/base_iban/i18n/gu.po b/addons/base_iban/i18n/gu.po new file mode 100644 index 00000000000..e5cb9e63433 --- /dev/null +++ b/addons/base_iban/i18n/gu.po @@ -0,0 +1,94 @@ +# Gujarati translation for openobject-addons +# Copyright (c) 2012 Rosetta Contributors and Canonical Ltd 2012 +# This file is distributed under the same license as the openobject-addons package. +# FIRST AUTHOR <EMAIL@ADDRESS>, 2012. +# +msgid "" +msgstr "" +"Project-Id-Version: openobject-addons\n" +"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n" +"POT-Creation-Date: 2012-02-08 00:36+0000\n" +"PO-Revision-Date: 2012-03-12 15:04+0000\n" +"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" +"Language-Team: Gujarati <gu@li.org>\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Launchpad-Export-Date: 2012-03-13 05:08+0000\n" +"X-Generator: Launchpad (build 14933)\n" + +#. module: base_iban +#: constraint:res.partner.bank:0 +msgid "" +"\n" +"Please define BIC/Swift code on bank for bank type IBAN Account to make " +"valid payments" +msgstr "" + +#. module: base_iban +#: code:addons/base_iban/base_iban.py:139 +#, python-format +msgid "This IBAN does not pass the validation check, please verify it" +msgstr "" + +#. module: base_iban +#: model:res.partner.bank.type,format_layout:base_iban.bank_iban +msgid "%(bank_name)s: IBAN %(acc_number)s - BIC %(bank_bic)s" +msgstr "" + +#. module: base_iban +#: model:res.partner.bank.type.field,name:base_iban.bank_swift_field +msgid "bank_bic" +msgstr "" + +#. module: base_iban +#: model:res.partner.bank.type.field,name:base_iban.bank_zip_field +msgid "zip" +msgstr "" + +#. module: base_iban +#: help:res.partner.bank,iban:0 +msgid "International Bank Account Number" +msgstr "" + +#. module: base_iban +#: model:ir.model,name:base_iban.model_res_partner_bank +msgid "Bank Accounts" +msgstr "" + +#. module: base_iban +#: model:res.partner.bank.type.field,name:base_iban.bank_country_field +msgid "country_id" +msgstr "" + +#. module: base_iban +#: code:addons/base_iban/base_iban.py:136 +#, python-format +msgid "" +"The IBAN does not seem to be correct. You should have entered something like " +"this %s" +msgstr "" + +#. module: base_iban +#: field:res.partner.bank,iban:0 +msgid "IBAN" +msgstr "" + +#. module: base_iban +#: code:addons/base_iban/base_iban.py:140 +#, python-format +msgid "The IBAN is invalid, it should begin with the country code" +msgstr "" + +#. module: base_iban +#: model:res.partner.bank.type,name:base_iban.bank_iban +msgid "IBAN Account" +msgstr "" + +#. module: base_iban +#: constraint:res.partner.bank:0 +msgid "The RIB and/or IBAN is not valid" +msgstr "" + +#~ msgid "Invalid XML for View Architecture!" +#~ msgstr "દ્રશ્ય બંધારણ માટે અમાન્ય એક્સ.એમ.એલ!" diff --git a/addons/base_setup/base_setup.py b/addons/base_setup/base_setup.py index c10dee7b14b..19c053bae14 100644 --- a/addons/base_setup/base_setup.py +++ b/addons/base_setup/base_setup.py @@ -201,4 +201,13 @@ class specify_partner_terminology(osv.osv_memory): self.make_translations(cr, uid, ids, act_ref, 'model', act_id.help, _case_insensitive_replace(act_id.help,'Customer',o.partner), res_id=act_id.id, context=context) return {} + + +# Preferences wizard for Sales & CRM. +# It is defined here because it must be inherited independently in modules sale and crm. +# +class sale_config_settings(osv.osv_memory): + _name = 'sale.config.settings' + _inherit = 'res.config.settings' + # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/addons/base_setup/base_setup_views.xml b/addons/base_setup/base_setup_views.xml index 4155c7e9957..442986cff61 100644 --- a/addons/base_setup/base_setup_views.xml +++ b/addons/base_setup/base_setup_views.xml @@ -142,5 +142,31 @@ <field name="sequence">1</field> </record> + <record id="base.view_sale_config_settings" model="ir.ui.view"> + <field name="name">sale.config.settings</field> + <field name="model">sale.config.settings</field> + <field name="type">form</field> + <field name="arch" type="xml"> + <form string="Configure Sales & CRM"> + <group name="config_sale" colspan="4"/> + <group name="config_contracts" colspan="4"/> + <group name="config_emails" colspan="4"/> + <group name="config_crm" colspan="4"/> + <label colspan="2"/> + <button string="Cancel" icon="gtk-cancel" special="cancel"/> + <button string="Apply" icon="gtk-ok" type="object" name="execute"/> + </form> + </field> + </record> + + <record id="base.action_sale_config" model="ir.actions.act_window"> + <field name="name">Configure Sales & CRM</field> + <field name="type">ir.actions.act_window</field> + <field name="res_model">sale.config.settings</field> + <field name="view_id" ref="base.view_sale_config_settings"/> + <field name="view_mode">form</field> + <field name="target">new</field> + </record> + </data> </openerp> diff --git a/addons/crm/__init__.py b/addons/crm/__init__.py index 214c5c3d450..95cf8b53f27 100644 --- a/addons/crm/__init__.py +++ b/addons/crm/__init__.py @@ -28,6 +28,7 @@ import crm_phonecall import report import wizard import res_partner +import res_config # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/addons/crm/__openerp__.py b/addons/crm/__openerp__.py index 4968176e826..5f71c404976 100644 --- a/addons/crm/__openerp__.py +++ b/addons/crm/__openerp__.py @@ -111,6 +111,8 @@ Creates a dashboard for CRM that includes: 'res_partner_view.xml', 'board_crm_statistical_view.xml', 'board_crm_view.xml', + + 'res_config_view.xml', ], 'demo_xml': [ diff --git a/addons/crm/res_config.py b/addons/crm/res_config.py new file mode 100644 index 00000000000..66b83a75f18 --- /dev/null +++ b/addons/crm/res_config.py @@ -0,0 +1,126 @@ +# -*- 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 + +class crm_configuration(osv.osv_memory): + _inherit = 'sale.config.settings' + + _columns = { + 'module_crm_caldav': fields.boolean("Caldav Synchronization", + help="""Use protocol caldav to synchronize meetings with other calendar applications (like Sunbird). + This installs the module crm_caldav."""), + 'fetchmail_crm': fields.boolean("Lead/Opportunity mail gateway", + help="Create leads automatically from an email gateway."), + 'default_server': fields.char('Server Name', size=256), + 'default_port': fields.integer('Port'), + 'default_type': fields.selection([ + ('pop', 'POP Server'), + ('imap', 'IMAP Server'), + ('local', 'Local Server'), + ], 'Server Type'), + 'default_is_ssl': fields.boolean('SSL/TLS', + help="Connections are encrypted with SSL/TLS through a dedicated port (default: IMAPS=993, POP=995)"), + 'default_user': fields.char('Username', size=256), + 'default_password': fields.char('Password', size=1024), + 'module_import_sugarcrm': fields.boolean("SugarCRM Import", + help="""Import SugarCRM leads, opportunities, users, accounts, contacts, employees, meetings, phonecalls, emails, project and project tasks data. + This installs the module import_sugarcrm."""), + 'module_import_google': fields.boolean("Google Import", + help="""Import google contact in partner address and add google calendar events details in Meeting. + This installs the module import_google."""), + 'module_wiki_sale_faq': fields.boolean("Install a sales FAQ", + help="""This provides demo data, thereby creating a Wiki Group and a Wiki Page for Wiki Sale FAQ. + This installs the module wiki_sale_faq."""), + 'module_base_contact': fields.boolean("Manage a several addresses per customer", + help="""Lets you define: + * contacts unrelated to a partner, + * contacts working at several addresses (possibly for different partners), + * contacts with possibly different job functions. + This installs the module base_contact."""), + 'module_google_map': fields.boolean("Google maps on customer", + help="""Locate customers on Google Map. + This installs the module google_map."""), + } + + _defaults = { + 'default_type': 'pop', + } + + def onchange_server_type(self, cr, uid, ids, server_type, ssl, context=None): + values = {} + if server_type == 'pop': + values['default_port'] = ssl and 995 or 110 + elif server_type == 'imap': + values['default_port'] = ssl and 993 or 143 + else: + values['default_server'] = False + values['default_port'] = 0 + return {'value': values} + + def get_default_email_configurations(self, cr, uid, ids, context=None): + ir_values = self.pool.get('ir.values') + server_count = self.pool.get('fetchmail.server').search(cr, uid, + [('name','=','Incoming Leads'), ('state','=','done')], count=True) + return { + 'fetchmail_crm': bool(server_count), + 'default_server': ir_values.get_default(cr, uid, 'fetchmail.server', 'server') or False, + 'default_port': ir_values.get_default(cr, uid, 'fetchmail.server', 'port') or False, + 'default_type': ir_values.get_default(cr, uid, 'fetchmail.server', 'type') or False, + 'default_is_ssl': ir_values.get_default(cr, uid, 'fetchmail.server', 'is_ssl') or False, + 'default_user': ir_values.get_default(cr, uid, 'fetchmail.server', 'user') or False, + 'default_password': ir_values.get_default(cr, uid, 'fetchmail.server', 'password') or False, + } + + def set_email_configurations(self, cr, uid, ids, context=None): + ir_values = self.pool.get('ir.values') + fetchmail_obj = self.pool.get('fetchmail.server') + config = self.browse(cr, uid, ids[0], context) + model_ids = self.pool.get('ir.model').search(cr, uid, [('model', '=', 'crm.lead')]) + if config.fetchmail_crm and model_ids: + fetchmail_vals = { + 'name': 'Incoming Leads', + 'object_id': model_ids[0], + 'server': config.default_server, + 'port': config.default_port, + 'is_ssl': config.default_is_ssl, + 'type': config.default_type, + 'user': config.default_user, + 'password': config.default_password, + } + server_ids = fetchmail_obj.search(cr, uid, [('name','=','Incoming Leads'), ('state','=','done')]) + if not server_ids: + server_ids = [fetchmail_obj.create(cr, uid, fetchmail_vals, context=context)] + else: + server_ids = fetchmail_obj.search(cr, uid, [('name','=','Incoming Leads')], context=context) + fetchmail_obj.write(cr, uid, server_ids, fetchmail_vals, context=context) + fetchmail_obj.button_confirm_login(cr, uid, server_ids, context=None) + ir_values.set_default(cr, uid, 'fetchmail.server', 'server', config.default_server) + ir_values.set_default(cr, uid, 'fetchmail.server', 'port', config.default_port) + ir_values.set_default(cr, uid, 'fetchmail.server', 'is_ssl', config.default_is_ssl) + ir_values.set_default(cr, uid, 'fetchmail.server', 'type', config.default_type) + ir_values.set_default(cr, uid, 'fetchmail.server', 'user', config.default_user) + ir_values.set_default(cr, uid, 'fetchmail.server', 'password', config.default_password) + else: + server_ids = fetchmail_obj.search(cr, uid, [('name','=','Incoming Leads'), ('state','=','done')]) + fetchmail_obj.set_draft(cr, uid, server_ids, context=None) + +# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/addons/crm/res_config_view.xml b/addons/crm/res_config_view.xml new file mode 100644 index 00000000000..32d84ce3b67 --- /dev/null +++ b/addons/crm/res_config_view.xml @@ -0,0 +1,45 @@ +<?xml version="1.0" encoding="utf-8"?> +<openerp> + <data> + + <record id="view_sales_config_crm" model="ir.ui.view"> + <field name="name">Sales Application</field> + <field name="model">sale.config.settings</field> + <field name="type">form</field> + <field name="inherit_id" ref="mail.view_sales_config_plugin"/> + <field name="arch" type="xml"> + <group name="config_emails" position="inside"> + <separator string="Emails" colspan="4"/> + <field name="fetchmail_crm"/> + <group colspan="2" attrs="{'invisible': [('fetchmail_crm','=',False)]}"> + <field name="default_server" attrs="{'required': [('fetchmail_crm','=',True)]}"/> + <field name="default_type" nolabel="1" on_change="onchange_server_type(default_type, default_is_ssl)" attrs="{'required': [('fetchmail_crm','=',True)]}"/> + <field name="default_port" attrs="{'required': [('fetchmail_crm','=',True)]}"/> + <field name="default_is_ssl" on_change="onchange_server_type(default_type, default_is_ssl)"/> + <newline/> + <field name="default_user" attrs="{'required': [('fetchmail_crm','=',True)]}"/> + <field name="default_password" password="True" attrs="{'required': [('fetchmail_crm','=',True)]}"/> + </group> + </group> + <group name="config_crm" position="inside"> + <separator string="Import and Synchronize data from an other application" colspan="4"/> + <group colspan="2" col="2"> + <field name="module_import_sugarcrm"/> + <field name="module_import_google"/> + </group> + <group colspan="2" col="2"> + <field name="module_crm_caldav"/> + </group> + <separator string="Documents and Wiki" colspan="4"/> + <field name="module_wiki_sale_faq" /> + <separator string="Customer Form" colspan="4"/> + <field name="module_base_contact"/> + <field name="module_google_map"/> + </group> + </field> + </record> + + <menuitem id="base.menu_sale_config" name="Sales & CRM" parent="base.menu_config" sequence="1" action="base.action_sale_config"/> + + </data> +</openerp> diff --git a/addons/crm_claim/i18n/es.po b/addons/crm_claim/i18n/es.po index 779250403b4..760ddd6c791 100644 --- a/addons/crm_claim/i18n/es.po +++ b/addons/crm_claim/i18n/es.po @@ -8,14 +8,14 @@ msgstr "" "Project-Id-Version: openobject-addons\n" "Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n" "POT-Creation-Date: 2012-02-08 00:36+0000\n" -"PO-Revision-Date: 2012-02-15 20:06+0000\n" +"PO-Revision-Date: 2012-03-12 08:00+0000\n" "Last-Translator: Carlos @ smile-iberia <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: 2012-02-16 05:06+0000\n" -"X-Generator: Launchpad (build 14781)\n" +"X-Launchpad-Export-Date: 2012-03-13 05:08+0000\n" +"X-Generator: Launchpad (build 14933)\n" #. module: crm_claim #: field:crm.claim.report,nbr:0 @@ -254,7 +254,7 @@ msgstr "Acción siguiente" #. module: crm_claim #: view:crm.claim.report:0 msgid "My Sales Team(s)" -msgstr "" +msgstr "Mi(s) equipo(s) de ventas" #. module: crm_claim #: model:crm.case.stage,name:crm_claim.stage_claim3 @@ -475,7 +475,7 @@ msgstr "Junio" #. module: crm_claim #: view:res.partner:0 msgid "Partners Claim" -msgstr "" +msgstr "Reclamaciones de empresas" #. module: crm_claim #: field:crm.claim,partner_phone:0 @@ -490,7 +490,7 @@ msgstr "Usuario" #. module: crm_claim #: field:crm.claim,active:0 msgid "Active" -msgstr "" +msgstr "Activo" #. module: crm_claim #: selection:crm.claim.report,month:0 @@ -786,7 +786,7 @@ msgstr "ID" #. module: crm_claim #: constraint:res.partner:0 msgid "Error ! You cannot create recursive associated members." -msgstr "" +msgstr "¡Error! No puede crear miembros asociados recursivamente." #. module: crm_claim #: view:crm.claim:0 diff --git a/addons/crm_todo/i18n/sr@latin.po b/addons/crm_todo/i18n/sr@latin.po new file mode 100644 index 00000000000..e806810526e --- /dev/null +++ b/addons/crm_todo/i18n/sr@latin.po @@ -0,0 +1,95 @@ +# Serbian Latin translation for openobject-addons +# Copyright (c) 2012 Rosetta Contributors and Canonical Ltd 2012 +# This file is distributed under the same license as the openobject-addons package. +# FIRST AUTHOR <EMAIL@ADDRESS>, 2012. +# +msgid "" +msgstr "" +"Project-Id-Version: openobject-addons\n" +"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n" +"POT-Creation-Date: 2012-02-08 00:36+0000\n" +"PO-Revision-Date: 2012-03-16 10:40+0000\n" +"Last-Translator: Milan Milosevic <Unknown>\n" +"Language-Team: Serbian Latin <sr@latin@li.org>\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Launchpad-Export-Date: 2012-03-17 04:55+0000\n" +"X-Generator: Launchpad (build 14951)\n" + +#. module: crm_todo +#: model:ir.model,name:crm_todo.model_project_task +msgid "Task" +msgstr "Zadatak" + +#. module: crm_todo +#: view:crm.lead:0 +msgid "Timebox" +msgstr "Rok za izvršenje" + +#. module: crm_todo +#: view:crm.lead:0 +msgid "For cancelling the task" +msgstr "Za poništavanje zadatka" + +#. module: crm_todo +#: constraint:project.task:0 +msgid "Error ! Task end-date must be greater then task start-date" +msgstr "Greška ! Datum završetka mora biti posle datuma početka zadatka" + +#. module: crm_todo +#: model:ir.model,name:crm_todo.model_crm_lead +msgid "crm.lead" +msgstr "crm.lead" + +#. module: crm_todo +#: view:crm.lead:0 +msgid "Next" +msgstr "Sledeće" + +#. module: crm_todo +#: model:ir.actions.act_window,name:crm_todo.crm_todo_action +#: model:ir.ui.menu,name:crm_todo.menu_crm_todo +msgid "My Tasks" +msgstr "Moji zadaci" + +#. module: crm_todo +#: view:crm.lead:0 +#: field:crm.lead,task_ids:0 +msgid "Tasks" +msgstr "Zadaci" + +#. module: crm_todo +#: view:crm.lead:0 +msgid "Done" +msgstr "Gotovo" + +#. module: crm_todo +#: constraint:project.task:0 +msgid "Error ! You cannot create recursive tasks." +msgstr "Greška ! Ne možete praviti rekurzivne zadatke." + +#. module: crm_todo +#: view:crm.lead:0 +msgid "Cancel" +msgstr "Otkaži" + +#. module: crm_todo +#: view:crm.lead:0 +msgid "Extra Info" +msgstr "Dodatne informacije" + +#. module: crm_todo +#: field:project.task,lead_id:0 +msgid "Lead / Opportunity" +msgstr "Vodeće / Prilika" + +#. module: crm_todo +#: view:crm.lead:0 +msgid "For changing to done state" +msgstr "Za promenu u stanje 'gotovo'" + +#. module: crm_todo +#: view:crm.lead:0 +msgid "Previous" +msgstr "Prethodno" diff --git a/addons/delivery/delivery.py b/addons/delivery/delivery.py index 9f95a430f4e..77193cde2bf 100644 --- a/addons/delivery/delivery.py +++ b/addons/delivery/delivery.py @@ -106,7 +106,7 @@ class delivery_carrier(osv.osv): # if using advanced pricing per destination: do not change if record.use_detailed_pricelist: continue - + # not using advanced pricing per destination: override grid grid_id = grid_pool.search(cr, uid, [('carrier_id', '=', record.id)], context=context) @@ -250,23 +250,4 @@ class delivery_grid_line(osv.osv): delivery_grid_line() -class define_delivery_steps(osv.osv_memory): - _name = 'delivery.define.delivery.steps.wizard' - - _columns = { - 'picking_policy' : fields.selection([('direct', 'Deliver each product when available'), ('one', 'Deliver all products at once')], 'Picking Policy'), - } - _defaults = { - 'picking_policy': lambda s,c,u,ctx: s.pool.get('sale.order').default_get(c,u,['picking_policy'],context=ctx)['picking_policy'] - } - - def apply_cb(self, cr, uid, ids, context=None): - ir_values_obj = self.pool.get('ir.values') - wizard = self.browse(cr, uid, ids, context=context)[0] - ir_values_obj.set(cr, uid, 'default', False, 'picking_policy', ['sale.order'], wizard.picking_policy) - return {'type' : 'ir.actions.act_window_close'} - -define_delivery_steps() - - # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/addons/delivery/delivery_view.xml b/addons/delivery/delivery_view.xml index 1e47d815084..5d6d9cd2d40 100644 --- a/addons/delivery/delivery_view.xml +++ b/addons/delivery/delivery_view.xml @@ -337,35 +337,5 @@ <field name="sequence">10</field> </record> - <record model="ir.ui.view" id="define_delivery_steps_form"> - <field name="name">delivery.define_delivery_steps</field> - <field name="model">delivery.define.delivery.steps.wizard</field> - <field name="type">form</field> - <field name="arch" type="xml"> - <form string="Setup Your Picking Policy"> - <separator string="Choose Your Default Picking Policy" colspan="4"/> - <field name="picking_policy" /> - <separator string="" colspan="4"/> - <group colspan="4"> - <button string="Cancel" icon="gtk-cancel" special="cancel" /> - <button string="Apply" icon="gtk-apply" name="apply_cb" type="object" /> - </group> - </form> - </field> - </record> - - <record model="ir.actions.act_window" id="action_define_delivery_steps"> - <field name="name">Setup Your Picking Policy</field> - <field name="res_model">delivery.define.delivery.steps.wizard</field> - <field name="view_type">form</field> - <field name="view_mode">form</field> - <field name="target">new</field> - </record> - - <record model="ir.actions.todo" id="todo_define_delivery_steps"> - <field name="action_id" ref="action_define_delivery_steps" /> - <field name="category_id" ref="base.category_sales_management_config"/> - <field name="type">once</field> - </record> </data> </openerp> diff --git a/addons/delivery/test/delivery_cost.yml b/addons/delivery/test/delivery_cost.yml index f8d6787a0c5..521f260e136 100644 --- a/addons/delivery/test/delivery_cost.yml +++ b/addons/delivery/test/delivery_cost.yml @@ -67,9 +67,9 @@ - I set default delivery policy. - - !record {model: delivery.define.delivery.steps.wizard, id: default_delivery_policy}: + !record {model: sale.config.settings, id: default_delivery_policy}: {} - - !python {model: delivery.define.delivery.steps.wizard}: | - self.apply_cb(cr, uid, [ref('default_delivery_policy')], context=context) + !python {model: sale.config.settings}: | + self.execute(cr, uid, [ref('default_delivery_policy')], context=context) diff --git a/addons/event/i18n/gu.po b/addons/event/i18n/gu.po new file mode 100644 index 00000000000..643af483ab1 --- /dev/null +++ b/addons/event/i18n/gu.po @@ -0,0 +1,1263 @@ +# Gujarati translation for openobject-addons +# Copyright (c) 2012 Rosetta Contributors and Canonical Ltd 2012 +# This file is distributed under the same license as the openobject-addons package. +# FIRST AUTHOR <EMAIL@ADDRESS>, 2012. +# +msgid "" +msgstr "" +"Project-Id-Version: openobject-addons\n" +"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n" +"POT-Creation-Date: 2012-02-08 00:36+0000\n" +"PO-Revision-Date: 2012-03-15 19:22+0000\n" +"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" +"Language-Team: Gujarati <gu@li.org>\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Launchpad-Export-Date: 2012-03-16 05:09+0000\n" +"X-Generator: Launchpad (build 14951)\n" + +#. module: event +#: view:event.event:0 +msgid "Invoice Information" +msgstr "" + +#. module: event +#: view:partner.event.registration:0 +msgid "Event Details" +msgstr "" + +#. module: event +#: field:event.event,main_speaker_id:0 +msgid "Main Speaker" +msgstr "" + +#. module: event +#: view:event.event:0 +#: view:event.registration:0 +#: view:report.event.registration:0 +msgid "Group By..." +msgstr "ગ્રુપ દ્વારા..." + +#. module: event +#: field:event.event,register_min:0 +msgid "Minimum Registrations" +msgstr "" + +#. module: event +#: model:ir.model,name:event.model_event_confirm_registration +msgid "Confirmation for Event Registration" +msgstr "" + +#. module: event +#: field:event.registration.badge,title:0 +msgid "Title" +msgstr "શીર્ષક" + +#. module: event +#: field:event.event,mail_registr:0 +msgid "Registration Email" +msgstr "" + +#. module: event +#: model:ir.actions.act_window,name:event.action_event_confirm_registration +msgid "Make Invoices" +msgstr "" + +#. module: event +#: view:event.event:0 +#: view:event.registration:0 +msgid "Registration Date" +msgstr "" + +#. module: event +#: view:partner.event.registration:0 +msgid "_Close" +msgstr "બંધ કરો (_C)" + +#. module: event +#: model:event.event,name:event.event_0 +msgid "Concert of Bon Jovi" +msgstr "" + +#. module: event +#: view:report.event.registration:0 +msgid "Invoiced Registrations only" +msgstr "" + +#. module: event +#: selection:report.event.registration,month:0 +msgid "March" +msgstr "માર્ચ" + +#. module: event +#: field:event.event,mail_confirm:0 +msgid "Confirmation Email" +msgstr "" + +#. module: event +#: field:event.registration,nb_register:0 +msgid "Quantity" +msgstr "જથ્થો" + +#. module: event +#: code:addons/event/wizard/event_make_invoice.py:63 +#, python-format +msgid "Registration doesn't have any partner to invoice." +msgstr "" + +#. module: event +#: field:event.event,company_id:0 +#: field:event.registration,company_id:0 +#: view:report.event.registration:0 +#: field:report.event.registration,company_id:0 +msgid "Company" +msgstr "કંપની" + +#. module: event +#: field:event.make.invoice,invoice_date:0 +msgid "Invoice Date" +msgstr "" + +#. module: event +#: help:event.event,pricelist_id:0 +msgid "Pricelist version for current event." +msgstr "" + +#. module: event +#: code:addons/event/wizard/partner_event_registration.py:88 +#: view:event.registration:0 +#: model:ir.actions.act_window,name:event.action_partner_event_registration +#: model:ir.model,name:event.model_event_registration +#: view:partner.event.registration:0 +#, python-format +msgid "Event Registration" +msgstr "" + +#. module: event +#: field:event.event,parent_id:0 +msgid "Parent Event" +msgstr "" + +#. module: event +#: model:ir.actions.act_window,name:event.action_make_invoices +msgid "Make Invoice" +msgstr "" + +#. module: event +#: field:event.registration,price_subtotal:0 +msgid "Subtotal" +msgstr "" + +#. module: event +#: view:report.event.registration:0 +msgid "Event on Registration" +msgstr "" + +#. module: event +#: help:event.event,reply_to:0 +msgid "The email address put in the 'Reply-To' of all emails sent by OpenERP" +msgstr "" + +#. module: event +#: view:event.registration:0 +msgid "Add Internal Note" +msgstr "" + +#. module: event +#: view:event.event:0 +msgid "Confirmed events" +msgstr "" + +#. module: event +#: view:report.event.registration:0 +msgid "Event Beginning Date" +msgstr "" + +#. module: event +#: model:ir.actions.act_window,name:event.action_report_event_registration +#: model:ir.model,name:event.model_report_event_registration +#: model:ir.ui.menu,name:event.menu_report_event_registration +#: view:report.event.registration:0 +msgid "Events Analysis" +msgstr "" + +#. module: event +#: field:event.registration,message_ids:0 +msgid "Messages" +msgstr "સંદેશાઓ" + +#. module: event +#: model:ir.model,name:event.model_event_registration_badge +msgid "event.registration.badge" +msgstr "" + +#. module: event +#: field:event.event,mail_auto_confirm:0 +msgid "Mail Auto Confirm" +msgstr "" + +#. module: event +#: model:product.template,name:event.event_product_1_product_template +msgid "Ticket for Opera" +msgstr "" + +#. module: event +#: code:addons/event/event.py:125 +#: view:event.event:0 +#, python-format +msgid "Confirm Event" +msgstr "" + +#. module: event +#: selection:event.event,state:0 +#: selection:event.registration,state:0 +#: selection:report.event.registration,state:0 +msgid "Cancelled" +msgstr "રદ થયેલ" + +#. module: event +#: field:event.event,reply_to:0 +msgid "Reply-To" +msgstr "ને જવાબ આપો" + +#. module: event +#: model:ir.actions.act_window,name:event.open_board_associations_manager +#: model:ir.ui.menu,name:event.menu_board_associations_manager +msgid "Event Dashboard" +msgstr "" + +#. module: event +#: model:event.event,name:event.event_1 +msgid "Opera of Verdi" +msgstr "" + +#. module: event +#: selection:report.event.registration,month:0 +msgid "July" +msgstr "જુલાઈ" + +#. module: event +#: help:event.event,register_prospect:0 +msgid "Total of Prospect Registrations" +msgstr "" + +#. module: event +#: help:event.event,mail_auto_confirm:0 +msgid "" +"Check this box if you want to use automatic confirmation emailing or " +"reminder." +msgstr "" + +#. module: event +#: field:event.registration,ref:0 +msgid "Reference" +msgstr "સંદર્ભ" + +#. module: event +#: help:event.event,date_end:0 +#: help:partner.event.registration,end_date:0 +msgid "Closing Date of Event" +msgstr "" + +#. module: event +#: view:event.registration:0 +msgid "Emails" +msgstr "ઈમેલ્સ" + +#. module: event +#: view:event.registration:0 +msgid "Extra Info" +msgstr "" + +#. module: event +#: code:addons/event/wizard/event_make_invoice.py:83 +#, python-format +msgid "Customer Invoices" +msgstr "" + +#. module: event +#: selection:event.event,state:0 +#: selection:report.event.registration,state:0 +msgid "Draft" +msgstr "ડ્રાફ્ટ" + +#. module: event +#: field:event.type,name:0 +msgid "Event type" +msgstr "" + +#. module: event +#: model:ir.model,name:event.model_event_type +msgid " Event Type " +msgstr "" + +#. module: event +#: view:event.event:0 +#: view:event.registration:0 +#: field:event.registration,event_id:0 +#: model:ir.model,name:event.model_event_event +#: field:partner.event.registration,event_id:0 +#: view:report.event.registration:0 +#: field:report.event.registration,event_id:0 +#: view:res.partner:0 +msgid "Event" +msgstr "ઘટના" + +#. module: event +#: view:event.registration:0 +#: field:event.registration,badge_ids:0 +msgid "Badges" +msgstr "" + +#. module: event +#: view:event.event:0 +#: selection:event.event,state:0 +#: view:event.registration:0 +#: selection:event.registration,state:0 +#: selection:report.event.registration,state:0 +msgid "Confirmed" +msgstr "" + +#. module: event +#: view:event.confirm.registration:0 +msgid "Registration Confirmation" +msgstr "" + +#. module: event +#: view:event.event:0 +msgid "Events in New state" +msgstr "" + +#. module: event +#: view:report.event.registration:0 +msgid "Confirm" +msgstr "ખાતરી કરો" + +#. module: event +#: view:event.event:0 +#: field:event.event,speaker_ids:0 +msgid "Other Speakers" +msgstr "" + +#. module: event +#: model:ir.model,name:event.model_event_make_invoice +msgid "Event Make Invoice" +msgstr "" + +#. module: event +#: help:event.registration,nb_register:0 +msgid "Number of Registrations or Tickets" +msgstr "" + +#. module: event +#: code:addons/event/wizard/event_make_invoice.py:50 +#: code:addons/event/wizard/event_make_invoice.py:54 +#: code:addons/event/wizard/event_make_invoice.py:58 +#: code:addons/event/wizard/event_make_invoice.py:62 +#, python-format +msgid "Warning !" +msgstr "ચેતવણી !" + +#. module: event +#: view:event.registration:0 +msgid "Send New Email" +msgstr "" + +#. module: event +#: help:event.event,register_min:0 +msgid "Provide Minimum Number of Registrations" +msgstr "" + +#. module: event +#: view:event.event:0 +msgid "Location" +msgstr "સ્થળ" + +#. module: event +#: view:event.event:0 +#: view:event.registration:0 +#: view:report.event.registration:0 +msgid "New" +msgstr "નવું" + +#. module: event +#: field:event.event,register_current:0 +#: view:report.event.registration:0 +msgid "Confirmed Registrations" +msgstr "" + +#. module: event +#: field:event.event,mail_auto_registr:0 +msgid "Mail Auto Register" +msgstr "" + +#. module: event +#: field:event.event,type:0 +#: field:partner.event.registration,event_type:0 +msgid "Type" +msgstr "પ્રકાર" + +#. module: event +#: field:event.registration,email_from:0 +msgid "Email" +msgstr "ઈ-મેઈલ" + +#. module: event +#: help:event.event,mail_confirm:0 +msgid "" +"This email will be sent when the event gets confirmed or when someone " +"subscribes to a confirmed event. This is also the email sent to remind " +"someone about the event." +msgstr "" + +#. module: event +#: field:event.registration,tobe_invoiced:0 +msgid "To be Invoiced" +msgstr "" + +#. module: event +#: view:event.event:0 +msgid "My Sales Team(s)" +msgstr "" + +#. module: event +#: code:addons/event/event.py:398 +#, python-format +msgid "Error !" +msgstr "" + +#. module: event +#: field:event.event,name:0 +#: field:event.registration,name:0 +msgid "Summary" +msgstr "સારાંશ" + +#. module: event +#: field:event.registration,create_date:0 +msgid "Creation Date" +msgstr "" + +#. module: event +#: view:event.event:0 +#: view:event.registration:0 +#: view:res.partner:0 +msgid "Cancel Registration" +msgstr "" + +#. module: event +#: code:addons/event/event.py:399 +#, python-format +msgid "Registered partner doesn't have an address to make the invoice." +msgstr "" + +#. module: event +#: view:report.event.registration:0 +msgid "Events created in last month" +msgstr "" + +#. module: event +#: view:report.event.registration:0 +msgid "Events created in current year" +msgstr "" + +#. module: event +#: help:event.event,type:0 +msgid "Type of Event like Seminar, Exhibition, Conference, Training." +msgstr "" + +#. module: event +#: view:event.registration:0 +msgid "Confirmed registrations" +msgstr "" + +#. module: event +#: view:event.event:0 +msgid "Event Organization" +msgstr "" + +#. module: event +#: view:event.registration:0 +msgid "History Information" +msgstr "" + +#. module: event +#: view:event.registration:0 +msgid "Dates" +msgstr "તારીખો" + +#. module: event +#: view:event.confirm:0 +#: view:event.confirm.registration:0 +msgid "Confirm Anyway" +msgstr "" + +#. module: event +#: code:addons/event/wizard/event_confirm_registration.py:54 +#, python-format +msgid "Warning: The Event '%s' has reached its Maximum Limit (%s)." +msgstr "" + +#. module: event +#: view:report.event.registration:0 +msgid " Month-1 " +msgstr "" + +#. module: event +#: view:event.event:0 +#: view:event.registration:0 +#: field:event.registration.badge,registration_id:0 +#: model:ir.actions.act_window,name:event.act_event_list_register_event +msgid "Registration" +msgstr "" + +#. module: event +#: field:report.event.registration,nbevent:0 +msgid "Number Of Events" +msgstr "" + +#. module: event +#: help:event.event,main_speaker_id:0 +msgid "Speaker who will be giving speech at the event." +msgstr "" + +#. module: event +#: help:event.event,state:0 +msgid "" +"If event is created, the state is 'Draft'.If event is confirmed for the " +"particular dates the state is set to 'Confirmed'. If the event is over, the " +"state is set to 'Done'.If event is cancelled the state is set to 'Cancelled'." +msgstr "" + +#. module: event +#: view:event.event:0 +msgid "Cancel Event" +msgstr "" + +#. module: event +#: view:event.event:0 +#: view:event.registration:0 +msgid "Contact" +msgstr "સંપર્ક" + +#. module: event +#: view:event.event:0 +#: view:event.registration:0 +#: field:event.registration,partner_id:0 +#: model:ir.model,name:event.model_res_partner +msgid "Partner" +msgstr "" + +#. module: event +#: view:board.board:0 +#: model:ir.actions.act_window,name:event.act_event_reg +#: view:report.event.registration:0 +msgid "Events Filling Status" +msgstr "" + +#. module: event +#: field:event.make.invoice,grouped:0 +msgid "Group the invoices" +msgstr "" + +#. module: event +#: view:event.event:0 +msgid "Mailing" +msgstr "" + +#. module: event +#: view:report.event.registration:0 +msgid "Events States" +msgstr "" + +#. module: event +#: view:board.board:0 +#: field:event.event,register_prospect:0 +msgid "Unconfirmed Registrations" +msgstr "" + +#. module: event +#: field:event.registration,partner_invoice_id:0 +msgid "Partner Invoiced" +msgstr "" + +#. module: event +#: help:event.event,register_max:0 +msgid "Provide Maximum Number of Registrations" +msgstr "" + +#. module: event +#: field:event.registration,log_ids:0 +msgid "Logs" +msgstr "લોગ" + +#. module: event +#: view:event.event:0 +#: field:event.event,state:0 +#: view:event.registration:0 +#: field:event.registration,state:0 +#: view:report.event.registration:0 +#: field:report.event.registration,state:0 +msgid "State" +msgstr "અવસ્થા" + +#. module: event +#: selection:report.event.registration,month:0 +msgid "September" +msgstr "સપ્ટેમ્બર" + +#. module: event +#: selection:report.event.registration,month:0 +msgid "December" +msgstr "ડિસેમ્બર" + +#. module: event +#: field:event.registration,event_product:0 +msgid "Invoice Name" +msgstr "" + +#. module: event +#: field:report.event.registration,draft_state:0 +msgid " # No of Draft Registrations" +msgstr "" + +#. module: event +#: view:report.event.registration:0 +#: field:report.event.registration,month:0 +msgid "Month" +msgstr "મહિનો" + +#. module: event +#: view:event.event:0 +msgid "Event Done" +msgstr "" + +#. module: event +#: view:event.registration:0 +msgid "Registrations in unconfirmed state" +msgstr "" + +#. module: event +#: help:event.event,register_current:0 +msgid "Total of Open and Done Registrations" +msgstr "" + +#. module: event +#: field:event.confirm.registration,msg:0 +msgid "Message" +msgstr "સંદેશો" + +#. module: event +#: constraint:event.event:0 +msgid "Error ! You cannot create recursive event." +msgstr "" + +#. module: event +#: field:event.registration,ref2:0 +msgid "Reference 2" +msgstr "" + +#. module: event +#: code:addons/event/event.py:361 +#: view:report.event.registration:0 +#, python-format +msgid "Invoiced" +msgstr "" + +#. module: event +#: view:event.event:0 +#: view:report.event.registration:0 +msgid "My Events" +msgstr "" + +#. module: event +#: view:event.event:0 +msgid "Speakers" +msgstr "બોલનાર" + +#. module: event +#: view:event.make.invoice:0 +msgid "Create invoices" +msgstr "" + +#. module: event +#: help:event.registration,email_cc:0 +msgid "" +"These email addresses will be added to the CC field of all inbound and " +"outbound emails for this record before being sent. Separate multiple email " +"addresses with a comma" +msgstr "" + +#. module: event +#: view:event.make.invoice:0 +msgid "Do you really want to create the invoice(s) ?" +msgstr "" + +#. module: event +#: view:event.event:0 +msgid "Beginning Date" +msgstr "" + +#. module: event +#: field:event.registration,date_closed:0 +msgid "Closed" +msgstr "બંધ થયેલ" + +#. module: event +#: view:report.event.registration:0 +msgid "Events which are in New state" +msgstr "" + +#. module: event +#: view:event.event:0 +#: model:ir.actions.act_window,name:event.action_event_view +#: model:ir.ui.menu,name:event.menu_event_event +#: model:ir.ui.menu,name:event.menu_event_event_assiciation +#: view:res.partner:0 +msgid "Events" +msgstr "ઘટનાઓ" + +#. module: event +#: field:partner.event.registration,nb_register:0 +msgid "Number of Registration" +msgstr "" + +#. module: event +#: field:event.event,child_ids:0 +msgid "Child Events" +msgstr "" + +#. module: event +#: selection:report.event.registration,month:0 +msgid "August" +msgstr "ઑગસ્ટ" + +#. module: event +#: field:res.partner,event_ids:0 +#: field:res.partner,event_registration_ids:0 +msgid "unknown" +msgstr "અજ્ઞાત" + +#. module: event +#: help:event.event,product_id:0 +msgid "" +"The invoices of this event registration will be created with this Product. " +"Thus it allows you to set the default label and the accounting info you want " +"by default on these invoices." +msgstr "" + +#. module: event +#: selection:report.event.registration,month:0 +msgid "June" +msgstr "જૂન" + +#. module: event +#: model:product.template,name:event.event_product_0_product_template +msgid "Ticket for Concert" +msgstr "" + +#. module: event +#: field:event.registration,write_date:0 +msgid "Write Date" +msgstr "" + +#. module: event +#: view:event.registration:0 +msgid "My Registrations" +msgstr "" + +#. module: event +#: view:event.confirm:0 +msgid "" +"Warning: This Event has not reached its Minimum Registration Limit. Are you " +"sure you want to confirm it?" +msgstr "" + +#. module: event +#: field:event.registration,active:0 +msgid "Active" +msgstr "કાર્યશીલ" + +#. module: event +#: field:event.registration,date:0 +msgid "Start Date" +msgstr "શરુઆતની તારીખ" + +#. module: event +#: selection:report.event.registration,month:0 +msgid "November" +msgstr "નવેમ્બર" + +#. module: event +#: view:report.event.registration:0 +msgid "Extended Filters..." +msgstr "" + +#. module: event +#: field:partner.event.registration,start_date:0 +msgid "Start date" +msgstr "શરુઆતની તારીખ" + +#. module: event +#: selection:report.event.registration,month:0 +msgid "October" +msgstr "ઑક્ટોબર" + +#. module: event +#: field:event.event,language:0 +msgid "Language" +msgstr "ભાષા" + +#. module: event +#: view:event.registration:0 +#: field:event.registration,email_cc:0 +msgid "CC" +msgstr "CC" + +#. module: event +#: selection:report.event.registration,month:0 +msgid "January" +msgstr "જાન્યુઆરી" + +#. module: event +#: help:event.registration,email_from:0 +msgid "These people will receive email." +msgstr "" + +#. module: event +#: view:event.event:0 +msgid "Set To Draft" +msgstr "" + +#. module: event +#: code:addons/event/event.py:499 +#: view:event.event:0 +#: view:event.registration:0 +#: view:res.partner:0 +#, python-format +msgid "Confirm Registration" +msgstr "" + +#. module: event +#: view:event.event:0 +#: view:report.event.registration:0 +#: view:res.partner:0 +msgid "Date" +msgstr "તારીખ" + +#. module: event +#: view:event.event:0 +msgid "Registration Email Body" +msgstr "" + +#. module: event +#: view:event.event:0 +msgid "Confirmation Email Body" +msgstr "" + +#. module: event +#: view:report.event.registration:0 +msgid "Registrations in confirmed or done state" +msgstr "" + +#. module: event +#: view:event.registration:0 +#: view:res.partner:0 +msgid "History" +msgstr "ઈતિહાસ" + +#. module: event +#: field:event.event,address_id:0 +msgid "Location Address" +msgstr "" + +#. module: event +#: model:ir.actions.act_window,name:event.action_event_type +#: model:ir.ui.menu,name:event.menu_event_type +msgid "Types of Events" +msgstr "" + +#. module: event +#: field:event.registration,contact_id:0 +msgid "Partner Contact" +msgstr "" + +#. module: event +#: field:event.event,pricelist_id:0 +msgid "Pricelist" +msgstr "" + +#. module: event +#: code:addons/event/wizard/event_make_invoice.py:59 +#, python-format +msgid "Event related doesn't have any product defined" +msgstr "" + +#. module: event +#: view:event.event:0 +msgid "Auto Confirmation Email" +msgstr "" + +#. module: event +#: view:event.registration:0 +msgid "Misc" +msgstr "પરચૂરણ" + +#. module: event +#: constraint:event.event:0 +msgid "Error ! Closing Date cannot be set before Beginning Date." +msgstr "" + +#. module: event +#: code:addons/event/event.py:446 +#: selection:event.event,state:0 +#: view:event.make.invoice:0 +#: selection:event.registration,state:0 +#: selection:report.event.registration,state:0 +#, python-format +msgid "Done" +msgstr "થઈ ગયું" + +#. module: event +#: field:event.event,date_begin:0 +msgid "Beginning date" +msgstr "" + +#. module: event +#: view:event.registration:0 +#: field:event.registration,invoice_id:0 +msgid "Invoice" +msgstr "" + +#. module: event +#: view:report.event.registration:0 +#: field:report.event.registration,year:0 +msgid "Year" +msgstr "વર્ષ" + +#. module: event +#: code:addons/event/event.py:465 +#, python-format +msgid "Cancel" +msgstr "રદ કરો" + +#. module: event +#: view:event.confirm:0 +#: view:event.confirm.registration:0 +#: view:event.make.invoice:0 +msgid "Close" +msgstr "બંધ કરો" + +#. module: event +#: view:event.event:0 +msgid "Event by Registration" +msgstr "" + +#. module: event +#: code:addons/event/event.py:436 +#, python-format +msgid "Open" +msgstr "ખોલો" + +#. module: event +#: field:event.event,user_id:0 +msgid "Responsible User" +msgstr "" + +#. module: event +#: code:addons/event/event.py:561 +#: code:addons/event/event.py:568 +#, python-format +msgid "Auto Confirmation: [%s] %s" +msgstr "" + +#. module: event +#: view:event.event:0 +#: view:event.registration:0 +#: field:event.registration,user_id:0 +#: view:report.event.registration:0 +#: field:report.event.registration,user_id:0 +msgid "Responsible" +msgstr "" + +#. module: event +#: field:event.event,unit_price:0 +#: view:event.registration:0 +#: field:partner.event.registration,unit_price:0 +msgid "Registration Cost" +msgstr "" + +#. module: event +#: field:event.registration,unit_price:0 +msgid "Unit Price" +msgstr "" + +#. module: event +#: view:report.event.registration:0 +#: field:report.event.registration,speaker_id:0 +#: field:res.partner,speaker:0 +msgid "Speaker" +msgstr "બોલનાર" + +#. module: event +#: model:event.event,name:event.event_2 +msgid "Conference on ERP Buisness" +msgstr "" + +#. module: event +#: view:event.registration:0 +msgid "Reply" +msgstr "પ્રત્યુત્તર આપો" + +#. module: event +#: view:report.event.registration:0 +msgid "Events created in current month" +msgstr "" + +#. module: event +#: help:event.event,mail_auto_registr:0 +msgid "" +"Check this box if you want to use automatic emailing for new registration." +msgstr "" + +#. module: event +#: field:event.event,date_end:0 +#: field:partner.event.registration,end_date:0 +msgid "Closing date" +msgstr "" + +#. module: event +#: field:event.event,product_id:0 +#: view:report.event.registration:0 +#: field:report.event.registration,product_id:0 +msgid "Product" +msgstr "પ્રોડક્ટ" + +#. module: event +#: view:event.event:0 +#: field:event.event,note:0 +#: view:event.registration:0 +#: field:event.registration,description:0 +msgid "Description" +msgstr "વર્ણન" + +#. module: event +#: field:report.event.registration,confirm_state:0 +msgid " # No of Confirmed Registrations" +msgstr "" + +#. module: event +#: model:ir.actions.act_window,name:event.act_register_event_partner +msgid "Subscribe" +msgstr "ઉમેદવારી નોંધાવો" + +#. module: event +#: selection:report.event.registration,month:0 +msgid "May" +msgstr "મે" + +#. module: event +#: view:res.partner:0 +msgid "Events Registration" +msgstr "" + +#. module: event +#: help:event.event,mail_registr:0 +msgid "This email will be sent when someone subscribes to the event." +msgstr "" + +#. module: event +#: model:product.template,name:event.event_product_2_product_template +msgid "Ticket for Conference" +msgstr "" + +#. module: event +#: model:ir.ui.menu,name:event.menu_event_type_association +msgid "Events Type" +msgstr "" + +#. module: event +#: field:event.registration.badge,address_id:0 +msgid "Address" +msgstr "સરનામું" + +#. module: event +#: view:board.board:0 +#: model:ir.actions.act_window,name:event.act_event_view +msgid "Next Events" +msgstr "" + +#. module: event +#: view:partner.event.registration:0 +msgid "_Subcribe" +msgstr "" + +#. module: event +#: model:ir.model,name:event.model_partner_event_registration +msgid " event Registration " +msgstr "" + +#. module: event +#: help:event.event,date_begin:0 +#: help:partner.event.registration,start_date:0 +msgid "Beginning Date of Event" +msgstr "" + +#. module: event +#: selection:event.registration,state:0 +msgid "Unconfirmed" +msgstr "પુષ્ટિ થયેલ નથી" + +#. module: event +#: code:addons/event/event.py:565 +#, python-format +msgid "Auto Registration: [%s] %s" +msgstr "" + +#. module: event +#: field:event.registration,date_deadline:0 +msgid "End Date" +msgstr "અંતિમ તારીખ" + +#. module: event +#: selection:report.event.registration,month:0 +msgid "February" +msgstr "ફેબ્રુઆરી" + +#. module: event +#: view:board.board:0 +msgid "Association Dashboard" +msgstr "" + +#. module: event +#: view:event.event:0 +#: field:event.registration.badge,name:0 +msgid "Name" +msgstr "નામ" + +#. module: event +#: field:event.event,section_id:0 +#: field:event.registration,section_id:0 +#: view:report.event.registration:0 +#: field:report.event.registration,section_id:0 +msgid "Sale Team" +msgstr "" + +#. module: event +#: field:event.event,country_id:0 +msgid "Country" +msgstr "દેશ" + +#. module: event +#: code:addons/event/wizard/event_make_invoice.py:55 +#, python-format +msgid "Registration is set as Cannot be invoiced" +msgstr "" + +#. module: event +#: code:addons/event/event.py:527 +#: view:event.event:0 +#: view:event.registration:0 +#: view:res.partner:0 +#, python-format +msgid "Close Registration" +msgstr "" + +#. module: event +#: selection:report.event.registration,month:0 +msgid "April" +msgstr "એપ્રિલ" + +#. module: event +#: help:event.event,unit_price:0 +msgid "" +"This will be the default price used as registration cost when invoicing this " +"event. Note that you can specify a specific amount for each registration." +msgstr "" + +#. module: event +#: view:report.event.registration:0 +msgid "Events which are in confirm state" +msgstr "" + +#. module: event +#: view:event.event:0 +#: view:event.type:0 +#: view:report.event.registration:0 +#: field:report.event.registration,type:0 +msgid "Event Type" +msgstr "કાર્યક્રમ નો પ્રકાર" + +#. module: event +#: view:event.event:0 +#: field:event.event,registration_ids:0 +#: model:ir.actions.act_window,name:event.action_registration +#: model:ir.ui.menu,name:event.menu_action_registration +#: model:ir.ui.menu,name:event.menu_action_registration_association +msgid "Registrations" +msgstr "" + +#. module: event +#: field:event.registration,id:0 +msgid "ID" +msgstr "ઓળખ" + +#. module: event +#: field:event.event,register_max:0 +#: field:report.event.registration,register_max:0 +msgid "Maximum Registrations" +msgstr "" + +#. module: event +#: constraint:res.partner:0 +msgid "Error ! You cannot create recursive associated members." +msgstr "" + +#. module: event +#: field:report.event.registration,date:0 +msgid "Event Start Date" +msgstr "" + +#. module: event +#: view:partner.event.registration:0 +msgid "Event For Registration" +msgstr "" + +#. module: event +#: code:addons/event/wizard/event_make_invoice.py:51 +#, python-format +msgid "Invoice cannot be created if the registration is in %s state." +msgstr "" + +#. module: event +#: view:event.confirm:0 +#: model:ir.actions.act_window,name:event.action_event_confirm +#: model:ir.model,name:event.model_event_confirm +msgid "Event Confirmation" +msgstr "" + +#. module: event +#: view:event.event:0 +msgid "Auto Registration Email" +msgstr "" + +#. module: event +#: view:event.registration:0 +#: view:report.event.registration:0 +#: field:report.event.registration,total:0 +msgid "Total" +msgstr "કુલ" + +#. module: event +#: field:event.event,speaker_confirmed:0 +msgid "Speaker Confirmed" +msgstr "" + +#. module: event +#: model:ir.actions.act_window,help:event.action_event_view +msgid "" +"Event is the low level object used by meeting and others documents that " +"should be synchronized with mobile devices or calendar applications through " +"caldav. Most of the users should work in the Calendar menu, and not in the " +"list of events." +msgstr "" diff --git a/addons/event_sale/__openerp__.py b/addons/event_sale/__openerp__.py index 1a72403b84b..f92a9eb5617 100644 --- a/addons/event_sale/__openerp__.py +++ b/addons/event_sale/__openerp__.py @@ -37,6 +37,7 @@ It defines a new kind of service products that offers you the possibility to cho 'depends': ['event','sale','sale_crm'], 'update_xml': [ 'event_sale_view.xml', + 'event_demo.xml', ], 'test':['test/confirm.yml'], 'installable': True, diff --git a/addons/event_sale/event_demo.xml b/addons/event_sale/event_demo.xml new file mode 100644 index 00000000000..6dd696225a3 --- /dev/null +++ b/addons/event_sale/event_demo.xml @@ -0,0 +1,25 @@ +<?xml version="1.0"?> +<openerp> + <data> + <record id="event_technical_training" model="event.event"> + <field name="name">Technical training in Grand-Rosiere</field> + <field eval="(DateTime.now() + timedelta(15)).strftime('%Y-%m-%d 7:00:00')" name="date_begin"/> + <field eval="(DateTime.now() + timedelta(20)).strftime('%Y-%m-%d 16:00:00')" name="date_end"/> + <field name="type" ref="event.event_type_4"/> + <field name="user_id" ref="base.user_root"/> + </record> + + <record id="event_product" model="product.product"> + <field name="name">Technical Training</field> + <field name="event_ok">True</field> + <field name="event_type_id" ref="event.event_type_4"/> + <field name="categ_id" ref="product.cat1"/> + <field name="type">service</field> + <field name="list_price">2500.0</field> + <field name="standard_price">1000.0</field> + <field name="supply_method">produce</field> + <field name="uom_id" ref="product.product_uom_unit"/> + <field name="uom_po_id" ref="product.product_uom_unit"/> + </record> + </data> +</openerp> diff --git a/addons/event_sale_layout/__init__.py b/addons/event_sale_layout/__init__.py new file mode 100644 index 00000000000..26c654db9dd --- /dev/null +++ b/addons/event_sale_layout/__init__.py @@ -0,0 +1,21 @@ +# -*- 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/>. +# +############################################################################## + diff --git a/addons/event_sale_layout/__openerp__.py b/addons/event_sale_layout/__openerp__.py new file mode 100644 index 00000000000..c81c4c83c7b --- /dev/null +++ b/addons/event_sale_layout/__openerp__.py @@ -0,0 +1,40 @@ +# -*- 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': 'Events Sales layout', + 'version': '0.1', + 'category': 'Tools', + 'complexity': "easy", + 'description': """ + This module ensures the compatibility of the changes made on the sale.order.line form view in event_sale with the sale_layout module (that is replacing the whole field in the view by another one). Its installation is automatically triggered when both modules are installed. + """, + 'author': 'OpenERP SA', + 'depends': ['event_sale','sale_layout'], + 'update_xml': [ + 'event_sale_layout.xml', + ], + 'installable': True, + 'auto_install':True, + 'category': 'Hidden', +} +# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/addons/event_sale_layout/event_sale_layout.xml b/addons/event_sale_layout/event_sale_layout.xml new file mode 100644 index 00000000000..26ba71b1938 --- /dev/null +++ b/addons/event_sale_layout/event_sale_layout.xml @@ -0,0 +1,18 @@ +<openerp> +<data> + <record model="ir.ui.view" id="view_order_form_inherit_1"> + <field name="name">event.sale.order</field> + <field name="model">sale.order</field> + <field name="type">form</field> + <field name="priority">10000</field> + <field name="inherit_id" ref="sale.view_order_form" /> + <field name="arch" type="xml"> + <xpath expr="//field[@name='discount']" position="after"> + <field name="event_id" colspan="3" domain="[('type', 'in', list(set((event_type_id,False))))]" attrs="{'invisible': [('event_ok', '=', False)],'required': [('event_ok', '!=', False)]}"/> + <field name="event_type_id" invisible='1'/> + <field name="event_ok" invisible='1'/> + </xpath> + </field> + </record> +</data> +</openerp> diff --git a/addons/google_base_account/i18n/fr.po b/addons/google_base_account/i18n/fr.po new file mode 100644 index 00000000000..4dd89340310 --- /dev/null +++ b/addons/google_base_account/i18n/fr.po @@ -0,0 +1,120 @@ +# French translation for openobject-addons +# Copyright (c) 2012 Rosetta Contributors and Canonical Ltd 2012 +# This file is distributed under the same license as the openobject-addons package. +# FIRST AUTHOR <EMAIL@ADDRESS>, 2012. +# +msgid "" +msgstr "" +"Project-Id-Version: openobject-addons\n" +"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n" +"POT-Creation-Date: 2012-02-08 00:36+0000\n" +"PO-Revision-Date: 2012-03-12 21:03+0000\n" +"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" +"Language-Team: French <fr@li.org>\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Launchpad-Export-Date: 2012-03-13 05:08+0000\n" +"X-Generator: Launchpad (build 14933)\n" + +#. module: google_base_account +#: field:res.users,gmail_user:0 +msgid "Username" +msgstr "Utilisateur" + +#. module: google_base_account +#: model:ir.actions.act_window,name:google_base_account.act_google_login_form +msgid "Google Login" +msgstr "" + +#. module: google_base_account +#: code:addons/google_base_account/wizard/google_login.py:29 +#, python-format +msgid "Google Contacts Import Error!" +msgstr "" + +#. module: google_base_account +#: view:res.users:0 +msgid " Synchronization " +msgstr " Synchronisation " + +#. module: google_base_account +#: sql_constraint:res.users:0 +msgid "You can not have two users with the same login !" +msgstr "Vous ne pouvez pas avoir deux utilisateurs avec le même login !" + +#. module: google_base_account +#: code:addons/google_base_account/wizard/google_login.py:75 +#, python-format +msgid "Error" +msgstr "Erreur" + +#. module: google_base_account +#: view:google.login:0 +msgid "Google login" +msgstr "Login Google" + +#. module: google_base_account +#: model:ir.model,name:google_base_account.model_res_users +msgid "res.users" +msgstr "res.users" + +#. module: google_base_account +#: field:google.login,password:0 +msgid "Google Password" +msgstr "Mot de passe Google" + +#. module: google_base_account +#: view:google.login:0 +msgid "_Cancel" +msgstr "Annuler" + +#. module: google_base_account +#: view:res.users:0 +msgid "Google Account" +msgstr "Compte Google" + +#. module: google_base_account +#: field:google.login,user:0 +msgid "Google Username" +msgstr "" + +#. module: google_base_account +#: code:addons/google_base_account/wizard/google_login.py:29 +#, python-format +msgid "" +"Please install gdata-python-client from http://code.google.com/p/gdata-" +"python-client/downloads/list" +msgstr "" + +#. module: google_base_account +#: model:ir.model,name:google_base_account.model_google_login +msgid "Google Contact" +msgstr "" + +#. module: google_base_account +#: view:google.login:0 +msgid "_Login" +msgstr "" + +#. module: google_base_account +#: constraint:res.users:0 +msgid "The chosen company is not in the allowed companies for this user" +msgstr "La société choisie n'est pas autorisée pour cet utilisateur." + +#. module: google_base_account +#: field:res.users,gmail_password:0 +msgid "Password" +msgstr "Mot de passe" + +#. module: google_base_account +#: code:addons/google_base_account/wizard/google_login.py:75 +#, python-format +msgid "Authentication fail check the user and password !" +msgstr "" +"Echec de l'uthentification, vérifier l'utilisateur et le mot de passe!" + +#. module: google_base_account +#: view:google.login:0 +msgid "ex: user@gmail.com" +msgstr "ex: nom.prenom@gmail.com" diff --git a/addons/hr_timesheet_invoice/hr_timesheet_invoice_view.xml b/addons/hr_timesheet_invoice/hr_timesheet_invoice_view.xml index 3190b8910ae..30cafc5a0b4 100644 --- a/addons/hr_timesheet_invoice/hr_timesheet_invoice_view.xml +++ b/addons/hr_timesheet_invoice/hr_timesheet_invoice_view.xml @@ -11,7 +11,7 @@ <group colspan="2" col="2" name="invoice_data"> <separator colspan="2" string="Invoicing Data"/> <field name="to_invoice" widget="selection"/> - <field name="pricelist_id" domain="[('type','=','sale')]" attrs="{'required':[('to_invoice','!=',False)]}"/> + <field name="pricelist_id" groups="product.group_sale_pricelist" domain="[('type','=','sale')]" attrs="{'required':[('to_invoice','!=',False)]}"/> <field name="amount_max"/> </group> <group colspan="2" col="2" name="invoice_stats"> diff --git a/addons/hr_timesheet_sheet/hr_timesheet_sheet.py b/addons/hr_timesheet_sheet/hr_timesheet_sheet.py index f18adbadbf8..3e0f3963ad5 100644 --- a/addons/hr_timesheet_sheet/hr_timesheet_sheet.py +++ b/addons/hr_timesheet_sheet/hr_timesheet_sheet.py @@ -516,7 +516,7 @@ class hr_timesheet_line(osv.osv): store={ 'hr_timesheet_sheet.sheet': (_get_hr_timesheet_sheet, ['employee_id', 'date_from', 'date_to'], 10), 'account.analytic.line': (_get_account_analytic_line, ['user_id', 'date'], 10), - 'hr.analytic.timesheet': (lambda self,cr,uid,ids,context=None: ids, ['line_id'], 10), + 'hr.analytic.timesheet': (lambda self,cr,uid,ids,context=None: ids, None, 10), }, ), } diff --git a/addons/hr_timesheet_sheet/test/test_hr_timesheet_sheet.yml b/addons/hr_timesheet_sheet/test/test_hr_timesheet_sheet.yml index 8363815010e..e38ad31ea12 100644 --- a/addons/hr_timesheet_sheet/test/test_hr_timesheet_sheet.yml +++ b/addons/hr_timesheet_sheet/test/test_hr_timesheet_sheet.yml @@ -69,6 +69,7 @@ - account_id: account.analytic_sednacom date: !eval time.strftime('%Y-%m-%d') name: 'Develop yaml for hr module' + user_id: base.user_qdp unit_amount: 6.00 amount: -90.00 product_id: product.product_consultant @@ -96,6 +97,7 @@ date: !eval time.strftime('%Y-%m-%d') name: 'Develop yaml for hr module' unit_amount: 2.00 + user_id: base.user_qdp amount: -90.00 product_id: product.product_consultant general_account_id: account.a_expense diff --git a/addons/mail/__init__.py b/addons/mail/__init__.py index 4787883ef9c..72164b89865 100644 --- a/addons/mail/__init__.py +++ b/addons/mail/__init__.py @@ -23,6 +23,7 @@ import mail_message import mail_thread import res_partner import wizard +import res_config # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/addons/mail/__openerp__.py b/addons/mail/__openerp__.py index 8085d301364..1cad3fafa5d 100644 --- a/addons/mail/__openerp__.py +++ b/addons/mail/__openerp__.py @@ -62,6 +62,7 @@ The main features are: "res_partner_view.xml", 'security/ir.model.access.csv', 'mail_data.xml', + 'res_config_view.xml', ], 'installable': True, 'auto_install': False, diff --git a/addons/mail/res_config.py b/addons/mail/res_config.py new file mode 100644 index 00000000000..89038a43610 --- /dev/null +++ b/addons/mail/res_config.py @@ -0,0 +1,43 @@ +# -*- 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 + +class plugin_configuration(osv.osv_memory): + _inherit = 'sale.config.settings' + + _columns = { + 'module_plugin_thunderbird': fields.boolean('Thunderbird plugin', + help="""The plugin allows you archive email and its attachments to the selected + OpenERP objects. You can select a partner, a task, a project, an analytical + account, or any other object and attach the selected mail as a .eml file in + the attachment of a selected record. You can create documents for CRM Lead, + HR Applicant and Project Issue from the selected emails. + This installs the module plugin_thunderbird."""), + 'module_plugin_outlook': fields.boolean('Outlook plugin', + help="""The Outlook plugin allows you to select an object that you would like to add + to your email and its attachments from MS Outlook. You can select a partner, a task, + a project, an analytical account, or any other object and archive a selected + email into an OpenERP mail message with attachments. + This installs the module plugin_outlook."""), + } + +# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/addons/mail/res_config_view.xml b/addons/mail/res_config_view.xml new file mode 100644 index 00000000000..2610538da42 --- /dev/null +++ b/addons/mail/res_config_view.xml @@ -0,0 +1,20 @@ +<openerp> + <data> + + <record id="view_sales_config_plugin" model="ir.ui.view"> + <field name="name">Sales Application</field> + <field name="model">sale.config.settings</field> + <field name="type">form</field> + <field name="inherit_id" ref="base.view_sale_config_settings"/> + <field name="arch" type="xml"> + <group name="config_emails" position="after"> + <separator string="Plugins" colspan="4"/> + <field name="module_plugin_thunderbird"/> + <newline/> + <field name="module_plugin_outlook"/> + </group> + </field> + </record> + + </data> +</openerp> diff --git a/addons/mrp_repair/mrp_repair_view.xml b/addons/mrp_repair/mrp_repair_view.xml index fa0ff192f17..dd29de20f9b 100644 --- a/addons/mrp_repair/mrp_repair_view.xml +++ b/addons/mrp_repair/mrp_repair_view.xml @@ -118,7 +118,7 @@ <page string="Invoicing"> <field name="invoice_method" colspan="4"/> <field - name="pricelist_id" context="{'product_id':product_id}" + name="pricelist_id" groups="product.group_sale_pricelist" context="{'product_id':product_id}" attrs="{'readonly':[('invoice_method','=', 'none')]}"/> <field name="partner_invoice_id" attrs="{'readonly':[('invoice_method','=', 'none')]}"/> <!-- <field name="invoice_id"/> --> diff --git a/addons/pad_project/i18n/sl.po b/addons/pad_project/i18n/sl.po new file mode 100644 index 00000000000..408fda3b75b --- /dev/null +++ b/addons/pad_project/i18n/sl.po @@ -0,0 +1,38 @@ +# Slovenian translation for openobject-addons +# Copyright (c) 2012 Rosetta Contributors and Canonical Ltd 2012 +# This file is distributed under the same license as the openobject-addons package. +# FIRST AUTHOR <EMAIL@ADDRESS>, 2012. +# +msgid "" +msgstr "" +"Project-Id-Version: openobject-addons\n" +"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n" +"POT-Creation-Date: 2012-02-08 00:36+0000\n" +"PO-Revision-Date: 2012-03-13 10:50+0000\n" +"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" +"Language-Team: Slovenian <sl@li.org>\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Launchpad-Export-Date: 2012-03-14 04:43+0000\n" +"X-Generator: Launchpad (build 14933)\n" + +#. module: pad_project +#: constraint:project.task:0 +msgid "Error ! Task end-date must be greater then task start-date" +msgstr "" + +#. module: pad_project +#: model:ir.model,name:pad_project.model_project_task +msgid "Task" +msgstr "" + +#. module: pad_project +#: view:project.task:0 +msgid "Pad" +msgstr "" + +#. module: pad_project +#: constraint:project.task:0 +msgid "Error ! You cannot create recursive tasks." +msgstr "" diff --git a/addons/plugin_outlook/plugin_outlook.xml b/addons/plugin_outlook/plugin_outlook.xml index 37b924f319f..429fbf97a32 100644 --- a/addons/plugin_outlook/plugin_outlook.xml +++ b/addons/plugin_outlook/plugin_outlook.xml @@ -48,11 +48,17 @@ <field name="target">new</field> </record> - <record id="outlook_installer_todo" model="ir.actions.todo"> - <field name="action_id" ref="action_outlook_installer"/> - <field name="category_id" ref="base.category_sales_management_config"/> - <field name="sequence">4</field> - <field name="type">automatic</field> + <!-- Sales Configuration --> + <record id="view_config_outlook_installer" model="ir.ui.view"> + <field name="name">Sales Application</field> + <field name="model">sale.config.settings</field> + <field name="type">form</field> + <field name="inherit_id" ref="mail.view_sales_config_plugin"/> + <field name="arch" type="xml"> + <field name="module_plugin_outlook" position="after"> + <button name="%(action_outlook_installer)d" type="action" string="Configure" icon="gtk-execute"/> + </field> + </field> </record> <record id="action_outlook_wizard" model="ir.actions.act_window"> diff --git a/addons/plugin_thunderbird/plugin_thunderbird.xml b/addons/plugin_thunderbird/plugin_thunderbird.xml index 3b4107c8358..ee4801d8925 100644 --- a/addons/plugin_thunderbird/plugin_thunderbird.xml +++ b/addons/plugin_thunderbird/plugin_thunderbird.xml @@ -54,11 +54,18 @@ <field name="view_mode">form</field> <field name="target">new</field> </record> - <record id="thunderbird_installer_todo" model="ir.actions.todo"> - <field name="action_id" ref="action_thunderbird_installer"/> - <field name="category_id" ref="base.category_sales_management_config"/> - <field name="sequence">3</field> - <field name="type">automatic</field> + + <!-- Sales Configuration --> + <record id="view_config_thunderbird_installer" model="ir.ui.view"> + <field name="name">Sales Application</field> + <field name="model">sale.config.settings</field> + <field name="type">form</field> + <field name="inherit_id" ref="mail.view_sales_config_plugin"/> + <field name="arch" type="xml"> + <field name="module_plugin_thunderbird" position="after"> + <button name="%(action_thunderbird_installer)d" type="action" string="Configure" icon="gtk-execute"/> + </field> + </field> </record> <menuitem id="base.menu_base_config_plugins" name="Plugins" parent="base.menu_base_config" sequence="10"/> diff --git a/addons/point_of_sale/point_of_sale_view.xml b/addons/point_of_sale/point_of_sale_view.xml index 5461bf690bd..f23249c6afc 100644 --- a/addons/point_of_sale/point_of_sale_view.xml +++ b/addons/point_of_sale/point_of_sale_view.xml @@ -80,7 +80,7 @@ <field name="company_id" groups="base.group_multi_company"/> <field name="shop_id" widget="selection"/> <field name="user_id"/> - <field name="pricelist_id" domain="[('type','=','sale')]"/> + <field name="pricelist_id" groups="product.group_sale_pricelist" domain="[('type','=','sale')]"/> <field name="picking_id" readonly="1" groups="base.group_extended"/> </group> <group colspan="2" col="3"> diff --git a/addons/point_of_sale/test/02_order_to_invoice.yml b/addons/point_of_sale/test/02_order_to_invoice.yml index 0de4e518ebd..fb570a61a75 100644 --- a/addons/point_of_sale/test/02_order_to_invoice.yml +++ b/addons/point_of_sale/test/02_order_to_invoice.yml @@ -43,5 +43,4 @@ I test that the total of the attached invoice is correct - !assert {model: pos.order, id: pos_order_pos1, string: Invoice not correct}: - - bool(invoice_id) - - invoice_id.amount_total == (450*2 + 300*3*1.05)*0.95 + - amount_total == (450*2 + 300*3*1.05)*0.95 diff --git a/addons/product/partner_view.xml b/addons/product/partner_view.xml index f40c5ab8032..4d917230acc 100644 --- a/addons/product/partner_view.xml +++ b/addons/product/partner_view.xml @@ -9,7 +9,7 @@ <field name="arch" type="xml"> <page string="Sales & Purchases" position="inside"> <newline/> - <group col="2" colspan="2" groups="base.group_sale_pricelist_per_customer"> + <group col="2" colspan="2" groups="product.group_sale_pricelist"> <separator string="Sales Properties" colspan="2"/> <field name="property_product_pricelist"/> </group> diff --git a/addons/product/pricelist_view.xml b/addons/product/pricelist_view.xml index 47031878768..c36f2082ff5 100644 --- a/addons/product/pricelist_view.xml +++ b/addons/product/pricelist_view.xml @@ -5,7 +5,7 @@ <menuitem id="base.menu_sale_config_sales" name="Sales" parent="base.menu_base_config" sequence="0" groups="base.group_extended"/> <menuitem id="menu_product_pricelist_main" name="Pricelists" - parent="base.menu_base_config" groups="base.group_sale_pricelist_per_customer" sequence="50"/> + parent="base.menu_base_config" groups="product.group_sale_pricelist" sequence="50"/> <record id="product_pricelist_version_form_view" model="ir.ui.view"> <field name="name">product.pricelist.version.form</field> diff --git a/addons/product/product_view.xml b/addons/product/product_view.xml index 25ac4fecda6..3d3b27d744a 100644 --- a/addons/product/product_view.xml +++ b/addons/product/product_view.xml @@ -20,7 +20,7 @@ <field name="categ_id" widget="selection" operator="child_of" groups="base.group_extended"/> <newline/> <group expand="0" string="Context..." groups="base.group_extended"> - <field name="pricelist_id" widget="selection" context="{'pricelist': self}" groups="base.group_sale_pricelist_per_customer"/> + <field name="pricelist_id" widget="selection" context="{'pricelist': self}" groups="product.group_sale_pricelist"/> <separator orientation="vertical" groups="base.group_multi_company" /> <field name="company_id" widget="selection" groups="base.group_multi_company" /> </group> @@ -50,7 +50,7 @@ <field name="name"/> <field name="categ_id" invisible="1"/> <field name="variants" groups="product.group_product_variant"/> - <field name="uom_id" string="UoM" groups="base.group_sale_uom_per_product"/> + <field name="uom_id" string="UoM" groups="product.group_uom"/> <field name="type"/> <field name="qty_available"/> <field name="virtual_available"/> @@ -125,11 +125,11 @@ <group colspan="2" col="2" name="uom"> <separator string="Unit of Measure" colspan="2"/> - <field name="uom_id" on_change="onchange_uom(uom_id,uom_po_id)" groups="base.group_sale_uom_per_product"/> + <field name="uom_id" on_change="onchange_uom(uom_id,uom_po_id)" groups="product.group_uom"/> <field name="uom_po_id" groups="base.group_extended"/> </group> - <group colspan="2" col="2" name="uos" groups="base.group_sale_uom_per_product"> + <group colspan="2" col="2" name="uos" groups="product.group_uom"> <separator string="Second UoM" colspan="2"/> <field name="uos_id"/> <field name="uos_coeff"/> @@ -440,7 +440,7 @@ <field name="view_id" ref="product_uom_tree_view"/> <field name="help">Create and manage the units of measure you want to be used in your system. You can define a conversion rate between several Units of Measure within the same category.</field> </record> - <menuitem id="next_id_16" name="Units of Measure" parent="prod_config_main" sequence="65" groups="base.group_sale_uom_per_product"/> + <menuitem id="next_id_16" name="Units of Measure" parent="prod_config_main" sequence="65" groups="product.group_uom"/> <menuitem action="product_uom_form_action" id="menu_product_uom_form_action" parent="next_id_16"/> <record id="product_uom_categ_form_view" model="ir.ui.view"> @@ -552,7 +552,7 @@ <field name="product_uom"/> <field name="delay"/> <field name="company_id" groups="base.group_multi_company" widget="selection"/> - <field colspan="4" groups="base.group_sale_pricelist_per_customer" name="pricelist_ids" nolabel="1" widget="one2many_list"> + <field colspan="4" groups="product.group_sale_pricelist" name="pricelist_ids" nolabel="1" widget="one2many_list"> <tree editable="bottom" string="Pricelist"> <field name="min_quantity"/> <field name="price"/> @@ -674,11 +674,11 @@ <group colspan="2" col="2" name="uom"> <separator string="UOM" colspan="2"/> - <field name="uom_id" on_change="onchange_uom(uom_id,uom_po_id)" groups="base.group_sale_uom_per_product"/> + <field name="uom_id" on_change="onchange_uom(uom_id,uom_po_id)" groups="product.group_uom"/> <field name="uom_po_id" groups="base.group_extended"/> </group> - <group colspan="2" col="2" name="uos" groups="base.group_sale_uom_per_product"> + <group colspan="2" col="2" name="uos" groups="product.group_uom"> <separator string="Second UoM" colspan="2"/> <field name="uos_id"/> <field name="uos_coeff"/> diff --git a/addons/product/res_config.py b/addons/product/res_config.py index 4db8af75781..6af8c9c26be 100644 --- a/addons/product/res_config.py +++ b/addons/product/res_config.py @@ -21,28 +21,22 @@ from osv import fields, osv -class product_groups_configuration(osv.osv_memory): - _inherit = 'res.config.settings' +class sale_config_settings(osv.osv_memory): + _inherit = 'sale.config.settings' _columns = { - 'group_sale_pricelist_per_customer':fields.boolean("Pricelist per Customer", - group='base.group_user', implied_group='base.group_sale_pricelist_per_customer', - help="""Allows to manage different prices based on rules per category of customers. - Example: 10% for retailers, promotion of 5 EUR on this product, etc. - It assigns the "Pricelist" group to all employees."""), - 'group_sale_uom_per_product':fields.boolean("UOM per product", - group='base.group_user', implied_group='base.group_sale_uom_per_product', - help=""" - Allows you to select and maintain different unit of measures per product. - It assigns the "UOM per product" group to all employees. - """), - 'group_purchase_pricelist_per_supplier':fields.boolean("Pricelist per Supplier", group='base.group_user', xml_id='base.group_purchase_pricelist_per_supplier', - help="""Allows to manage different prices based on rules per category of Supplier. - Example: 10% for retailers, promotion of 5 EUR on this product, etc. - It assigns the "Pricelist" group to all employees."""), - 'group_stock_packaging':fields.boolean("Manage packaging by products", group='base.group_user', implied_group='base.group_stock_packaging', - help=""" Allows you to create and manage your packaging dimensions and types you want to be maintained in your system. - It assigns the "Packaging" group to employee."""), + 'group_sale_pricelist':fields.boolean("Pricelist per Customer", + implied_group='product.group_sale_pricelist', + help="""Allows to manage different prices based on rules per category of customers. + Example: 10% for retailers, promotion of 5 EUR on this product, etc."""), + 'group_purchase_pricelist':fields.boolean("Pricelist per Supplier", + implied_group='product.group_purchase_pricelist', + help="""Allows to manage different prices based on rules per category of Supplier. + Example: 10% for retailers, promotion of 5 EUR on this product, etc."""), + 'group_sale_uom':fields.boolean("UOM per product", + implied_group='product.group_uom', + help="""Allows you to select and maintain different unit of measures per product."""), + 'group_stock_packaging':fields.boolean("Manage packaging by products", + implied_group='product.group_packaging', + help=""" Allows you to create and manage your packaging dimensions and types you want to be maintained in your system."""), } - -product_groups_configuration()
\ No newline at end of file diff --git a/addons/product/security/product_security.xml b/addons/product/security/product_security.xml index 1a622aaa35b..3c80de554bf 100644 --- a/addons/product/security/product_security.xml +++ b/addons/product/security/product_security.xml @@ -19,33 +19,26 @@ <field name="category_id" ref="base.module_category_usability"/> </record> - <record id="base.group_sale_pricelist_per_customer" model="res.groups"> + <record id="group_sale_pricelist" model="res.groups"> <field name="name">Sales Pricelists</field> <field name="category_id" ref="base.module_category_hidden"/> </record> - <record id="base.group_purchase_pricelist_per_supplier" model="res.groups"> + <record id="group_purchase_pricelist" model="res.groups"> <field name="name">Purchase Pricelists</field> <field name="category_id" ref="base.module_category_hidden"/> </record> - <record id="base.group_sale_uom_per_product" model="res.groups"> - <field name="name">Product UOM</field> + <record id="group_uom" model="res.groups"> + <field name="name">Multiple UoM per Product</field> <field name="category_id" ref="base.module_category_hidden"/> </record> - <record id="base.group_stock_packaging" model="res.groups"> - <field name="name">Packaging</field> + <record id="group_packaging" model="res.groups"> + <field name="name">Manage Product Packaging</field> <field name="category_id" ref="base.module_category_hidden"/> </record> - <record id="base.group_user" model="res.groups"> - <field name="implied_ids" eval="[(6,0,[ref('base.group_sale_pricelist_per_customer'), - ref('base.group_sale_uom_per_product'), - ref('base.group_purchase_pricelist_per_supplier'), - ref('base.group_stock_packaging')])]"/> - </record> - <record model="ir.rule" id="product_pricelist_comp_rule"> <field name="name">product pricelist company rule</field> <field name="model_id" ref="model_product_pricelist"/> diff --git a/addons/product/wizard/product_price_view.xml b/addons/product/wizard/product_price_view.xml index 63ffc6e033c..adc63de872d 100644 --- a/addons/product/wizard/product_price_view.xml +++ b/addons/product/wizard/product_price_view.xml @@ -31,7 +31,7 @@ name="Price List" res_model="product.price_list" src_model="product.product" - groups="base.group_sale_pricelist_per_customer" + groups="product.group_sale_pricelist" view_mode="form" target="new" view_type="form" /> </data> diff --git a/addons/product_margin/i18n/gu.po b/addons/product_margin/i18n/gu.po new file mode 100644 index 00000000000..84ae31daad4 --- /dev/null +++ b/addons/product_margin/i18n/gu.po @@ -0,0 +1,285 @@ +# Gujarati translation for openobject-addons +# Copyright (c) 2012 Rosetta Contributors and Canonical Ltd 2012 +# This file is distributed under the same license as the openobject-addons package. +# FIRST AUTHOR <EMAIL@ADDRESS>, 2012. +# +msgid "" +msgstr "" +"Project-Id-Version: openobject-addons\n" +"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n" +"POT-Creation-Date: 2012-02-08 00:37+0000\n" +"PO-Revision-Date: 2012-03-12 15:08+0000\n" +"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" +"Language-Team: Gujarati <gu@li.org>\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Launchpad-Export-Date: 2012-03-13 05:08+0000\n" +"X-Generator: Launchpad (build 14933)\n" + +#. module: product_margin +#: view:product.product:0 +#: field:product.product,turnover:0 +msgid "Turnover" +msgstr "" + +#. module: product_margin +#: field:product.product,expected_margin_rate:0 +msgid "Expected Margin (%)" +msgstr "" + +#. module: product_margin +#: field:product.margin,from_date:0 +msgid "From" +msgstr "તરફથી" + +#. module: product_margin +#: help:product.product,sale_expected:0 +msgid "" +"Sum of Multification of Sale Catalog price and quantity of Customer Invoices" +msgstr "" + +#. module: product_margin +#: help:product.product,total_margin:0 +msgid "Turnorder - Standard price" +msgstr "" + +#. module: product_margin +#: field:product.margin,to_date:0 +msgid "To" +msgstr "પ્રતિ" + +#. module: product_margin +#: field:product.product,date_to:0 +msgid "To Date" +msgstr "" + +#. module: product_margin +#: field:product.product,date_from:0 +msgid "From Date" +msgstr "" + +#. module: product_margin +#: selection:product.margin,invoice_state:0 +#: selection:product.product,invoice_state:0 +msgid "Draft, Open and Paid" +msgstr "" + +#. module: product_margin +#: field:product.product,purchase_avg_price:0 +#: field:product.product,sale_avg_price:0 +msgid "Avg. Unit Price" +msgstr "" + +#. module: product_margin +#: model:ir.model,name:product_margin.model_product_product +msgid "Product" +msgstr "" + +#. module: product_margin +#: view:product.product:0 +msgid "Catalog Price" +msgstr "" + +#. module: product_margin +#: selection:product.margin,invoice_state:0 +#: selection:product.product,invoice_state:0 +msgid "Paid" +msgstr "" + +#. module: product_margin +#: help:product.product,sales_gap:0 +msgid "Expected Sale - Turn Over" +msgstr "" + +#. module: product_margin +#: field:product.product,sale_expected:0 +msgid "Expected Sale" +msgstr "" + +#. module: product_margin +#: view:product.product:0 +msgid "Standard Price" +msgstr "" + +#. module: product_margin +#: help:product.product,purchase_num_invoiced:0 +msgid "Sum of Quantity in Supplier Invoices" +msgstr "" + +#. module: product_margin +#: help:product.product,normal_cost:0 +msgid "Sum of Multification of Cost price and quantity of Supplier Invoices" +msgstr "" + +#. module: product_margin +#: help:product.product,expected_margin:0 +msgid "Expected Sale - Normal Cost" +msgstr "" + +#. module: product_margin +#: field:product.product,purchase_num_invoiced:0 +#: field:product.product,sale_num_invoiced:0 +msgid "# Invoiced" +msgstr "" + +#. module: product_margin +#: view:product.product:0 +#: field:product.product,total_cost:0 +msgid "Total Cost" +msgstr "" + +#. module: product_margin +#: field:product.product,expected_margin:0 +msgid "Expected Margin" +msgstr "" + +#. module: product_margin +#: view:product.product:0 +msgid "#Purchased" +msgstr "" + +#. module: product_margin +#: help:product.product,turnover:0 +msgid "" +"Sum of Multification of Invoice price and quantity of Customer Invoices" +msgstr "" + +#. module: product_margin +#: help:product.product,expected_margin_rate:0 +msgid "Expected margin * 100 / Expected Sale" +msgstr "" + +#. module: product_margin +#: help:product.product,sale_avg_price:0 +msgid "Avg. Price in Customer Invoices)" +msgstr "" + +#. module: product_margin +#: help:product.product,total_cost:0 +msgid "" +"Sum of Multification of Invoice price and quantity of Supplier Invoices " +msgstr "" + +#. module: product_margin +#: field:product.margin,invoice_state:0 +#: field:product.product,invoice_state:0 +msgid "Invoice State" +msgstr "" + +#. module: product_margin +#: help:product.product,purchase_gap:0 +msgid "Normal Cost - Total Cost" +msgstr "" + +#. module: product_margin +#: field:product.product,total_margin:0 +msgid "Total Margin" +msgstr "" + +#. module: product_margin +#: view:product.product:0 +#: field:product.product,sales_gap:0 +msgid "Sales Gap" +msgstr "" + +#. module: product_margin +#: field:product.product,normal_cost:0 +msgid "Normal Cost" +msgstr "" + +#. module: product_margin +#: view:product.product:0 +msgid "Purchases" +msgstr "ખરીદીઓ" + +#. module: product_margin +#: help:product.product,purchase_avg_price:0 +msgid "Avg. Price in Supplier Invoices " +msgstr "" + +#. module: product_margin +#: view:product.margin:0 +msgid "Properties categories" +msgstr "" + +#. module: product_margin +#: help:product.product,total_margin_rate:0 +msgid "Total margin * 100 / Turnover" +msgstr "" + +#. module: product_margin +#: view:product.product:0 +msgid "Analysis Criteria" +msgstr "" + +#. module: product_margin +#: selection:product.margin,invoice_state:0 +#: selection:product.product,invoice_state:0 +msgid "Open and Paid" +msgstr "" + +#. module: product_margin +#: view:product.product:0 +msgid "Sales" +msgstr "વેચાણ" + +#. module: product_margin +#: code:addons/product_margin/wizard/product_margin.py:73 +#: model:ir.actions.act_window,name:product_margin.product_margin_act_window +#: model:ir.ui.menu,name:product_margin.menu_action_product_margin +#: view:product.product:0 +#, python-format +msgid "Product Margins" +msgstr "" + +#. module: product_margin +#: view:product.margin:0 +msgid "General Information" +msgstr "" + +#. module: product_margin +#: constraint:product.product:0 +msgid "Error: Invalid ean code" +msgstr "" + +#. module: product_margin +#: field:product.product,purchase_gap:0 +msgid "Purchase Gap" +msgstr "" + +#. module: product_margin +#: field:product.product,total_margin_rate:0 +msgid "Total Margin (%)" +msgstr "" + +#. module: product_margin +#: view:product.margin:0 +msgid "Open Margins" +msgstr "" + +#. module: product_margin +#: view:product.margin:0 +msgid "Cancel" +msgstr "રદ કરો" + +#. module: product_margin +#: view:product.product:0 +msgid "Margins" +msgstr "" + +#. module: product_margin +#: help:product.product,sale_num_invoiced:0 +msgid "Sum of Quantity in Customer Invoices" +msgstr "" + +#. module: product_margin +#: model:ir.model,name:product_margin.model_product_margin +msgid "Product Margin" +msgstr "" + +#~ msgid "Reporting" +#~ msgstr "અહેવાલીકરણ" + +#~ msgid "Invalid XML for View Architecture!" +#~ msgstr "દ્રશ્ય બંધારણ માટે અમાન્ય એક્સ.એમ.એલ!" diff --git a/addons/project_mrp/i18n/gu.po b/addons/project_mrp/i18n/gu.po new file mode 100644 index 00000000000..5807122271b --- /dev/null +++ b/addons/project_mrp/i18n/gu.po @@ -0,0 +1,127 @@ +# Gujarati translation for openobject-addons +# Copyright (c) 2012 Rosetta Contributors and Canonical Ltd 2012 +# This file is distributed under the same license as the openobject-addons package. +# FIRST AUTHOR <EMAIL@ADDRESS>, 2012. +# +msgid "" +msgstr "" +"Project-Id-Version: openobject-addons\n" +"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n" +"POT-Creation-Date: 2012-02-08 00:37+0000\n" +"PO-Revision-Date: 2012-03-12 15:08+0000\n" +"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" +"Language-Team: Gujarati <gu@li.org>\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Launchpad-Export-Date: 2012-03-13 05:08+0000\n" +"X-Generator: Launchpad (build 14933)\n" + +#. module: project_mrp +#: sql_constraint:sale.order:0 +msgid "Order Reference must be unique per Company!" +msgstr "" + +#. module: project_mrp +#: model:process.node,note:project_mrp.process_node_procuretasktask0 +msgid "For each product, on type service and on order" +msgstr "" + +#. module: project_mrp +#: model:process.transition,name:project_mrp.process_transition_procuretask0 +msgid "Procurement Task" +msgstr "" + +#. module: project_mrp +#: model:ir.model,name:project_mrp.model_sale_order +msgid "Sales Order" +msgstr "" + +#. module: project_mrp +#: field:procurement.order,sale_line_id:0 +msgid "Sale order line" +msgstr "" + +#. module: project_mrp +#: model:process.transition,note:project_mrp.process_transition_createtask0 +msgid "Product type is service, then its creates the task." +msgstr "" + +#. module: project_mrp +#: model:process.transition,note:project_mrp.process_transition_procuretask0 +msgid "if product type is 'service' then it creates the task." +msgstr "" + +#. module: project_mrp +#: constraint:project.task:0 +msgid "Error ! Task end-date must be greater then task start-date" +msgstr "" + +#. module: project_mrp +#: model:process.node,name:project_mrp.process_node_saleordertask0 +msgid "Sale Order Task" +msgstr "" + +#. module: project_mrp +#: model:ir.model,name:project_mrp.model_product_product +msgid "Product" +msgstr "" + +#. module: project_mrp +#: constraint:product.product:0 +msgid "Error: Invalid ean code" +msgstr "" + +#. module: project_mrp +#: field:product.product,project_id:0 +msgid "Project" +msgstr "" + +#. module: project_mrp +#: model:ir.model,name:project_mrp.model_procurement_order +#: field:project.task,procurement_id:0 +msgid "Procurement" +msgstr "" + +#. module: project_mrp +#: model:ir.model,name:project_mrp.model_project_task +#: model:process.node,name:project_mrp.process_node_mrptask0 +#: model:process.node,name:project_mrp.process_node_procuretasktask0 +#: field:procurement.order,task_id:0 +msgid "Task" +msgstr "કાર્ય" + +#. module: project_mrp +#: model:process.node,note:project_mrp.process_node_mrptask0 +msgid "A task is created to provide the service." +msgstr "" + +#. module: project_mrp +#: model:process.transition,name:project_mrp.process_transition_ordertask0 +msgid "Order Task" +msgstr "" + +#. module: project_mrp +#: constraint:project.task:0 +msgid "Error ! You cannot create recursive tasks." +msgstr "" + +#. module: project_mrp +#: model:process.transition,name:project_mrp.process_transition_createtask0 +msgid "Create Task" +msgstr "" + +#. module: project_mrp +#: model:process.transition,note:project_mrp.process_transition_ordertask0 +msgid "If procurement method is Make to order and supply method is produce" +msgstr "" + +#. module: project_mrp +#: model:process.node,note:project_mrp.process_node_saleordertask0 +msgid "In case you sell services on sale order" +msgstr "" + +#. module: project_mrp +#: field:project.task,sale_line_id:0 +msgid "Sale Order Line" +msgstr "" diff --git a/addons/project_scrum/i18n/fr.po b/addons/project_scrum/i18n/fr.po index 9997d5ee882..55a74c65629 100644 --- a/addons/project_scrum/i18n/fr.po +++ b/addons/project_scrum/i18n/fr.po @@ -7,14 +7,14 @@ msgstr "" "Project-Id-Version: OpenERP Server 6.0dev\n" "Report-Msgid-Bugs-To: support@openerp.com\n" "POT-Creation-Date: 2012-02-08 00:37+0000\n" -"PO-Revision-Date: 2011-11-25 14:47+0000\n" -"Last-Translator: lholivier <olivier.lenoir@free.fr>\n" +"PO-Revision-Date: 2012-03-12 08:37+0000\n" +"Last-Translator: Numérigraphe <Unknown>\n" "Language-Team: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2012-02-09 06:06+0000\n" -"X-Generator: Launchpad (build 14763)\n" +"X-Launchpad-Export-Date: 2012-03-13 05:08+0000\n" +"X-Generator: Launchpad (build 14933)\n" #. module: project_scrum #: view:project.scrum.backlog.assign.sprint:0 @@ -549,7 +549,7 @@ msgstr "Mois" #. module: project_scrum #: view:project.scrum.product.backlog:0 msgid "Draft Backlogs" -msgstr "Retards Brouillon" +msgstr "Arriérés brouillons" #. module: project_scrum #: field:project.scrum.meeting,question_blocks:0 @@ -798,7 +798,7 @@ msgstr "Informations" #: code:addons/project_scrum/wizard/project_scrum_backlog_sprint.py:57 #, python-format msgid "Product Backlog '%s' is converted into Task %d." -msgstr "" +msgstr "L'arriéré sur le produit '%s' a été converti en la tâche %d." #. module: project_scrum #: view:project.scrum.product.backlog:0 diff --git a/addons/project_timesheet/project_timesheet_view.xml b/addons/project_timesheet/project_timesheet_view.xml index 07873c00592..7a7d4966bf2 100644 --- a/addons/project_timesheet/project_timesheet_view.xml +++ b/addons/project_timesheet/project_timesheet_view.xml @@ -10,7 +10,7 @@ <field name="warn_customer" position="after"> <group colspan="4" col="4"> <separator colspan="4" string="Invoicing Data"/> - <field name="pricelist_id" domain="[('type','=','sale')]" widget="selection"/> + <field name="pricelist_id" groups="product.group_sale_pricelist" domain="[('type','=','sale')]" widget="selection"/> <field name="to_invoice" widget="selection" string="Invoice Task Work"/> <field name="amount_max" groups="base.group_extended"/> <field name="amount_invoiced" groups="base.group_extended"/> diff --git a/addons/sale/__init__.py b/addons/sale/__init__.py index b26486e1425..2688b61ddd9 100644 --- a/addons/sale/__init__.py +++ b/addons/sale/__init__.py @@ -29,5 +29,6 @@ import wizard import report import company import edi +import res_config # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/addons/sale/__openerp__.py b/addons/sale/__openerp__.py index ff2cfb03f5f..e1b3c57de00 100644 --- a/addons/sale/__openerp__.py +++ b/addons/sale/__openerp__.py @@ -85,6 +85,7 @@ Dashboard for Sales Manager that includes: 'process/sale_process.xml', 'board_sale_view.xml', 'edi/sale_order_action_data.xml', + 'res_config_view.xml', ], 'demo_xml': ['sale_demo.xml'], 'test': [ diff --git a/addons/sale/res_config.py b/addons/sale/res_config.py new file mode 100644 index 00000000000..5965ace125d --- /dev/null +++ b/addons/sale/res_config.py @@ -0,0 +1,156 @@ +# -*- 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 +import pooler +from tools.translate import _ + +class sale_configuration(osv.osv_memory): + _inherit = 'sale.config.settings' + + _columns = { + 'group_invoice_so_lines': fields.boolean('Based on Sales Orders', + implied_group='sale.group_invoice_so_lines', + help="To allow your salesman to make invoices for sale order lines using the menu 'Lines to Invoice'."), + 'group_invoice_deli_orders': fields.boolean('Based on Delivery Orders', + implied_group='sale.group_invoice_deli_orders', + help="To allow your salesman to make invoices for Delivery Orders using the menu 'Deliveries to Invoice'."), + 'task_work': fields.boolean('Based on Tasks\' Work', + help="""Lets you transfer the entries under tasks defined for Project Management to + the Timesheet line entries for particular date and particular user with the effect of creating, editing and deleting either ways + and to automatically creates project tasks from procurement lines. + This installs the modules project_timesheet and project_mrp."""), + 'module_account_analytic_analysis': fields.boolean('Based on Timesheet', + help = """For modifying account analytic view to show important data to project manager of services companies. + You can also view the report of account analytic summary user-wise as well as month wise. + This installs the module account_analytic_analysis."""), + 'default_order_policy': fields.selection( + [('manual', 'Invoice Based on Sales Orders'), ('picking', 'Invoice Based on Deliveries')], + 'Main Method Based On', required=True, default_model='sale.order', + help="You can generate invoices based on sales orders or based on shippings."), + 'module_delivery': fields.boolean('Charge delivery costs', + help ="""Allows you to add delivery methods in sale orders and delivery orders. + You can define your own carrier and delivery grids for prices. + This installs the module delivery."""), + 'time_unit': fields.many2one('product.uom', 'Working Time Unit'), + 'default_picking_policy' : fields.boolean("Deliver all products at once", + help = "You can set picking policy on sale order that will allow you to deliver all products at once."), + 'group_sale_delivery_address': fields.boolean("Specify delivery and invoice addresses", + implied_group='sale.group_delivery_invoice_address', + help="Allows you to specify different delivery and invoice addresses on a sale order."), + 'group_discount_per_so_line': fields.boolean("Discount per sale order line", + implied_group='sale.group_discount_per_so_line', + help="Allows you to apply discount per sale order line."), + 'module_sale_layout': fields.boolean("Notes & subtotals per line", + help="""Allows to format sale order lines using notes, separators, titles and subtotals. + This installs the module sale_layout."""), + 'module_warning': fields.boolean("Alerts by products or customers", + help="""To raise user specific warning messages on different products used in Sales Orders, Purchase Orders, Invoices and Deliveries. + This installs the module warning."""), + 'module_sale_margin': fields.boolean("Display Margins For Users", + help="""This adds the 'Margin' on sales order. + This gives the profitability by calculating the difference between the Unit Price and Cost Price. + This installs the module sale_margin."""), + 'module_sale_journal': fields.boolean("Invoice Journal", + help="""Allows you to categorize your sales and deliveries (picking lists) between different journals. + This installs the module sale_journal."""), + 'module_analytic_user_function': fields.boolean("User function by contracts", + help="""Allows you to define what is the default function of a specific user on a given account. + This is mostly used when a user encodes his timesheet. The values are retrieved and the fields are auto-filled. + But the possibility to change these values is still available. + This installs the module analytic_user_function."""), + 'module_analytic_journal_billing_rate': fields.boolean("Billing rates by contracts", + help="""Allows you to define the default invoicing rate for a specific journal on a given account. + This installs the module analytic_journal_billing_rate."""), + 'tax_policy': fields.selection( + [('no_tax', 'No Tax'), ('global_on_order', 'Global On Order'), ('on_order_line', 'On Order Lines')], + 'Taxes', required=True, + help="""Choose between either applying global taxes on a sale order, or applying different taxes on sale order lines, or applying no tax at all."""), + 'group_sale_taxes_global_on_order': fields.boolean("Global on order", + implied_group='sale.group_taxes_global_on_order'), + 'group_sale_taxes_on_order_line': fields.boolean("On order line", + implied_group='sale.group_taxes_on_order_line'), + 'module_project_timesheet': fields.boolean("Project Timesheet"), + 'module_project_mrp': fields.boolean("Project MRP"), + } + + def default_get(self, cr, uid, fields, context=None): + ir_model_data = self.pool.get('ir.model.data') + res = super(sale_configuration, self).default_get(cr, uid, fields, context) + # task_work, time_unit and tax_policy depend on other fields + res['task_work'] = res.get('module_project_mrp') and res.get('module_project_timesheet') + if res.get('module_account_analytic_analysis'): + product = ir_model_data.get_object(cr, uid, 'product', 'product_consultant') + res['time_unit'] = product.uom_id.id + res['tax_policy'] = \ + (res.get('group_sale_taxes_global_on_order') and 'global_on_order') or \ + (res.get('group_sale_taxes_on_order_line') and 'on_order_line') or \ + 'no_tax' + return res + + def get_default_sale_config(self, cr, uid, ids, context=None): + ir_values = self.pool.get('ir.values') + default_picking_policy = ir_values.get_default(cr, uid, 'sale.order', 'picking_policy') + return { + 'default_picking_policy': default_picking_policy == 'one', + } + + def _get_default_time_unit(self, cr, uid, context=None): + ids = self.pool.get('product.uom').search(cr, uid, [('name', '=', _('Hour'))], context=context) + return ids and ids[0] or False + + _defaults = { + 'default_order_policy': 'manual', + 'time_unit': _get_default_time_unit, + 'tax_policy': 'global_on_order', + } + + def set_sale_defaults(self, cr, uid, ids, context=None): + ir_values = self.pool.get('ir.values') + ir_model_data = self.pool.get('ir.model.data') + wizard = self.browse(cr, uid, ids)[0] + + default_picking_policy = 'one' if wizard.default_picking_policy else 'direct' + ir_values.set_default(cr, uid, 'sale.order', 'picking_policy', default_picking_policy) + + if wizard.time_unit: + product = ir_model_data.get_object(cr, uid, 'product', 'product_consultant') + product.write({'uom_id': wizard.time_unit.id, 'uom_po_id': wizard.time_unit.id}) + + if wizard.task_work and wizard.time_unit: + user = self.pool.get('res.users').browse(cr, uid, uid, context) + user.company_id.write({'project_time_mode_id': wizard.time_unit.id}) + + return {} + + def onchange_task_work(self, cr, uid, ids, task_work, context=None): + return {'value': { + 'module_project_timesheet': task_work, + 'module_project_mrp': task_work, + }} + + def onchange_tax_policy(self, cr, uid, ids, tax_policy, context=None): + return {'value': { + 'group_sale_taxes_global_on_order': tax_policy == 'global_on_order', + 'group_sale_taxes_on_order_line': tax_policy == 'on_order_line', + }} + +# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/addons/sale/res_config_view.xml b/addons/sale/res_config_view.xml new file mode 100644 index 00000000000..ab3d34a7096 --- /dev/null +++ b/addons/sale/res_config_view.xml @@ -0,0 +1,52 @@ +<?xml version="1.0" encoding="utf-8"?> +<openerp> + <data> + + <record id="view_sales_config" model="ir.ui.view"> + <field name="name">Sales Application</field> + <field name="model">sale.config.settings</field> + <field name="type">form</field> + <field name="inherit_id" ref="base.view_sale_config_settings"/> + <field name="arch" type="xml"> + <group name="config_sale" position="inside"> + <separator string="Picking and Invoice Policy" colspan="4"/> + <group colspan="4"> + <group colspan="2" col="2"> + <field name="group_invoice_so_lines"/> + <field name="group_invoice_deli_orders"/> + <field name="task_work" on_change="onchange_task_work(task_work)"/> + <field name="module_project_timesheet" invisible="1"/> + <field name="module_project_mrp" invisible="1"/> + <field name="module_account_analytic_analysis"/> + </group> + <group colspan="2" col="2"> + <field name="default_order_policy" attrs="{'invisible':['|',('group_invoice_so_lines','=',False),('group_invoice_deli_orders','=',False)]}"/> + <field name="module_delivery" attrs="{'invisible':[('group_invoice_so_lines','=',False), ('group_invoice_deli_orders','=',False)]}"/> + <field name="default_picking_policy" attrs="{'invisible':[('group_invoice_deli_orders','=',False)]}"/> + <field name="time_unit" domain="[('category_id.name','=','Working Time')]" attrs="{'invisible':[('task_work','=',False),('module_account_analytic_analysis','=',False)],'required': [('module_account_analytic_analysis','=',True)]}"/> + </group> + </group> + <separator string="Sale Order" colspan="4"/> + <group colspan="2" col="2"> + <field name="group_sale_pricelist"/> + <field name="tax_policy" on_change="onchange_tax_policy(tax_policy)"/> + <field name="group_sale_taxes_global_on_order" invisible="1"/> + <field name="group_sale_taxes_on_order_line" invisible="1"/> + <field name="module_sale_margin"/> + <field name="module_warning"/> + </group> + <group colspan="2" col="2"> + <field name="group_sale_uom"/> + <field name="group_sale_delivery_address"/> + <field name="group_discount_per_so_line"/> + <field name="module_sale_layout"/> + <field name="module_sale_journal"/> + </group> + </group> + </field> + </record> + + <menuitem id="base.menu_sale_config" name="Sales & CRM" parent="base.menu_config" sequence="1" action="base.action_sale_config"/> + + </data> +</openerp> diff --git a/addons/sale/sale.py b/addons/sale/sale.py index 82bfda7b580..f52c2112ac3 100644 --- a/addons/sale/sale.py +++ b/addons/sale/sale.py @@ -1330,95 +1330,4 @@ class sale_order_line(osv.osv): sale_order_line() -class sale_config_picking_policy(osv.osv_memory): - _name = 'sale.config.picking_policy' - _inherit = 'res.config' - - _columns = { - 'name': fields.char('Name', size=64), - 'sale_orders': fields.boolean('Based on Sales Orders',), - 'deli_orders': fields.boolean('Based on Delivery Orders'), - 'task_work': fields.boolean('Based on Tasks\' Work'), - 'timesheet': fields.boolean('Based on Timesheet'), - 'order_policy': fields.selection([ - ('manual', 'Invoice Based on Sales Orders'), - ('picking', 'Invoice Based on Deliveries'), - ], 'Main Method Based On', required=True, help="You can generate invoices based on sales orders or based on shippings."), - 'charge_delivery': fields.boolean('Do you charge the delivery?'), - 'time_unit': fields.many2one('product.uom','Main Working Time Unit') - } - _defaults = { - 'order_policy': 'manual', - 'time_unit': lambda self, cr, uid, c: self.pool.get('product.uom').search(cr, uid, [('name', '=', _('Hour'))], context=c) and self.pool.get('product.uom').search(cr, uid, [('name', '=', _('Hour'))], context=c)[0] or False, - } - - def onchange_order(self, cr, uid, ids, sale, deli, context=None): - res = {} - if sale: - res.update({'order_policy': 'manual'}) - elif deli: - res.update({'order_policy': 'picking'}) - return {'value':res} - - def execute(self, cr, uid, ids, context=None): - ir_values_obj = self.pool.get('ir.values') - data_obj = self.pool.get('ir.model.data') - menu_obj = self.pool.get('ir.ui.menu') - module_obj = self.pool.get('ir.module.module') - module_upgrade_obj = self.pool.get('base.module.upgrade') - module_name = [] - - group_id = data_obj.get_object(cr, uid, 'base', 'group_sale_salesman').id - - wizard = self.browse(cr, uid, ids)[0] - - if wizard.sale_orders: - menu_id = data_obj.get_object(cr, uid, 'sale', 'menu_invoicing_sales_order_lines').id - menu_obj.write(cr, uid, menu_id, {'groups_id':[(4,group_id)]}) - - if wizard.deli_orders: - menu_id = data_obj.get_object(cr, uid, 'sale', 'menu_action_picking_list_to_invoice').id - menu_obj.write(cr, uid, menu_id, {'groups_id':[(4,group_id)]}) - - if wizard.task_work: - module_name.append('project_timesheet') - module_name.append('project_mrp') - module_name.append('account_analytic_analysis') - - if wizard.timesheet: - module_name.append('account_analytic_analysis') - - if wizard.charge_delivery: - module_name.append('delivery') - - if len(module_name): - module_ids = [] - need_install = False - module_ids = [] - for module in module_name: - data_id = module_obj.name_search(cr, uid , module, [], '=') - module_ids.append(data_id[0][0]) - - for module in module_obj.browse(cr, uid, module_ids): - if module.state == 'uninstalled': - module_obj.state_update(cr, uid, [module.id], 'to install', ['uninstalled'], context) - need_install = True - cr.commit() - if need_install: - pooler.restart_pool(cr.dbname, update_module=True)[1] - - if wizard.time_unit: - prod_id = data_obj.get_object(cr, uid, 'product', 'product_consultant').id - product_obj = self.pool.get('product.product') - product_obj.write(cr, uid, prod_id, {'uom_id':wizard.time_unit.id, 'uom_po_id': wizard.time_unit.id}) - - ir_values_obj.set(cr, uid, 'default', False, 'order_policy', ['sale.order'], wizard.order_policy) - if wizard.task_work and wizard.time_unit: - company_id = self.pool.get('res.users').browse(cr, uid, uid).company_id.id - self.pool.get('res.company').write(cr, uid, [company_id], { - 'project_time_mode_id': wizard.time_unit.id - }, context=context) - -sale_config_picking_policy() - # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/addons/sale/sale_demo.xml b/addons/sale/sale_demo.xml index 5da496a1c4b..d94c52d898d 100644 --- a/addons/sale/sale_demo.xml +++ b/addons/sale/sale_demo.xml @@ -246,7 +246,7 @@ <field name="product_uom" ref="product.product_uom_unit"/> <field name="product_uom_qty">15</field> <field name="price_unit">250</field> - <field name="type">make_to_order</field> + <field name="type">make_to_stock</field> <field name="delay">15</field> </record> <record id="order7_line1" model="sale.order.line"> @@ -256,7 +256,7 @@ <field name="product_uom" ref="product.product_uom_unit"/> <field name="product_uom_qty">5</field> <field name="price_unit">500</field> - <field name="type">make_to_order</field> + <field name="type">make_to_stock</field> <field name="delay">15</field> </record> diff --git a/addons/sale/sale_view.xml b/addons/sale/sale_view.xml index 90d3838f5a0..5bc47245c1d 100644 --- a/addons/sale/sale_view.xml +++ b/addons/sale/sale_view.xml @@ -21,7 +21,7 @@ <field name="company_id" widget="selection" groups="base.group_multi_company"/> <separator colspan="4" string="Accounting"/> <field name="payment_default_id"/> - <field domain="[('type','=','sale')]" name="pricelist_id" select="1"/> + <field domain="[('type','=','sale')]" name="pricelist_id" groups="product.group_sale_pricelist" select="1"/> <field name="project_id" select="1" groups="analytic.group_analytic_accounting"/> </form> </field> @@ -34,7 +34,7 @@ <tree string="Sales Shop"> <field name="name"/> <field name="warehouse_id"/> - <field name="pricelist_id"/> + <field name="pricelist_id" groups="product.group_sale_pricelist"/> <field name="project_id" groups="analytic.group_analytic_accounting"/> </tree> </field> @@ -117,9 +117,9 @@ <page string="Sales Order"> <field name="partner_id" options='{"quick_create": false}' on_change="onchange_partner_id(partner_id)" domain="[('customer','=',True)]" context="{'search_default_customer':1}" required="1"/> <field domain="[('partner_id','=',partner_id)]" name="partner_order_id" on_change="onchange_partner_order_id(partner_order_id, partner_invoice_id, partner_shipping_id)" options='{"quick_create": false}'/> - <field domain="[('partner_id','=',partner_id)]" name="partner_invoice_id" groups="base.group_extended" options='{"quick_create": false}'/> - <field domain="[('partner_id','=',partner_id)]" name="partner_shipping_id" groups="base.group_extended" options='{"quick_create": false}'/> - <field domain="[('type','=','sale')]" name="pricelist_id" groups="base.group_extended" on_change="onchange_pricelist_id(pricelist_id,order_line)"/> + <field domain="[('partner_id','=',partner_id)]" name="partner_invoice_id" groups="sale.group_delivery_invoice_address" options='{"quick_create": false}'/> + <field domain="[('partner_id','=',partner_id)]" name="partner_shipping_id" groups="sale.group_delivery_invoice_address" options='{"quick_create": false}'/> + <field domain="[('type','=','sale')]" name="pricelist_id" groups="product.group_sale_pricelist" on_change="onchange_pricelist_id(pricelist_id,order_line)"/> <field name="project_id" context="{'partner_id':partner_id, 'contact_id':partner_order_id, 'pricelist_id':pricelist_id, 'default_name':name}" groups="analytic.group_analytic_accounting" domain="[('parent_id','!=',False)]"/> <newline/> <field colspan="4" name="order_line" nolabel="1" widget="one2many_list"> @@ -139,7 +139,7 @@ on_change="product_id_change(parent.pricelist_id,product_id,product_uom_qty,product_uom,product_uos_qty,product_uos,name,parent.partner_id, False, False, parent.date_order, product_packaging, parent.fiscal_position, True, context)"/> <field name="product_uom" on_change="product_uom_change(parent.pricelist_id,product_id,product_uom_qty,product_uom,product_uos_qty,product_uos,name,parent.partner_id, False, False, parent.date_order, context)" - nolabel="1"/> + nolabel="1" groups="product.group_uom"/> <field name="price_unit"/> <field groups="product.group_uos" name="product_uos_qty"/> @@ -149,11 +149,12 @@ context="{'partner_id':parent.partner_id, 'quantity':product_uom_qty, 'pricelist':parent.pricelist_id, 'shop':parent.shop_id, 'uom':product_uom}" on_change="product_packaging_change(parent.pricelist_id, product_id, product_uom_qty, product_uom, parent.partner_id, product_packaging, True, context)" domain="[('product_id','=',product_id)]" groups="base.group_extended" colspan="3"/> - <field name="discount"/> - <separator colspan="5" string="Notes"/> - <field colspan="5" name="notes" nolabel="1"/> - <separator colspan="5" string="Taxes"/> - <field colspan="5" name="tax_id" nolabel="1" domain="[('parent_id','=',False),('type_tax_use','<>','purchase')]"/> + <field name="discount" groups="sale.group_discount_per_so_line"/> + <separator colspan="5" string="Notes" groups="base.group_sale_notes_subtotal"/> + <field colspan="5" name="notes" nolabel="1" groups="base.group_sale_notes_subtotal"/> + <separator colspan="5" string="Taxes" groups="sale.group_taxes_on_order_line"/> + <field colspan="5" name="tax_id" nolabel="1" domain="[('parent_id','=',False),('type_tax_use','<>','purchase')]" + groups="sale.group_taxes_on_order_line" /> <group colspan="5" col="5" groups="base.group_extended"> <separator colspan="5" string="States"/> <field name="state" widget="statusbar" statusbar_visible="draft,confirmed,done" statusbar_colors='{"exception":"red","cancel":"red"}'/> @@ -183,18 +184,18 @@ <tree string="Sales Order Lines"> <field colspan="4" name="name"/> <field name="product_uom_qty" string="Qty(UoM)"/> - <field name="product_uom" string="UoM"/> + <field name="product_uom" string="UoM" groups="product.group_uom"/> <field groups="product.group_uos" name="product_uos_qty" string="Qty(UoS)"/> <field groups="product.group_uos" name="product_uos" string="UoS"/> - <field name="discount"/> + <field name="discount" groups="sale.group_discount_per_so_line"/> <field name="price_unit"/> - <field name="price_subtotal"/> + <field name="price_subtotal" groups="base.group_sale_notes_subtotal"/> </tree> </field> <newline/> <group col="13" colspan="10"> - <field name="amount_untaxed" sum="Untaxed amount"/> - <field name="amount_tax"/> + <field name="amount_untaxed" sum="Untaxed amount" groups="sale.group_taxes_on_order_line,sale.group_taxes_global_on_order"/> + <field name="amount_tax" groups="sale.group_taxes_on_order_line,sale.group_taxes_global_on_order"/> <field name="amount_total"/> <button name="button_dummy" states="draft" string="Compute" type="object" icon="gtk-execute"/> <button name="%(action_view_sale_advance_payment_inv)d" string="Advance Invoice" type="action" icon="gtk-execute" states="draft,manual" groups="base.group_extended"/> @@ -240,8 +241,8 @@ <field name="create_date"/> <field name="date_confirm"/> </group> - <separator colspan="4" string="Notes"/> - <field colspan="4" name="note" nolabel="1"/> + <separator colspan="4" string="Notes" groups="base.group_sale_notes_subtotal"/> + <field colspan="4" name="note" nolabel="1" groups="base.group_sale_notes_subtotal"/> </page> <page string="History" groups="base.group_extended"> <separator colspan="4" string="Invoices"/> @@ -361,9 +362,9 @@ <field name="order_partner_id"/> <field name="product_id"/> <field name="product_uom_qty" string="Qty"/> - <field name="product_uom" string="UoM"/> + <field name="product_uom" string="UoM" groups="product.group_uom"/> <field name="salesman_id"/> - <field name="price_subtotal" sum="Total"/> + <field name="price_subtotal" sum="Total" groups="base.group_sale_notes_subtotal"/> <field name="state"/> <field name="invoiced"/> </tree> @@ -382,7 +383,7 @@ <field name="product_id" readonly="1"/> <field name="product_uom_qty" readonly="1"/> - <field name="product_uom"/> + <field name="product_uom" groups="product.group_uom"/> <field colspan="4" name="name" groups="base.group_extended"/> <field name="company_id" groups="base.group_multi_company" readonly="1"/> @@ -390,11 +391,11 @@ <separator colspan="4" string="Price"/> <group colspan="4" col="6"> <field name="price_unit"/> - <field name="discount"/> - <field name="price_subtotal"/> + <field name="discount" groups="sale.group_discount_per_so_line"/> + <field name="price_subtotal" groups="base.group_sale_notes_subtotal"/> </group> - <separator colspan="4" string="Notes"/> - <field colspan="4" name="notes" nolabel="1"/> + <separator colspan="4" string="Notes" groups="base.group_sale_notes_subtotal"/> + <field colspan="4" name="notes" nolabel="1" groups="base.group_sale_notes_subtotal"/> <separator colspan="4"/> <field name="state" widget="statusbar" statusbar_visible="draft,confirmed,done" statusbar_colors='{"exception":"red","cancel":"red"}'/> <group col="3" colspan="2"> @@ -498,70 +499,8 @@ src_model="product.product" groups="base.group_sale_salesman"/> - <menuitem id="base.menu_invoiced" name="Invoicing" parent="base.menu_base_partner" sequence="5" groups="base.group_extended"/> - <menuitem id="menu_invoicing_sales_order_lines" parent="base.menu_invoiced" action="action_order_line_tree2" sequence="2" groups="base.group_no_one"/> - - <!-- configartion view --> - - <record id="view_config_picking_policy" model="ir.ui.view"> - <field name="name">Setup Your Invoicing Method</field> - <field name="model">sale.config.picking_policy</field> - <field name="type">form</field> - <field name="inherit_id" ref="base.res_config_view_base"/> - <field name="arch" type="xml"> - <data> - <form position="attributes"> - <attribute name="string">Setup your Invoicing Method</attribute> - </form> - - <xpath expr="//separator[@string="title"]" position="attributes"> - <attribute name="string">Setup your Invoicing Method</attribute> - </xpath> - <xpath expr="//label[@string='description']" position="attributes"> - <attribute name="string">This tool will help you to install the right module and configure the system according to the method you use to invoice your customers.</attribute> - </xpath> - <xpath expr="//separator[@string="vsep"]" position="attributes"> - <attribute name="string"/> - <attribute name="rowspan">12</attribute> - </xpath> - <group string="res_config_contents" position="replace"> - <group colspan="4" col="4"> - <field name="sale_orders" on_change="onchange_order(sale_orders,deli_orders)"/> - <newline/> - <field name="deli_orders" on_change="onchange_order(sale_orders,deli_orders)"/> - <newline/> - <field name="task_work"/> - <newline/> - <field name="timesheet"/> - <newline/> - <separator string="Options" colspan="4"/> - <field name="order_policy" attrs="{'invisible':['|',('sale_orders','!=',True),('deli_orders','!=',True)]}"/> - <newline/> - <field name="charge_delivery" attrs="{'invisible':[('sale_orders','!=',True), ('deli_orders','!=',True)]}"/> - <newline/> - <field name="time_unit" widget="selection" domain="[('category_id','=',%(product.uom_categ_wtime)s)]" attrs="{'invisible':[('task_work','=',False),('timesheet','=',False)]}"/> - </group> - </group> - </data> - </field> - </record> - - <record id="action_config_picking_policy" model="ir.actions.act_window"> - <field name="name">Setup your Invoicing Method</field> - <field name="type">ir.actions.act_window</field> - <field name="res_model">sale.config.picking_policy</field> - <field name="view_id" ref="view_config_picking_policy"/> - <field name="view_type">form</field> - <field name="view_mode">form</field> - <field name="target">new</field> - </record> - - <!-- register configuration wizard --> - <record id="config_wizard_step_sale_picking_policy" model="ir.actions.todo"> - <field name="action_id" ref="action_config_picking_policy"/> - <field name="category_id" ref="base.category_sales_management_config"/> - <field name="type">once</field> - </record> + <menuitem id="base.menu_invoiced" name="Invoicing" parent="base.menu_base_partner" sequence="5"/> + <menuitem id="menu_invoicing_sales_order_lines" parent="base.menu_invoiced" action="action_order_line_tree2" sequence="2" groups="sale.group_invoice_so_lines"/> </data> </openerp> diff --git a/addons/sale/security/sale_security.xml b/addons/sale/security/sale_security.xml index ae8c8bf62e3..ee45aa65463 100644 --- a/addons/sale/security/sale_security.xml +++ b/addons/sale/security/sale_security.xml @@ -20,6 +20,36 @@ <field name="users" eval="[(4, ref('base.user_root'))]"/> </record> + <record id="group_invoice_so_lines" model="res.groups"> + <field name="name">Enable Invoicing Sale order lines</field> + <field name="category_id" ref="base.module_category_hidden"/> + </record> + + <record id="group_invoice_deli_orders" model="res.groups"> + <field name="name">Enable Invoicing Delivery orders</field> + <field name="category_id" ref="base.module_category_hidden"/> + </record> + + <record id="group_delivery_invoice_address" model="res.groups"> + <field name="name">Addresses in Sale Orders</field> + <field name="category_id" ref="base.module_category_hidden"/> + </record> + + <record id="group_discount_per_so_line" model="res.groups"> + <field name="name">Discount on lines</field> + <field name="category_id" ref="base.module_category_hidden"/> + </record> + + <record id="group_taxes_global_on_order" model="res.groups"> + <field name="name">Sales Taxes Global on Order</field> + <field name="category_id" ref="base.module_category_hidden"/> + </record> + + <record id="group_taxes_on_order_line" model="res.groups"> + <field name="name">Sales Taxes on Order Lines</field> + <field name="category_id" ref="base.module_category_hidden"/> + </record> + <record model="res.users" id="base.user_admin"> <field eval="[(4,ref('base.group_partner_manager'))]" name="groups_id"/> </record> diff --git a/addons/sale/stock_view.xml b/addons/sale/stock_view.xml index 7b9e90f6f0a..578a6fb5802 100644 --- a/addons/sale/stock_view.xml +++ b/addons/sale/stock_view.xml @@ -74,7 +74,7 @@ <field name="context">{'default_type': 'out', 'contact_display': 'partner_address', 'search_default_to_invoice': 1, 'search_default_done': 1}</field> <field name="search_view_id" ref="stock.view_picking_out_search"/> </record> - <menuitem action="outgoing_picking_list_to_invoice" id="menu_action_picking_list_to_invoice" parent="base.menu_invoiced" groups="base.group_no_one" sequence="20"/> + <menuitem action="outgoing_picking_list_to_invoice" id="menu_action_picking_list_to_invoice" parent="base.menu_invoiced" groups="sale.group_invoice_deli_orders" sequence="20"/> </data> </openerp> diff --git a/addons/sale/test/manual_order_policy.yml b/addons/sale/test/manual_order_policy.yml index d997e792696..bb197763486 100644 --- a/addons/sale/test/manual_order_policy.yml +++ b/addons/sale/test/manual_order_policy.yml @@ -82,8 +82,8 @@ - I set order policy "Deliver & invoice on demand" as default policy. - - !record {model: sale.config.picking_policy, id: sale.config.picking_policy_0}: - order_policy: 'manual' + !record {model: sale.config.settings, id: sale_configuration_0}: + default_order_policy: 'manual' - - !python {model: sale.config.picking_policy}: | - self.execute(cr, uid, [ref("sale.config.picking_policy_0")]) + !python {model: sale.config.settings}: | + self.execute(cr, uid, [ref("sale_configuration_0")], context=context) diff --git a/addons/sale_layout/sale_layout_view.xml b/addons/sale_layout/sale_layout_view.xml index 78f98d3002f..146ca8aa006 100644 --- a/addons/sale_layout/sale_layout_view.xml +++ b/addons/sale_layout/sale_layout_view.xml @@ -37,6 +37,7 @@ on_change="product_id_change(parent.pricelist_id,product_id,product_uom_qty,product_uom,product_uos_qty,product_uos,name,parent.partner_id, False, False, parent.date_order, product_packaging, parent.fiscal_position, True, context)"/> <field name="product_uom" nolabel="1" + groups="product.group_uom" required="0" attrs="{'invisible':[('layout_type','!=','article')], 'required':[('layout_type','not in',['title','text','subtotal','line','break'])]}" on_change="product_uom_change(parent.pricelist_id,product_id,product_uom_qty,product_uom,product_uos_qty,product_uos,name,parent.partner_id, False, False, parent.date_order, context)"/> @@ -99,7 +100,7 @@ <tree string="Sales order lines"> <field colspan="4" name="name"/> <field name="product_uom_qty" string="Qty"/> - <field name="product_uom" string="UoM"/> + <field name="product_uom" string="UoM" groups="product.group_uom"/> <field name="discount"/> <field name="price_unit"/> <!-- field name="price_net"/--> diff --git a/addons/stock/i18n/fr.po b/addons/stock/i18n/fr.po index b1c945772c4..758658a70db 100644 --- a/addons/stock/i18n/fr.po +++ b/addons/stock/i18n/fr.po @@ -7,14 +7,14 @@ msgstr "" "Project-Id-Version: OpenERP Server 6.0dev\n" "Report-Msgid-Bugs-To: support@openerp.com\n" "POT-Creation-Date: 2012-02-08 01:37+0100\n" -"PO-Revision-Date: 2012-03-05 14:29+0000\n" -"Last-Translator: gde (OpenERP) <Unknown>\n" +"PO-Revision-Date: 2012-03-12 08:35+0000\n" +"Last-Translator: Numérigraphe <Unknown>\n" "Language-Team: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2012-03-06 04:48+0000\n" -"X-Generator: Launchpad (build 14900)\n" +"X-Launchpad-Export-Date: 2012-03-13 05:07+0000\n" +"X-Generator: Launchpad (build 14933)\n" #. module: stock #: field:stock.inventory.line,product_uom:0 @@ -105,7 +105,7 @@ msgstr "Mouvements du produit" #. module: stock #: model:ir.ui.menu,name:stock.menu_stock_uom_categ_form_action msgid "UoM Categories" -msgstr "" +msgstr "Catégories des UdM" #. module: stock #: model:ir.actions.act_window,name:stock.action_stock_move_report @@ -1231,7 +1231,7 @@ msgstr "Mars" #: model:ir.model,name:stock.model_stock_inventory_line_split #: view:stock.inventory:0 view:stock.inventory.line:0 msgid "Split inventory lines" -msgstr "Eclater les lignes d'inventaire" +msgstr "Diviser les lignes d'inventaire" #. module: stock #: view:stock.inventory:0 |
