diff --git a/addons/account/product_view.xml b/addons/account/product_view.xml index 1000cef2156..0095cb1505c 100644 --- a/addons/account/product_view.xml +++ b/addons/account/product_view.xml @@ -11,8 +11,8 @@ - - + + diff --git a/addons/account_analytic_plans/i18n/ko.po b/addons/account_analytic_plans/i18n/ko.po index 6de93149132..0f23f6fa8f1 100644 --- a/addons/account_analytic_plans/i18n/ko.po +++ b/addons/account_analytic_plans/i18n/ko.po @@ -8,13 +8,13 @@ msgstr "" "Project-Id-Version: openobject-addons\n" "Report-Msgid-Bugs-To: FULL NAME \n" "POT-Creation-Date: 2009-08-28 16:01+0000\n" -"PO-Revision-Date: 2009-09-08 14:29+0000\n" -"Last-Translator: ekodaq \n" +"PO-Revision-Date: 2010-04-15 00:46+0000\n" +"Last-Translator: Bundo \n" "Language-Team: Korean \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2010-03-30 04:07+0000\n" +"X-Launchpad-Export-Date: 2010-04-15 03:58+0000\n" "X-Generator: Launchpad (build Unknown)\n" #. module: account_analytic_plans @@ -106,7 +106,7 @@ msgstr "배분 코드" #. module: account_analytic_plans #: constraint:ir.actions.act_window:0 msgid "Invalid model name in the action definition." -msgstr "" +msgstr "액션 정의에서 유효하지 않은 모델 이름" #. module: account_analytic_plans #: field:account.analytic.plan.line,name:0 @@ -116,7 +116,7 @@ msgstr "플랜 이름" #. module: account_analytic_plans #: rml:account.analytic.account.crossovered.analytic:0 msgid "Printing date" -msgstr "" +msgstr "인쇄 날짜" #. module: account_analytic_plans #: rml:account.analytic.account.crossovered.analytic:0 @@ -147,7 +147,7 @@ msgstr "분석 저널" #. module: account_analytic_plans #: rml:account.analytic.account.crossovered.analytic:0 msgid "100.00%" -msgstr "" +msgstr "100.00%" #. module: account_analytic_plans #: wizard_field:wizard.crossovered.analytic,init,ref:0 @@ -157,7 +157,7 @@ msgstr "분석 계정 참조" #. module: account_analytic_plans #: rml:account.analytic.account.crossovered.analytic:0 msgid "Analytic Account :" -msgstr "" +msgstr "분석 계정:" #. module: account_analytic_plans #: view:account.analytic.plan.line:0 diff --git a/addons/analytic_user_function/i18n/ko.po b/addons/analytic_user_function/i18n/ko.po index f712ef2ba23..ebf998adadc 100644 --- a/addons/analytic_user_function/i18n/ko.po +++ b/addons/analytic_user_function/i18n/ko.po @@ -8,13 +8,13 @@ msgstr "" "Project-Id-Version: openobject-addons\n" "Report-Msgid-Bugs-To: FULL NAME \n" "POT-Creation-Date: 2009-08-28 16:01+0000\n" -"PO-Revision-Date: 2009-09-08 16:01+0000\n" -"Last-Translator: ekodaq \n" +"PO-Revision-Date: 2010-04-15 01:01+0000\n" +"Last-Translator: Bundo \n" "Language-Team: Korean \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2010-03-30 04:14+0000\n" +"X-Launchpad-Export-Date: 2010-04-15 03:58+0000\n" "X-Generator: Launchpad (build Unknown)\n" #. module: analytic_user_function @@ -35,7 +35,7 @@ msgstr "상품" #. module: analytic_user_function #: field:analytic_user_funct_grid,account_id:0 msgid "Analytic Account" -msgstr "" +msgstr "분석 계정" #. module: analytic_user_function #: view:account.analytic.account:0 @@ -57,7 +57,7 @@ msgstr "오브젝트 이름은 x_로 시작해야 하며, 특수 문자를 포 #. module: analytic_user_function #: model:ir.module.module,shortdesc:analytic_user_function.module_meta_information msgid "Analytic User Function" -msgstr "" +msgstr "사용자 함수 분석" #. module: analytic_user_function #: view:analytic_user_funct_grid:0 diff --git a/addons/board_manufacturing/board_manufacturing_view.xml b/addons/board_manufacturing/board_manufacturing_view.xml index df4a6805afb..17b4bc486bc 100644 --- a/addons/board_manufacturing/board_manufacturing_view.xml +++ b/addons/board_manufacturing/board_manufacturing_view.xml @@ -15,7 +15,7 @@ - + @@ -37,7 +37,7 @@ - + form tree,calendar,form,graph - {"search_default_section_id":section_id,"search_default_Current":1,"search_default_My Claims":1} + {"search_default_section_id":section_id,"search_default_current":1,"search_default_my_claims":1} diff --git a/addons/crm/crm_claims_view.xml b/addons/crm/crm_claims_view.xml index 326da6c8973..c7409006d78 100644 --- a/addons/crm/crm_claims_view.xml +++ b/addons/crm/crm_claims_view.xml @@ -245,7 +245,7 @@ search - @@ -263,7 +263,7 @@ - crm.fundraising tree,form,graph - {"search_default_My Funds":1,"search_default_section_id":section_id} + {"search_default_my_funds":1,"search_default_section_id":section_id} diff --git a/addons/crm/crm_fund_view.xml b/addons/crm/crm_fund_view.xml index c72fd810603..8d315c14a6d 100644 --- a/addons/crm/crm_fund_view.xml +++ b/addons/crm/crm_fund_view.xml @@ -252,7 +252,7 @@ diff --git a/addons/crm/crm_helpdesk_menu.xml b/addons/crm/crm_helpdesk_menu.xml index 21ff93c91ec..b1a7dfcc428 100644 --- a/addons/crm/crm_helpdesk_menu.xml +++ b/addons/crm/crm_helpdesk_menu.xml @@ -11,7 +11,7 @@ crm.helpdesk tree,calendar,form - {"search_default_My Request":1,"search_default_section_id":section_id} + {"search_default_my_hd_request":1,"search_default_section_id":section_id} diff --git a/addons/crm/crm_helpdesk_view.xml b/addons/crm/crm_helpdesk_view.xml index fc731ae30e7..bea0c3a894c 100644 --- a/addons/crm/crm_helpdesk_view.xml +++ b/addons/crm/crm_helpdesk_view.xml @@ -104,7 +104,7 @@ - + @@ -223,7 +223,7 @@ - diff --git a/addons/crm/crm_lead_menu.xml b/addons/crm/crm_lead_menu.xml index eb8c09008fc..8e34bca3118 100644 --- a/addons/crm/crm_lead_menu.xml +++ b/addons/crm/crm_lead_menu.xml @@ -7,7 +7,8 @@ crm.lead tree,form - {"search_default_Current":1,"search_default_My Lead":1,"search_default_section_id":section_id} + {"search_default_current":1,"search_default_my_lead":1,"search_default_section_id":section_id} + {"search_default_current":1,"search_default_my_lead":1,"search_default_section_id":section_id} diff --git a/addons/crm/crm_lead_view.xml b/addons/crm/crm_lead_view.xml index d93e5f94562..9dad22dba81 100644 --- a/addons/crm/crm_lead_view.xml +++ b/addons/crm/crm_lead_view.xml @@ -45,8 +45,8 @@ name="convert_opportunity" string="Convert" help="Convert into Opportunity" - icon="gtk-index" - type="object" + icon="gtk-index" + type="object" attrs="{'invisible':[('opportunity_id','!=',False)]}"/> search - crm.meeting calendar,tree,form,gantt - {"search_default_Current":1,"search_default_section_id":section_id} + {"search_default_current":1,"search_default_section_id":section_id} diff --git a/addons/crm/crm_meeting_view.xml b/addons/crm/crm_meeting_view.xml index b350812c0f9..b01beb55342 100644 --- a/addons/crm/crm_meeting_view.xml +++ b/addons/crm/crm_meeting_view.xml @@ -259,9 +259,9 @@ - + diff --git a/addons/crm/crm_opportunity_menu.xml b/addons/crm/crm_opportunity_menu.xml index c7fba068c11..ba01ca72be4 100644 --- a/addons/crm/crm_opportunity_menu.xml +++ b/addons/crm/crm_opportunity_menu.xml @@ -27,7 +27,7 @@ crm.opportunity tree,form,graph - {"search_default_My Oprtnit":1,"search_default_Current":1,"search_default_section_id":section_id} + {"search_default_my_oprtnit":1,"search_default_new_oprtnit":1,"search_default_section_id":section_id} diff --git a/addons/crm/crm_opportunity_view.xml b/addons/crm/crm_opportunity_view.xml index e0e53f4cd8c..92b09919791 100644 --- a/addons/crm/crm_opportunity_view.xml +++ b/addons/crm/crm_opportunity_view.xml @@ -281,7 +281,7 @@ - form tree,calendar - {"set_editable":True,"default_state":'open',"search_default_my_calls":1,"search_default_section_id":section_id} + {"set_editable":True,"default_state":'open',"search_default_my_calls":1,"search_default_state":1,"search_default_section_id":section_id} @@ -55,7 +55,7 @@ tree,calendar - {"default_state":'open',"search_default_My Calls":1,"search_default_section_id":section_id} + {"default_state":'open',"search_default_my_calls":1,"search_default_state":1,"search_default_section_id":section_id} diff --git a/addons/crm/crm_phonecall_view.xml b/addons/crm/crm_phonecall_view.xml index 3fefc7ed249..064d3569d03 100644 --- a/addons/crm/crm_phonecall_view.xml +++ b/addons/crm/crm_phonecall_view.xml @@ -161,7 +161,6 @@ search - - + @@ -190,7 +189,6 @@ domain="[('section_id','=',context.get('section_id',False))]" help="My section" /> - \n" +"PO-Revision-Date: 2010-04-14 15:48+0000\n" +"Last-Translator: Olivier Dony (OpenERP) \n" "Language-Team: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2010-03-30 03:58+0000\n" +"X-Launchpad-Export-Date: 2010-04-15 03:58+0000\n" "X-Generator: Launchpad (build Unknown)\n" #. module: crm @@ -1753,7 +1753,7 @@ msgstr "Planifier un appel téléphonique" #. module: crm #: field:crm.case,ref:0 msgid "Reference" -msgstr "" +msgstr "Référence" #. module: crm #: field:crm.meeting,exrule:0 @@ -2408,6 +2408,8 @@ msgstr "Historique" msgid "" "This may help associations in their fund raising process and tracking." msgstr "" +"Ceci peut aider les associations dans leur procédure de collecte de fonds et " +"de suivi." #. module: crm #: view:crm.meeting:0 diff --git a/addons/crm/i18n/ru.po b/addons/crm/i18n/ru.po index 248bb98025a..73b90ba5b58 100644 --- a/addons/crm/i18n/ru.po +++ b/addons/crm/i18n/ru.po @@ -7,13 +7,13 @@ msgstr "" "Project-Id-Version: OpenERP Server 5.0.0\n" "Report-Msgid-Bugs-To: support@openerp.com\n" "POT-Creation-Date: 2010-01-05 05:59+0000\n" -"PO-Revision-Date: 2010-04-14 03:47+0000\n" +"PO-Revision-Date: 2010-04-14 03:53+0000\n" "Last-Translator: grisha \n" "Language-Team: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2010-04-14 03:50+0000\n" +"X-Launchpad-Export-Date: 2010-04-15 03:58+0000\n" "X-Generator: Launchpad (build Unknown)\n" #. module: crm @@ -172,7 +172,7 @@ msgstr "" #: wizard_field:crm.job.meeting_set,init,duration:0 #: wizard_field:crm.phonecall.meeting_set,init,duration:0 msgid "Duration (Hours)" -msgstr "" +msgstr "Длительность(в часах)" #. module: crm #: selection:crm.meeting,transparent:0 diff --git a/addons/crm/report/crm_claim_report_view.xml b/addons/crm/report/crm_claim_report_view.xml index 9be2c7c538e..465fab740a6 100644 --- a/addons/crm/report/crm_claim_report_view.xml +++ b/addons/crm/report/crm_claim_report_view.xml @@ -83,7 +83,7 @@ form tree,graph - {"search_default_section_id":section_id,"search_default_This Year":1,"search_default_This Month":1,"search_default_User":1} + {"search_default_section_id":section_id,"search_default_this_year":1,"search_default_this_month":1,"search_default_by_user":1} diff --git a/addons/crm/report/crm_fundraising_report_view.xml b/addons/crm/report/crm_fundraising_report_view.xml index 38068a7b16c..fbc56e6202e 100644 --- a/addons/crm/report/crm_fundraising_report_view.xml +++ b/addons/crm/report/crm_fundraising_report_view.xml @@ -80,7 +80,7 @@ form tree,graph - {"search_default_section_id":section_id,"search_default_This Year":1,"search_default_This Month":1,"search_default_User":1} + {"search_default_section_id":section_id,"search_default_this_year":1,"search_default_this_month":1,"search_default_by_user":1} diff --git a/addons/crm/report/crm_lead_report_view.xml b/addons/crm/report/crm_lead_report_view.xml index 9ce910329bf..58d69699404 100644 --- a/addons/crm/report/crm_lead_report_view.xml +++ b/addons/crm/report/crm_lead_report_view.xml @@ -79,7 +79,7 @@ crm.lead.report form tree,graph - {"search_default_section_id":section_id,"search_default_This Year":1,"search_default_This Month":1,"search_default_User":1} + {"search_default_section_id":section_id,"search_default_this_year":1,"search_default_this_month":1,"search_default_by_user":1} diff --git a/addons/crm/report/crm_opportunity_report_view.xml b/addons/crm/report/crm_opportunity_report_view.xml index b19115f6739..3ee8498fb3a 100644 --- a/addons/crm/report/crm_opportunity_report_view.xml +++ b/addons/crm/report/crm_opportunity_report_view.xml @@ -88,7 +88,7 @@ crm.opportunity.report form tree,graph - {"search_default_section_id":section_id,"search_default_This Year":1,"search_default_This Month":1,"search_default_User":1} + {"search_default_section_id":section_id,"search_default_this_year":1,"search_default_this_month":1,"search_default_by_user":1} diff --git a/addons/crm/report/crm_phonecall_report_view.xml b/addons/crm/report/crm_phonecall_report_view.xml index a4fc0f0097f..a78d94977f8 100644 --- a/addons/crm/report/crm_phonecall_report_view.xml +++ b/addons/crm/report/crm_phonecall_report_view.xml @@ -77,7 +77,7 @@ form tree,graph - {"search_default_section_id":section_id,"search_default_This Year":1,"search_default_This Month":1,"search_default_User":1} + {"search_default_section_id":section_id,"search_default_this_year":1,"search_default_this_month":1,"search_default_by_user":1} diff --git a/addons/crm/report/crm_report_view.xml b/addons/crm/report/crm_report_view.xml index a0f03a24210..3cd8b518b5d 100644 --- a/addons/crm/report/crm_report_view.xml +++ b/addons/crm/report/crm_report_view.xml @@ -64,10 +64,12 @@ + domain="[('name','=',time.localtime()[0])]" + name="this_year" /> + domain="[('month','=',time.strftime('%%m'))]" + name="this_month" /> + domain="[]" context="{'group_by':'user_id'}" + name="by_user" /> crm.case.report form tree,graph - {"search_default_section_id":section_id,"search_default_This Year":1,"search_default_This Month":1} + {"search_default_section_id":section_id,"search_default_this_year":1,"search_default_this_month":1} diff --git a/addons/crm/scripts/openerp_mailgate/openerp_mailgate.py b/addons/crm/scripts/openerp_mailgate/openerp_mailgate.py index 1417aa71ddf..497f1014eb9 100755 --- a/addons/crm/scripts/openerp_mailgate/openerp_mailgate.py +++ b/addons/crm/scripts/openerp_mailgate/openerp_mailgate.py @@ -67,9 +67,9 @@ def html2plaintext(html, body_id=None, encoding='utf-8'): soup = BeautifulSoup(html, parseOnlyThese=strainer, fromEncoding=encoding) for link in soup.findAll('a'): - title = link.renderContents() + title = unicode(link) for url in [x[1] for x in link.attrs if x[0]=='href']: - urls.append(dict(url=url, tag=str(link), title=title)) + urls.append(dict(url=url, tag=unicode(link), title=title)) html = unicode(soup) @@ -162,12 +162,9 @@ class email_parser(object): if charset: try: return s.decode(charset) - except UnicodeError: - pass - try: - return s.decode('ascii') - except UnicodeError: - return s + except UnicodeError: + pass + return s.decode('latin1') def _decode_header(self, s): from email.Header import decode_header diff --git a/addons/crm_profiling/i18n/ko.po b/addons/crm_profiling/i18n/ko.po index b3dd9d94ad9..f20ce697c8b 100644 --- a/addons/crm_profiling/i18n/ko.po +++ b/addons/crm_profiling/i18n/ko.po @@ -8,20 +8,20 @@ msgstr "" "Project-Id-Version: openobject-addons\n" "Report-Msgid-Bugs-To: FULL NAME \n" "POT-Creation-Date: 2009-08-28 16:01+0000\n" -"PO-Revision-Date: 2009-09-08 16:32+0000\n" -"Last-Translator: ekodaq \n" +"PO-Revision-Date: 2010-04-15 00:44+0000\n" +"Last-Translator: Bundo \n" "Language-Team: Korean \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2010-03-30 04:13+0000\n" +"X-Launchpad-Export-Date: 2010-04-15 03:58+0000\n" "X-Generator: Launchpad (build Unknown)\n" #. module: crm_profiling #: constraint:ir.model:0 msgid "" "The Object name must start with x_ and not contain any special character !" -msgstr "" +msgstr "오브젝트 이름은 x_로 시작해야 하며, 특수 문자를 포함하면 안 됩니다 !" #. module: crm_profiling #: field:crm_profiling.answer,question_id:0 @@ -43,12 +43,12 @@ msgstr "자식 프로파일" #. module: crm_profiling #: model:ir.module.module,shortdesc:crm_profiling.module_meta_information msgid "crm_profiling management" -msgstr "" +msgstr "crm 프로파일링 관리자(_P)" #. module: crm_profiling #: constraint:ir.actions.act_window:0 msgid "Invalid model name in the action definition." -msgstr "" +msgstr "액션 정의에서 유효하지 않은 모델 이름" #. module: crm_profiling #: field:crm_profiling.answer,name:0 @@ -91,7 +91,7 @@ msgstr "질의서 이용" #. module: crm_profiling #: constraint:ir.ui.view:0 msgid "Invalid XML for View Architecture!" -msgstr "" +msgstr "유효하지 않은 아키텍처를 위한 XML 보기!" #. module: crm_profiling #: view:crm_profiling.questionnaire:0 diff --git a/addons/hr/i18n/ko.po b/addons/hr/i18n/ko.po index fede2d3c76e..e05c410e032 100644 --- a/addons/hr/i18n/ko.po +++ b/addons/hr/i18n/ko.po @@ -8,13 +8,13 @@ msgstr "" "Project-Id-Version: openobject-addons\n" "Report-Msgid-Bugs-To: FULL NAME \n" "POT-Creation-Date: 2009-08-28 16:01+0000\n" -"PO-Revision-Date: 2009-09-08 13:55+0000\n" -"Last-Translator: ekodaq \n" +"PO-Revision-Date: 2010-04-15 00:59+0000\n" +"Last-Translator: Bundo \n" "Language-Team: Korean \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2010-03-30 04:12+0000\n" +"X-Launchpad-Export-Date: 2010-04-15 03:58+0000\n" "X-Generator: Launchpad (build Unknown)\n" #. module: hr @@ -58,7 +58,7 @@ msgstr "페어런트" #. module: hr #: constraint:ir.actions.act_window:0 msgid "Invalid model name in the action definition." -msgstr "" +msgstr "액션 정의에 잘못된 모델 이름이 있습니다." #. module: hr #: view:hr.department:0 diff --git a/addons/hr_evaluation/hr_evaluation_view.xml b/addons/hr_evaluation/hr_evaluation_view.xml index b86fa9873a3..93dc5a1df8f 100644 --- a/addons/hr_evaluation/hr_evaluation_view.xml +++ b/addons/hr_evaluation/hr_evaluation_view.xml @@ -311,9 +311,9 @@ - + - + @@ -329,7 +329,7 @@ form tree,form [('is_evaluation' ,'=', True)] - {"search_default_To Do":1,"search_default_My":1} + {"search_default_todo":1,"search_default_my":1} diff --git a/addons/hr_expense/hr_expense_view.xml b/addons/hr_expense/hr_expense_view.xml index 7b18fa14996..855f40633d0 100644 --- a/addons/hr_expense/hr_expense_view.xml +++ b/addons/hr_expense/hr_expense_view.xml @@ -148,7 +148,7 @@ Expenses hr.expense.expense form - {"search_default_My Expns":1} + {"search_default_my_expns":1} diff --git a/addons/hr_expense/report/hr_expense_report_view.xml b/addons/hr_expense/report/hr_expense_report_view.xml index 7a3c9b25d18..2f9a0afb29c 100644 --- a/addons/hr_expense/report/hr_expense_report_view.xml +++ b/addons/hr_expense/report/hr_expense_report_view.xml @@ -56,7 +56,8 @@ - @@ -70,7 +71,7 @@ - + @@ -89,7 +90,7 @@ hr.expense.report form tree,graph - {"search_default_Expenses":1,"search_default_User":1} + {"search_default_expenses":1,"search_default_by_user":1} diff --git a/addons/hr_recruitment/hr_recruitment_menu.xml b/addons/hr_recruitment/hr_recruitment_menu.xml index 88011aa817c..bbf32cf0501 100644 --- a/addons/hr_recruitment/hr_recruitment_menu.xml +++ b/addons/hr_recruitment/hr_recruitment_menu.xml @@ -9,7 +9,7 @@ hr.applicant tree,form,graph - {"search_default_Current":1,"search_default_My Recrui":1} + {"search_default_current":1,"search_default_my_recrui":1} diff --git a/addons/hr_recruitment/hr_recruitment_view.xml b/addons/hr_recruitment/hr_recruitment_view.xml index 96f8718bf9a..c31b58f74be 100644 --- a/addons/hr_recruitment/hr_recruitment_view.xml +++ b/addons/hr_recruitment/hr_recruitment_view.xml @@ -202,7 +202,7 @@ - @@ -224,7 +224,7 @@ - + diff --git a/addons/hr_recruitment/report/hr_recruitment_report_view.xml b/addons/hr_recruitment/report/hr_recruitment_report_view.xml index 2b8c451949c..286499e0ae8 100644 --- a/addons/hr_recruitment/report/hr_recruitment_report_view.xml +++ b/addons/hr_recruitment/report/hr_recruitment_report_view.xml @@ -39,7 +39,6 @@ search - - - + @@ -78,9 +76,10 @@ string="Excellent" domain="[('priority','=','1')]"/> + - - + + @@ -101,7 +100,7 @@ hr.recruitment.report form tree,graph - {"search_default_User":1} + {"search_default_user_id":1,"search_default_by_user":1} diff --git a/addons/mrp/company.py b/addons/mrp/company.py index 064b1034ba0..1844fff47eb 100644 --- a/addons/mrp/company.py +++ b/addons/mrp/company.py @@ -26,7 +26,7 @@ class company(osv.osv): _columns = { 'schedule_range': fields.float('Scheduler Range', required=True, help="This is the time frame analysed by the scheduler when "\ - "computing Requisitions. All Requisition that are not between "\ + "computing procurements. All procurements that are not between "\ "today and today+range are skipped for futur computation."), 'po_lead': fields.float('Purchase Lead Time', required=True, help="This is the leads/security time for each purchase order."), diff --git a/addons/mrp/mrp.py b/addons/mrp/mrp.py index 40d204d34eb..eda4f076602 100644 --- a/addons/mrp/mrp.py +++ b/addons/mrp/mrp.py @@ -992,15 +992,15 @@ mrp_production_product_line() # class mrp_procurement(osv.osv): """ - Procument Orders / Requisitions + Procument Orders """ _name = "mrp.procurement" _description = "Procurement" _order = 'priority,date_planned' _columns = { - 'name': fields.char('Reason', size=64, required=True, help='Requisition name.'), + 'name': fields.char('Reason', size=64, required=True, help='Procurement name.'), 'origin': fields.char('Source Document', size=64, - help="Reference of the document that created this Requisition.\n" + help="Reference of the document that created this Procurement.\n" "This is automatically completed by Open ERP."), 'priority': fields.selection([('0','Not urgent'),('1','Normal'),('2','Urgent'),('3','Very Urgent')], 'Priority', required=True), 'date_planned': fields.datetime('Scheduled date', required=True), @@ -1056,7 +1056,7 @@ class mrp_procurement(osv.osv): if s['state'] in ['draft','cancel']: unlink_ids.append(s['id']) else: - raise osv.except_osv(_('Invalid action !'), _('Cannot delete Requisition Order(s) which are in %s State!' % s['state'])) + raise osv.except_osv(_('Invalid action !'), _('Cannot delete Procurement Order(s) which are in %s State!' % s['state'])) return osv.osv.unlink(self, cr, uid, unlink_ids, context=context) def onchange_product_id(self, cr, uid, ids, product_id, context={}): @@ -1250,7 +1250,7 @@ class mrp_procurement(osv.osv): move_obj = self.pool.get('stock.move') for procurement in self.browse(cr, uid, ids): if procurement.product_qty <= 0.00: - raise osv.except_osv(_('Data Insufficient !'), _('Please check the Quantity of Requisition Order(s), it should not be less than 1!')) + raise osv.except_osv(_('Data Insufficient !'), _('Please check the Quantity of Procurement Order(s), it should not be less than 1!')) if procurement.product_id.type in ('product', 'consu'): if not procurement.move_id: source = procurement.location_id.id diff --git a/addons/mrp/mrp_view.xml b/addons/mrp/mrp_view.xml index 77b4d65a4b9..cf3a2ac584d 100644 --- a/addons/mrp/mrp_view.xml +++ b/addons/mrp/mrp_view.xml @@ -441,7 +441,7 @@ - + mrp.production.form @@ -493,7 +493,7 @@