diff --git a/addons/account/test/test_edi_invoice.yml b/addons/account/test/test_edi_invoice.yml index e2c0f21e7da..c36672c4531 100644 --- a/addons/account/test/test_edi_invoice.yml +++ b/addons/account/test/test_edi_invoice.yml @@ -50,72 +50,72 @@ !python {model: account.invoice}: | import time edi_document = { - "__id": "account:b22acf7a-ddcd-11e0-a4db-701a04e25543.random_invoice_763jsms", - "__module": "account", - "__model": "account.invoice", - "__version": [6,1,0], - "internal_number": time.strftime("SAJ/%Y/002"), + "__id": "account:b22acf7a-ddcd-11e0-a4db-701a04e25543.random_invoice_763jsms", + "__module": "account", + "__model": "account.invoice", + "__version": [6,1,0], + "internal_number": time.strftime("SAJ/%Y/002"), "company_address": { "__id": "base:b22acf7a-ddcd-11e0-a4db-701a04e25543.main_address", "__module": "base", - "__model": "res.partner.address", - "city": "Gerompont", - "zip": "1367", - "country_id": ["base:b22acf7a-ddcd-11e0-a4db-701a04e25543.be", "Belgium"], - "phone": "(+32).81.81.37.00", + "__model": "res.partner.address", + "city": "Gerompont", + "zip": "1367", + "country_id": ["base:b22acf7a-ddcd-11e0-a4db-701a04e25543.be", "Belgium"], + "phone": "(+32).81.81.37.00", "street": "Chaussee de Namur 40", "bank_ids": [ ["base:b22acf7a-ddcd-11e0-a4db-701a04e25543.res_partner_bank-ZrTWzesfsdDJzGbp","Sample bank: 123465789-156113"] ], - }, - "company_id": ["account:b22acf7a-ddcd-11e0-a4db-701a04e25543.res_company_test11", "Thomson pvt. ltd."], + }, + "company_id": ["account:b22acf7a-ddcd-11e0-a4db-701a04e25543.res_company_test11", "Thomson pvt. ltd."], "currency": { "__id": "base:b22acf7a-ddcd-11e0-a4db-701a04e25543.EUR", "__module": "base", "__model": "res.currency", "code": "EUR", "symbol": "€", - }, + }, "partner_id": ["account:b22acf7a-ddcd-11e0-a4db-701a04e25543.res_partner_test20", "Junjun wala"], "partner_address": { "__id": "base:5af1272e-dd26-11e0-b65e-701a04e25543.res_partner_address_7wdsjasdjh", "__module": "base", "__model": "res.partner.address", - "phone": "(+32).81.81.37.00", - "street": "Chaussee de Namur 40", - "city": "Gerompont", - "zip": "1367", - "country_id": ["base:5af1272e-dd26-11e0-b65e-701a04e25543.be", "Belgium"], + "phone": "(+32).81.81.37.00", + "street": "Chaussee de Namur 40", + "city": "Gerompont", + "zip": "1367", + "country_id": ["base:5af1272e-dd26-11e0-b65e-701a04e25543.be", "Belgium"], }, - "date_invoice": time.strftime('%Y-%m-%d'), - "name": "sample invoice", + "date_invoice": time.strftime('%Y-%m-%d'), + "name": "sample invoice", "tax_line": [{ - "__id": "account:b22acf7a-ddcd-11e0-a4db-701a04e25543.account_invoice_tax-4g4EutbiEMVl", + "__id": "account:b22acf7a-ddcd-11e0-a4db-701a04e25543.account_invoice_tax-4g4EutbiEMVl", "__module": "account", - "__model": "account.invoice.tax", - "amount": 1000.0, - "manual": True, - "name": "sale tax", - }], - "type": "out_invoice", + "__model": "account.invoice.tax", + "amount": 1000.0, + "manual": True, + "name": "sale tax", + }], + "type": "out_invoice", "invoice_line": [{ "__module": "account", "__model": "account.invoice.line", "__id": "account:b22acf7a-ddcd-11e0-a4db-701a04e25543.account_invoice_line-1RP3so", - "uos_id": ["product:b22acf7a-ddcd-11e0-a4db-701a04e25543.product_uom_unit", "PCE"], - "name": "Basic PC", - "price_unit": 10.0, - "product_id": ["product:b22acf7a-ddcd-11e0-a4db-701a04e25543.product_product_pc1", "[PC1] Basic PC"], + "uos_id": ["product:b22acf7a-ddcd-11e0-a4db-701a04e25543.product_uom_unit", "Unit"], + "name": "Basic PC", + "price_unit": 10.0, + "product_id": ["product:b22acf7a-ddcd-11e0-a4db-701a04e25543.product_product_pc1", "[PC1] Basic PC"], "quantity": 1.0 }, { "__module": "account", "__model": "account.invoice.line", "__id": "account:b22acf7a-ddcd-11e0-a4db-701a04e25543.account_invoice_line-u2XV5", - "uos_id": ["product:b22acf7a-ddcd-11e0-a4db-701a04e25543.product_uom_unit", "PCE"], - "name": "Medium PC", - "price_unit": 100.0, - "product_id": ["product:b22acf7a-ddcd-11e0-a4db-701a04e25543.product_product_pc3", "[PC3] Medium PC"], + "uos_id": ["product:b22acf7a-ddcd-11e0-a4db-701a04e25543.product_uom_unit", "Unit"], + "name": "Medium PC", + "price_unit": 100.0, + "product_id": ["product:b22acf7a-ddcd-11e0-a4db-701a04e25543.product_product_pc3", "[PC3] Medium PC"], "quantity": 5.0 }] } @@ -137,12 +137,12 @@ assert len(invoice_new.invoice_line) == 2, "invoice lines are not same" for inv_line in invoice_new.invoice_line: if inv_line.name == 'Basic PC': - assert inv_line.uos_id.name == "PCE" , "uom is not same" + assert inv_line.uos_id.name == "Unit" , "uom is not same" assert inv_line.price_unit == 10 , "price unit is not same" assert inv_line.quantity == 1 , "product qty is not same" assert inv_line.price_subtotal == 10, "price sub total is not same" elif inv_line.name == 'Medium PC': - assert inv_line.uos_id.name == "PCE" , "uom is not same" + assert inv_line.uos_id.name == "Unit" , "uom is not same" assert inv_line.price_unit == 100 , "price unit is not same" assert inv_line.quantity == 5 , "product qty is not same" assert inv_line.price_subtotal == 500, "price sub total is not same" diff --git a/addons/hr_recruitment/i18n/mk.po b/addons/hr_recruitment/i18n/mk.po new file mode 100644 index 00000000000..114a284ffac --- /dev/null +++ b/addons/hr_recruitment/i18n/mk.po @@ -0,0 +1,1176 @@ +# Macedonian 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 , 2012. +# +msgid "" +msgstr "" +"Project-Id-Version: openobject-addons\n" +"Report-Msgid-Bugs-To: FULL NAME \n" +"POT-Creation-Date: 2012-02-08 01:37+0100\n" +"PO-Revision-Date: 2012-03-08 10:54+0000\n" +"Last-Translator: FULL NAME \n" +"Language-Team: Macedonian \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-09 04:51+0000\n" +"X-Generator: Launchpad (build 14914)\n" + +#. module: hr_recruitment +#: help:hr.applicant,active:0 +msgid "" +"If the active field is set to false, it will allow you to hide the case " +"without removing it." +msgstr "" + +#. module: hr_recruitment +#: view:hr.recruitment.stage:0 field:hr.recruitment.stage,requirements:0 +msgid "Requirements" +msgstr "Барања" + +#. module: hr_recruitment +#: view:hr.recruitment.source:0 +#: model:ir.actions.act_window,name:hr_recruitment.hr_recruitment_source_action +#: model:ir.ui.menu,name:hr_recruitment.menu_hr_recruitment_source +msgid "Sources of Applicants" +msgstr "" + +#. module: hr_recruitment +#: field:hr.recruitment.report,delay_open:0 +msgid "Avg. Delay to Open" +msgstr "" + +#. module: hr_recruitment +#: field:hr.recruitment.report,nbr:0 +msgid "# of Cases" +msgstr "" + +#. module: hr_recruitment +#: view:hr.applicant:0 +msgid "Group By..." +msgstr "Групирај По..." + +#. module: hr_recruitment +#: field:hr.applicant,user_email:0 +msgid "User Email" +msgstr "Емаил на корисникот" + +#. module: hr_recruitment +#: view:hr.applicant:0 +msgid "Filter and view on next actions and date" +msgstr "" + +#. module: hr_recruitment +#: view:hr.applicant:0 field:hr.applicant,department_id:0 +#: view:hr.recruitment.report:0 field:hr.recruitment.report,department_id:0 +msgid "Department" +msgstr "Одделение" + +#. module: hr_recruitment +#: field:hr.applicant,date_action:0 +msgid "Next Action Date" +msgstr "Дата на следната активност" + +#. module: hr_recruitment +#: field:hr.applicant,salary_expected_extra:0 +msgid "Expected Salary Extra" +msgstr "Очекувана екстра плата" + +#. module: hr_recruitment +#: view:hr.recruitment.report:0 +msgid "Jobs" +msgstr "Работни Места" + +#. module: hr_recruitment +#: view:hr.applicant:0 +msgid "Pending Jobs" +msgstr "Во очекување на работни места" + +#. module: hr_recruitment +#: field:hr.applicant,company_id:0 view:hr.recruitment.report:0 +#: field:hr.recruitment.report,company_id:0 +msgid "Company" +msgstr "Компанија" + +#. module: hr_recruitment +#: view:hired.employee:0 +msgid "No" +msgstr "Не" + +#. module: hr_recruitment +#: code:addons/hr_recruitment/hr_recruitment.py:436 +#, python-format +msgid "You must define Applied Job for this applicant." +msgstr "" + +#. module: hr_recruitment +#: view:hr.applicant:0 +msgid "Job" +msgstr "Работно Место" + +#. module: hr_recruitment +#: field:hr.recruitment.partner.create,close:0 +msgid "Close job request" +msgstr "" + +#. module: hr_recruitment +#: field:hr.applicant,day_open:0 +msgid "Days to Open" +msgstr "" + +#. module: hr_recruitment +#: field:hr.recruitment.job2phonecall,note:0 +msgid "Goals" +msgstr "Цели" + +#. module: hr_recruitment +#: field:hr.recruitment.report,partner_address_id:0 +msgid "Partner Contact Name" +msgstr "Контакт име на партнер" + +#. module: hr_recruitment +#: view:hr.applicant:0 view:hr.recruitment.partner.create:0 +#: model:ir.actions.act_window,name:hr_recruitment.action_hr_recruitment_partner_create +msgid "Create Partner" +msgstr "Креирај партнер" + +#. module: hr_recruitment +#: view:hr.recruitment.report:0 field:hr.recruitment.report,day:0 +msgid "Day" +msgstr "Ден" + +#. module: hr_recruitment +#: field:hr.applicant,reference:0 +msgid "Refered By" +msgstr "" + +#. module: hr_recruitment +#: view:hr.applicant:0 +msgid "Contract Data" +msgstr "Дата на договорот" + +#. module: hr_recruitment +#: view:hr.applicant:0 +msgid "Add Internal Note" +msgstr "" + +#. module: hr_recruitment +#: view:hr.applicant:0 +msgid "Refuse" +msgstr "Одбиј" + +#. module: hr_recruitment +#: model:hr.recruitment.degree,name:hr_recruitment.degree_licenced +msgid "Master Degree" +msgstr "МАгистратура" + +#. module: hr_recruitment +#: field:hr.applicant,partner_mobile:0 +msgid "Mobile" +msgstr "Мобилен" + +#. module: hr_recruitment +#: view:hr.applicant:0 +msgid "Notes" +msgstr "Забелешки" + +#. module: hr_recruitment +#: field:hr.applicant,message_ids:0 +msgid "Messages" +msgstr "Пораки" + +#. module: hr_recruitment +#: view:hr.applicant:0 +msgid "Next Actions" +msgstr "Следна активност" + +#. module: hr_recruitment +#: field:hr.applicant,salary_expected:0 view:hr.recruitment.report:0 +msgid "Expected Salary" +msgstr "Очекувана плата" + +#. module: hr_recruitment +#: field:hr.applicant,job_id:0 field:hr.recruitment.report,job_id:0 +msgid "Applied Job" +msgstr "" + +#. module: hr_recruitment +#: model:hr.recruitment.degree,name:hr_recruitment.degree_graduate +msgid "Graduate" +msgstr "" + +#. module: hr_recruitment +#: field:hr.applicant,color:0 +msgid "Color Index" +msgstr "Индекс на бои" + +#. module: hr_recruitment +#: view:board.board:0 view:hr.applicant:0 +#: model:ir.actions.act_window,name:hr_recruitment.action_applicants_status +msgid "Applicants Status" +msgstr "Статус на апликантот" + +#. module: hr_recruitment +#: view:hr.recruitment.report:0 +msgid "My Recruitment" +msgstr "Мое вработување" + +#. module: hr_recruitment +#: field:hr.job,survey_id:0 +msgid "Interview Form" +msgstr "Формулар за интервју" + +#. module: hr_recruitment +#: help:hr.job,survey_id:0 +msgid "" +"Choose an interview form for this job position and you will be able to " +"print/answer this interview from all applicants who apply for this job" +msgstr "" +"Избери формулар за интервју за оваа работна позиција и ќе може да го " +"испринтате/одговорите овој формулар за од страна на сите кои аплицирале за " +"ова работно место" + +#. module: hr_recruitment +#: model:ir.ui.menu,name:hr_recruitment.menu_hr_recruitment_recruitment +msgid "Recruitment" +msgstr "Вработување" + +#. module: hr_recruitment +#: code:addons/hr_recruitment/hr_recruitment.py:436 +#, python-format +msgid "Warning!" +msgstr "Предупредување!" + +#. module: hr_recruitment +#: field:hr.recruitment.report,salary_prop:0 +msgid "Salary Proposed" +msgstr "Предложена плата" + +#. module: hr_recruitment +#: view:hr.applicant:0 +msgid "Change Color" +msgstr "Промени боја" + +#. module: hr_recruitment +#: view:hr.recruitment.report:0 +msgid "Avg Proposed Salary" +msgstr "Просечна предложена плата" + +#. module: hr_recruitment +#: view:hr.applicant:0 field:hr.recruitment.report,available:0 +msgid "Availability" +msgstr "Достапност" + +#. module: hr_recruitment +#: help:hr.recruitment.stage,department_id:0 +msgid "" +"Stages of the recruitment process may be different per department. If this " +"stage is common to all departments, keep tempy this field." +msgstr "" +"Етапите од процесот на вработување може да се разликуваат по одделение. " +"Доколу оваа етапа е заедничка за сите одделенија," + +#. module: hr_recruitment +#: view:hr.applicant:0 +msgid "Previous" +msgstr "" + +#. module: hr_recruitment +#: model:ir.model,name:hr_recruitment.model_hr_recruitment_source +msgid "Source of Applicants" +msgstr "" + +#. module: hr_recruitment +#: code:addons/hr_recruitment/wizard/hr_recruitment_phonecall.py:115 +#, python-format +msgid "Phone Call" +msgstr "Телефонски повик" + +#. module: hr_recruitment +#: view:hr.recruitment.partner.create:0 +msgid "Convert To Partner" +msgstr "" + +#. module: hr_recruitment +#: model:ir.model,name:hr_recruitment.model_hr_recruitment_report +msgid "Recruitments Statistics" +msgstr "" + +#. module: hr_recruitment +#: code:addons/hr_recruitment/hr_recruitment.py:476 +#, python-format +msgid "Changed Stage to: %s" +msgstr "" + +#. module: hr_recruitment +#: view:hr.applicant:0 +msgid "Hire" +msgstr "" + +#. module: hr_recruitment +#: view:hr.recruitment.report:0 +msgid "Hired employees" +msgstr "" + +#. module: hr_recruitment +#: view:hr.applicant:0 +msgid "Next" +msgstr "" + +#. module: hr_recruitment +#: model:ir.model,name:hr_recruitment.model_hr_job +msgid "Job Description" +msgstr "" + +#. module: hr_recruitment +#: view:hr.applicant:0 field:hr.applicant,source_id:0 +msgid "Source" +msgstr "" + +#. module: hr_recruitment +#: view:hr.applicant:0 +msgid "Send New Email" +msgstr "испрати нов емаил" + +#. module: hr_recruitment +#: code:addons/hr_recruitment/wizard/hr_recruitment_create_partner_job.py:39 +#, python-format +msgid "A partner is already defined on this job request." +msgstr "" + +#. module: hr_recruitment +#: view:hr.applicant:0 selection:hr.applicant,state:0 +#: view:hr.recruitment.report:0 selection:hr.recruitment.report,state:0 +msgid "New" +msgstr "Нов" + +#. module: hr_recruitment +#: field:hr.applicant,email_from:0 +msgid "Email" +msgstr "Е-пошта" + +#. module: hr_recruitment +#: field:hr.applicant,availability:0 +msgid "Availability (Days)" +msgstr "" + +#. module: hr_recruitment +#: view:hr.recruitment.report:0 +msgid "Available" +msgstr "Достапно" + +#. module: hr_recruitment +#: field:hr.applicant,title_action:0 +msgid "Next Action" +msgstr "следна активност" + +#. module: hr_recruitment +#: selection:hr.applicant,priority:0 +#: selection:hr.recruitment.report,priority:0 +msgid "Good" +msgstr "Добро" + +#. module: hr_recruitment +#: code:addons/hr_recruitment/wizard/hr_recruitment_create_partner_job.py:38 +#: code:addons/hr_recruitment/wizard/hr_recruitment_create_partner_job.py:57 +#, python-format +msgid "Error !" +msgstr "грешка!" + +#. module: hr_recruitment +#: model:ir.actions.act_window,help:hr_recruitment.hr_job_stage_act +msgid "" +"Define here your stages of the recruitment process, for example: " +"qualification call, first interview, second interview, refused, hired." +msgstr "" +"дефинирај ги етапите на процесот на вработување, на пример: повик за " +"квалификација, прво интервју, второ интервју, одбиен, вработен." + +#. module: hr_recruitment +#: view:hr.applicant:0 field:hr.applicant,create_date:0 +#: view:hr.recruitment.report:0 +msgid "Creation Date" +msgstr "Датум на креирање" + +#. module: hr_recruitment +#: model:ir.actions.act_window,name:hr_recruitment.action_hr_recruitment_hired_employee +#: model:ir.model,name:hr_recruitment.model_hired_employee +msgid "Create Employee" +msgstr "" + +#. module: hr_recruitment +#: field:hr.recruitment.job2phonecall,deadline:0 +msgid "Planned Date" +msgstr "планирана дата" + +#. module: hr_recruitment +#: view:hr.applicant:0 field:hr.applicant,priority:0 +#: field:hr.recruitment.report,priority:0 +msgid "Appreciation" +msgstr "" + +#. module: hr_recruitment +#: model:hr.recruitment.stage,name:hr_recruitment.stage_job1 +msgid "Initial Qualification" +msgstr "основна квалификација" + +#. module: hr_recruitment +#: view:hr.applicant:0 +msgid "Print Interview" +msgstr "испринтај интервју" + +#. module: hr_recruitment +#: view:hr.applicant:0 field:hr.applicant,stage_id:0 +#: view:hr.recruitment.report:0 field:hr.recruitment.report,stage_id:0 +#: view:hr.recruitment.stage:0 +msgid "Stage" +msgstr "Етапа" + +#. module: hr_recruitment +#: view:hr.applicant:0 selection:hr.applicant,state:0 +#: view:hr.recruitment.report:0 selection:hr.recruitment.report,state:0 +msgid "Pending" +msgstr "Чекам" + +#. module: hr_recruitment +#: model:ir.actions.act_window,name:hr_recruitment.hr_job_stage_act +msgid "Recruitment / Applicants Stages" +msgstr "" + +#. module: hr_recruitment +#: model:hr.recruitment.degree,name:hr_recruitment.degree_bac5 +msgid "Doctoral Degree" +msgstr "докторска дисертациај" + +#. module: hr_recruitment +#: selection:hr.recruitment.report,month:0 +msgid "July" +msgstr "Јули" + +#. module: hr_recruitment +#: view:hr.applicant:0 +msgid "Subject" +msgstr "Наслов" + +#. module: hr_recruitment +#: field:hr.applicant,email_cc:0 +msgid "Watchers Emails" +msgstr "" + +#. module: hr_recruitment +#: view:hr.applicant:0 +#: model:ir.actions.act_window,name:hr_recruitment.crm_case_categ0_act_job +#: model:ir.ui.menu,name:hr_recruitment.menu_crm_case_categ0_act_job +msgid "Applicants" +msgstr "апликанти" + +#. module: hr_recruitment +#: view:hr.applicant:0 +msgid "History Information" +msgstr "историски информации" + +#. module: hr_recruitment +#: view:hr.applicant:0 +msgid "Dates" +msgstr "Датуми" + +#. module: hr_recruitment +#: model:ir.actions.act_window,help:hr_recruitment.hr_recruitment_stage_act +msgid "" +" Check if the following stages are matching your recruitment process. Don't " +"forget to specify the department if your recruitment process is different " +"according to the job position." +msgstr "" +" Проверете дали следниве етапи се совпаѓаат со процесот на вработување. Не " +"заборавајте да го назначите одделението доколку процесот на вработување " +"варира во зависност од работната позиција." + +#. module: hr_recruitment +#: view:hr.recruitment.report:0 +msgid " Month-1 " +msgstr " Месец - 1 " + +#. module: hr_recruitment +#: field:hr.recruitment.report,salary_exp:0 +msgid "Salary Expected" +msgstr "очекувана плата" + +#. module: hr_recruitment +#: model:ir.model,name:hr_recruitment.model_hr_applicant +msgid "Applicant" +msgstr "Кандидат" + +#. module: hr_recruitment +#: help:hr.recruitment.stage,sequence:0 +msgid "Gives the sequence order when displaying a list of stages." +msgstr "" + +#. module: hr_recruitment +#: view:hr.applicant:0 +msgid "Contact" +msgstr "Контакт" + +#. module: hr_recruitment +#: help:hr.applicant,salary_expected_extra:0 +msgid "Salary Expected by Applicant, extra advantages" +msgstr "очекувана плата по кандидат, екстра предности" + +#. module: hr_recruitment +#: view:hr.applicant:0 +msgid "Qualification" +msgstr "квалификација" + +#. module: hr_recruitment +#: field:hr.applicant,partner_id:0 view:hr.recruitment.report:0 +#: field:hr.recruitment.report,partner_id:0 +msgid "Partner" +msgstr "партнер" + +#. module: hr_recruitment +#: selection:hr.recruitment.report,month:0 +msgid "March" +msgstr "Март" + +#. module: hr_recruitment +#: model:ir.model,name:hr_recruitment.model_hr_recruitment_stage +msgid "Stage of Recruitment" +msgstr "Етапа на вработување" + +#. module: hr_recruitment +#: view:hr.recruitment.stage:0 +#: model:ir.actions.act_window,name:hr_recruitment.hr_recruitment_stage_act +#: model:ir.ui.menu,name:hr_recruitment.menu_hr_recruitment_stage +msgid "Stages" +msgstr "Етапи" + +#. module: hr_recruitment +#: view:hr.recruitment.report:0 +msgid "Draft recruitment" +msgstr "Предлог за враборување" + +#. module: hr_recruitment +#: view:hr.applicant:0 +msgid "Delete" +msgstr "Бриши" + +#. module: hr_recruitment +#: view:hr.recruitment.report:0 +msgid "In progress" +msgstr "Во тек" + +#. module: hr_recruitment +#: model:ir.actions.act_window,name:hr_recruitment.hr_recruitment_stage_form_installer +msgid "Review Recruitment Stages" +msgstr "Прегледај ги етапите за вработување" + +#. module: hr_recruitment +#: view:hr.applicant:0 +msgid "Jobs - Recruitment Form" +msgstr "Работни места - формулар за вработување" + +#. module: hr_recruitment +#: field:hr.applicant,probability:0 +msgid "Probability" +msgstr "Веројатност" + +#. module: hr_recruitment +#: selection:hr.recruitment.report,month:0 +msgid "September" +msgstr "Септември" + +#. module: hr_recruitment +#: selection:hr.recruitment.report,month:0 +msgid "December" +msgstr "Декември" + +#. module: hr_recruitment +#: view:hr.recruitment.report:0 +msgid "Recruitment performed in current year" +msgstr "Вработување направено во тековната година" + +#. module: hr_recruitment +#: view:hr.recruitment.report:0 +msgid "Recruitment during last month" +msgstr "Вработување во текот на минатиот месец" + +#. module: hr_recruitment +#: view:hr.recruitment.report:0 field:hr.recruitment.report,month:0 +msgid "Month" +msgstr "Месец" + +#. module: hr_recruitment +#: view:hr.applicant:0 +msgid "Unassigned Recruitments" +msgstr "" + +#. module: hr_recruitment +#: view:hr.applicant:0 +msgid "Job Info" +msgstr "Информации за работни места" + +#. module: hr_recruitment +#: model:hr.recruitment.stage,name:hr_recruitment.stage_job2 +msgid "First Interview" +msgstr "Прво интервју" + +#. module: hr_recruitment +#: field:hr.applicant,write_date:0 +msgid "Update Date" +msgstr "Датум на ажурирање" + +#. module: hr_recruitment +#: view:hired.employee:0 +msgid "Yes" +msgstr "Да" + +#. module: hr_recruitment +#: field:hr.applicant,salary_proposed:0 view:hr.recruitment.report:0 +msgid "Proposed Salary" +msgstr "Предложена плата" + +#. module: hr_recruitment +#: view:hr.applicant:0 +msgid "Schedule Meeting" +msgstr "Распоред на состаноци" + +#. module: hr_recruitment +#: view:hr.applicant:0 +msgid "Search Jobs" +msgstr "барај работни места" + +#. module: hr_recruitment +#: field:hr.recruitment.job2phonecall,category_id:0 +msgid "Category" +msgstr "Категорија" + +#. module: hr_recruitment +#: field:hr.applicant,partner_name:0 +msgid "Applicant's Name" +msgstr "Име на апликантот" + +#. module: hr_recruitment +#: selection:hr.applicant,priority:0 +#: selection:hr.recruitment.report,priority:0 +msgid "Very Good" +msgstr "Многу добро" + +#. module: hr_recruitment +#: view:hr.recruitment.report:0 +msgid "# Cases" +msgstr "Случаи" + +#. module: hr_recruitment +#: field:hr.applicant,date_open:0 +msgid "Opened" +msgstr "Отворено" + +#. module: hr_recruitment +#: view:hr.recruitment.report:0 +msgid "Group By ..." +msgstr "Групирај по..." + +#. module: hr_recruitment +#: view:hr.applicant:0 selection:hr.applicant,state:0 +msgid "In Progress" +msgstr "Во тек" + +#. module: hr_recruitment +#: view:hr.applicant:0 +msgid "Reset to New" +msgstr "" + +#. module: hr_recruitment +#: help:hr.applicant,salary_expected:0 +msgid "Salary Expected by Applicant" +msgstr "Очекувана плата по апликант" + +#. module: hr_recruitment +#: view:hr.applicant:0 +msgid "All Initial Jobs" +msgstr "Сите почетни работни места" + +#. module: hr_recruitment +#: help:hr.applicant,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: hr_recruitment +#: model:ir.ui.menu,name:hr_recruitment.menu_hr_recruitment_degree +msgid "Degrees" +msgstr "Степени" + +#. module: hr_recruitment +#: field:hr.applicant,date_closed:0 field:hr.recruitment.report,date_closed:0 +msgid "Closed" +msgstr "Затворено" + +#. module: hr_recruitment +#: view:hr.recruitment.stage:0 +msgid "Stage Definition" +msgstr "Дефинирање на етапа" + +#. module: hr_recruitment +#: view:hr.applicant:0 +msgid "Answer" +msgstr "Одговор" + +#. module: hr_recruitment +#: field:hr.recruitment.report,delay_close:0 +msgid "Avg. Delay to Close" +msgstr "" + +#. module: hr_recruitment +#: help:hr.applicant,salary_proposed:0 +msgid "Salary Proposed by the Organisation" +msgstr "Предложена плата од старна на организацијата" + +#. module: hr_recruitment +#: view:hr.applicant:0 +msgid "Meeting" +msgstr "Состанок" + +#. module: hr_recruitment +#: code:addons/hr_recruitment/hr_recruitment.py:347 +#, python-format +msgid "No Subject" +msgstr "Нема наслов" + +#. module: hr_recruitment +#: view:hr.applicant:0 +msgid "Status" +msgstr "Статус" + +#. module: hr_recruitment +#: view:hr.applicant:0 +msgid "Communication & History" +msgstr "Комуникација и историја" + +#. module: hr_recruitment +#: selection:hr.recruitment.report,month:0 +msgid "August" +msgstr "Август" + +#. module: hr_recruitment +#: view:hr.applicant:0 field:hr.applicant,type_id:0 +#: view:hr.recruitment.degree:0 view:hr.recruitment.report:0 +#: field:hr.recruitment.report,type_id:0 +#: model:ir.actions.act_window,name:hr_recruitment.hr_recruitment_degree_action +msgid "Degree" +msgstr "Диплома" + +#. module: hr_recruitment +#: field:hr.applicant,partner_phone:0 +msgid "Phone" +msgstr "Телефон" + +#. module: hr_recruitment +#: view:hr.applicant:0 +msgid "Global CC" +msgstr "" + +#. module: hr_recruitment +#: selection:hr.recruitment.report,month:0 +msgid "June" +msgstr "Јуни" + +#. module: hr_recruitment +#: field:hr.applicant,day_close:0 +msgid "Days to Close" +msgstr "Денови до затварање" + +#. module: hr_recruitment +#: field:hr.recruitment.report,user_id:0 +msgid "User" +msgstr "Корисник" + +#. module: hr_recruitment +#: selection:hr.applicant,priority:0 +#: selection:hr.recruitment.report,priority:0 +msgid "Excellent" +msgstr "Одлично" + +#. module: hr_recruitment +#: field:hr.applicant,active:0 +msgid "Active" +msgstr "Активен" + +#. module: hr_recruitment +#: selection:hr.recruitment.report,month:0 +msgid "November" +msgstr "Ноември" + +#. module: hr_recruitment +#: view:hr.recruitment.report:0 +msgid "Extended Filters..." +msgstr "Напредно пребарување" + +#. module: hr_recruitment +#: field:hr.applicant,response:0 +msgid "Response" +msgstr "Одговор" + +#. module: hr_recruitment +#: field:hr.recruitment.stage,department_id:0 +msgid "Specific to a Department" +msgstr "Специфично за одделението" + +#. module: hr_recruitment +#: field:hr.recruitment.report,salary_prop_avg:0 +msgid "Avg Salary Proposed" +msgstr "Просечна предложена плата" + +#. module: hr_recruitment +#: view:hr.recruitment.job2phonecall:0 +#: model:ir.actions.act_window,name:hr_recruitment.action_hr_recruitment_phonecall +#: model:ir.model,name:hr_recruitment.model_hr_recruitment_job2phonecall +msgid "Schedule Phone Call" +msgstr "Распоред на телефонски повици" + +#. module: hr_recruitment +#: field:hr.applicant,salary_proposed_extra:0 +msgid "Proposed Salary Extra" +msgstr "Предложена екстра плата" + +#. module: hr_recruitment +#: selection:hr.recruitment.report,month:0 +msgid "January" +msgstr "Јануари" + +#. module: hr_recruitment +#: help:hr.applicant,email_from:0 +msgid "These people will receive email." +msgstr "Овие луѓе ќе добијат емаил" + +#. module: hr_recruitment +#: selection:hr.applicant,priority:0 +#: selection:hr.recruitment.report,priority:0 +msgid "Not Good" +msgstr "Не е добро" + +#. module: hr_recruitment +#: field:hr.applicant,date:0 field:hr.recruitment.report,date:0 +msgid "Date" +msgstr "Дата" + +#. module: hr_recruitment +#: view:hr.recruitment.job2phonecall:0 +msgid "Phone Call Description" +msgstr "" + +#. module: hr_recruitment +#: view:hr.recruitment.partner.create:0 +msgid "Are you sure you want to create a partner based on this job request ?" +msgstr "" +"Дали сте сигурни дека сакате да креирате партнер врз основа на барањата на " +"оваа работно место" + +#. module: hr_recruitment +#: view:hired.employee:0 +msgid "Would you like to create an employee ?" +msgstr "Дали сакате да креирате вработен" + +#. module: hr_recruitment +#: model:ir.actions.act_window,help:hr_recruitment.crm_case_categ0_act_job +msgid "" +"From this menu you can track applicants in the recruitment process and " +"manage all operations: meetings, interviews, phone calls, etc. If you setup " +"the email gateway, applicants and their attached CV are created " +"automatically when an email is sent to jobs@yourcompany.com. If you install " +"the document management modules, all documents (CV and motivation letters) " +"are indexed automatically, so that you can easily search through their " +"content." +msgstr "" +"Од оваа мени можете да ги следите апикантите во процесот на вработување и да " +"ги менаџирате сите операции: состаноци, интервјуа, телефонски разговори и " +"др. Доклоку подесите емаил портал, апликантите и нивните прикачени CV се " +"креираат автоматски кога се испрака емаил на jobs@yourcompany.com. Доклоку " +"инсталирете модули за менаџирање на документи, сите документи (CV и " +"мотивациони писма) автоматски ќе бидат означени, така што ќе можете лесно да " +"пребарувате по нивната содржина." + +#. module: hr_recruitment +#: view:hr.applicant:0 +msgid "History" +msgstr "Историја" + +#. module: hr_recruitment +#: view:hr.recruitment.report:0 +msgid "Recruitment performed in current month" +msgstr "Вработување направоено во тековниот месец." + +#. module: hr_recruitment +#: model:ir.actions.act_window,help:hr_recruitment.hr_recruitment_stage_form_installer +msgid "" +"Check if the following stages are matching your recruitment process. Don't " +"forget to specify the department if your recruitment process is different " +"according to the job position." +msgstr "" +"Проверете дали следниве етапи се совпаѓаат со процесот на вработување. Не " +"заборавајте да го назначите одделението доколку процесот на вработување " +"варира во однос на работната позиција." + +#. module: hr_recruitment +#: field:hr.applicant,partner_address_id:0 +msgid "Partner Contact" +msgstr "Контакт партнер" + +#. module: hr_recruitment +#: model:hr.recruitment.stage,name:hr_recruitment.stage_job4 +msgid "Contract Proposed" +msgstr "Предложен договор" + +#. module: hr_recruitment +#: view:hr.applicant:0 field:hr.applicant,state:0 view:hr.recruitment.report:0 +#: field:hr.recruitment.report,state:0 +msgid "State" +msgstr "Земја" + +#. module: hr_recruitment +#: model:hr.recruitment.source,name:hr_recruitment.source_website_company +msgid "Company Website" +msgstr "Веб страна на компанијата" + +#. module: hr_recruitment +#: sql_constraint:hr.recruitment.degree:0 +msgid "The name of the Degree of Recruitment must be unique!" +msgstr "" + +#. module: hr_recruitment +#: view:hr.recruitment.report:0 field:hr.recruitment.report,year:0 +msgid "Year" +msgstr "Година" + +#. module: hr_recruitment +#: view:hired.employee:0 view:hr.recruitment.job2phonecall:0 +#: view:hr.recruitment.partner.create:0 +msgid "Cancel" +msgstr "Откажи" + +#. module: hr_recruitment +#: model:ir.actions.act_window,name:hr_recruitment.hr_job_categ_action +msgid "Applicant Categories" +msgstr "" + +#. module: hr_recruitment +#: selection:hr.recruitment.report,state:0 +msgid "Open" +msgstr "" + +#. module: hr_recruitment +#: code:addons/hr_recruitment/wizard/hr_recruitment_create_partner_job.py:57 +#, python-format +msgid "A partner is already existing with the same name." +msgstr "" + +#. module: hr_recruitment +#: view:hr.applicant:0 +msgid "Subject / Applicant" +msgstr "" + +#. module: hr_recruitment +#: help:hr.recruitment.degree,sequence:0 +msgid "Gives the sequence order when displaying a list of degrees." +msgstr "" + +#. module: hr_recruitment +#: view:hr.applicant:0 field:hr.applicant,user_id:0 +#: view:hr.recruitment.report:0 +msgid "Responsible" +msgstr "" + +#. module: hr_recruitment +#: view:hr.recruitment.report:0 +#: model:ir.actions.act_window,name:hr_recruitment.action_hr_recruitment_report_all +#: model:ir.ui.menu,name:hr_recruitment.menu_hr_recruitment_report_all +msgid "Recruitment Analysis" +msgstr "" + +#. module: hr_recruitment +#: view:hired.employee:0 +msgid "Create New Employee" +msgstr "" + +#. module: hr_recruitment +#: model:hr.recruitment.source,name:hr_recruitment.source_linkedin +msgid "LinkedIn" +msgstr "" + +#. module: hr_recruitment +#: selection:hr.recruitment.report,month:0 +msgid "October" +msgstr "" + +#. module: hr_recruitment +#: view:hr.applicant:0 +msgid "Cases By Stage and Estimates" +msgstr "" + +#. module: hr_recruitment +#: view:hr.applicant:0 +msgid "Reply" +msgstr "" + +#. module: hr_recruitment +#: view:hr.applicant:0 +msgid "Interview" +msgstr "" + +#. module: hr_recruitment +#: field:hr.recruitment.source,name:0 +msgid "Source Name" +msgstr "" + +#. module: hr_recruitment +#: field:hr.applicant,description:0 +msgid "Description" +msgstr "" + +#. module: hr_recruitment +#: selection:hr.recruitment.report,month:0 +msgid "May" +msgstr "" + +#. module: hr_recruitment +#: model:hr.recruitment.stage,name:hr_recruitment.stage_job5 +msgid "Contract Signed" +msgstr "" + +#. module: hr_recruitment +#: model:hr.recruitment.source,name:hr_recruitment.source_word +msgid "Word of Mouth" +msgstr "" + +#. module: hr_recruitment +#: selection:hr.applicant,state:0 selection:hr.recruitment.report,state:0 +#: model:hr.recruitment.stage,name:hr_recruitment.stage_job6 +msgid "Refused" +msgstr "" + +#. module: hr_recruitment +#: code:addons/hr_recruitment/hr_recruitment.py:414 +#, python-format +msgid "Applicant '%s' is being hired." +msgstr "" + +#. module: hr_recruitment +#: selection:hr.applicant,state:0 view:hr.recruitment.report:0 +#: selection:hr.recruitment.report,state:0 +msgid "Hired" +msgstr "" + +#. module: hr_recruitment +#: selection:hr.applicant,priority:0 +#: selection:hr.recruitment.report,priority:0 +msgid "On Average" +msgstr "" + +#. module: hr_recruitment +#: model:ir.model,name:hr_recruitment.model_hr_recruitment_degree +msgid "Degree of Recruitment" +msgstr "" + +#. module: hr_recruitment +#: view:hr.applicant:0 +msgid "Open Jobs" +msgstr "" + +#. module: hr_recruitment +#: selection:hr.recruitment.report,month:0 +msgid "February" +msgstr "" + +#. module: hr_recruitment +#: field:hr.applicant,name:0 field:hr.recruitment.degree,name:0 +#: field:hr.recruitment.stage,name:0 +msgid "Name" +msgstr "" + +#. module: hr_recruitment +#: view:hr.applicant:0 +msgid "Edit" +msgstr "" + +#. module: hr_recruitment +#: model:hr.recruitment.stage,name:hr_recruitment.stage_job3 +msgid "Second Interview" +msgstr "" + +#. module: hr_recruitment +#: model:ir.model,name:hr_recruitment.model_hr_recruitment_partner_create +msgid "Create Partner from job application" +msgstr "" + +#. module: hr_recruitment +#: selection:hr.recruitment.report,month:0 +msgid "April" +msgstr "" + +#. module: hr_recruitment +#: view:hr.recruitment.report:0 +msgid "Pending recruitment" +msgstr "" + +#. module: hr_recruitment +#: model:hr.recruitment.source,name:hr_recruitment.source_monster +msgid "Monster" +msgstr "" + +#. module: hr_recruitment +#: model:ir.ui.menu,name:hr_recruitment.menu_hr_job +msgid "Job Positions" +msgstr "" + +#. module: hr_recruitment +#: view:hr.recruitment.report:0 +msgid "In progress recruitment" +msgstr "" + +#. module: hr_recruitment +#: sql_constraint:hr.job:0 +msgid "The name of the job position must be unique per company!" +msgstr "" + +#. module: hr_recruitment +#: field:hr.recruitment.degree,sequence:0 +#: field:hr.recruitment.stage,sequence:0 +msgid "Sequence" +msgstr "" + +#. module: hr_recruitment +#: model:hr.recruitment.degree,name:hr_recruitment.degree_bachelor +msgid "Bachelor Degree" +msgstr "" + +#. module: hr_recruitment +#: field:hr.recruitment.job2phonecall,user_id:0 +msgid "Assign To" +msgstr "" + +#. module: hr_recruitment +#: code:addons/hr_recruitment/hr_recruitment.py:407 +#, python-format +msgid "The job request '%s' has been set 'in progress'." +msgstr "" + +#. module: hr_recruitment +#: help:hr.applicant,salary_proposed_extra:0 +msgid "Salary Proposed by the Organisation, extra advantages" +msgstr "" + +#. module: hr_recruitment +#: help:hr.recruitment.report,delay_close:0 +#: help:hr.recruitment.report,delay_open:0 +msgid "Number of Days to close the project issue" +msgstr "" + +#. module: hr_recruitment +#: field:hr.applicant,survey:0 +msgid "Survey" +msgstr "" diff --git a/addons/mrp/test/order_demo.yml b/addons/mrp/test/order_demo.yml index 9c7b8720904..72a18572a73 100644 --- a/addons/mrp/test/order_demo.yml +++ b/addons/mrp/test/order_demo.yml @@ -10,7 +10,7 @@ !record {model: mrp.bom, id: mrp_bom_rearpanelarm1}: routing_id: mrp.mrp_routing_0 - - I create Production Order of Shelf 100cm to produce 5.0 Dozen PCE. + I create Production Order of Shelf 100cm to produce 5.0 Dozen Unit. - !record {model: mrp.production, id: mrp_production_shelf100cm}: location_src_id: stock.stock_location_stock diff --git a/addons/mrp/test/order_process.yml b/addons/mrp/test/order_process.yml index 539b9fe2ca6..496e039d0d4 100644 --- a/addons/mrp/test/order_process.yml +++ b/addons/mrp/test/order_process.yml @@ -17,7 +17,7 @@ woodmm10 = False metalcleats = False for line in order.product_lines: - if line.product_id.id == ref('product.product_product_sidepanel0'): #SIDEPAN 2 PCE + if line.product_id.id == ref('product.product_product_sidepanel0'): #SIDEPAN 2 Unit assert not sidepanel, "Production line is already generated for SIDEPAN." assert line.product_qty == (2.0*factor), "Qty is not correspond." assert line.product_uom.id == ref('product.product_uom_unit'), "UOM is not correspond" @@ -32,7 +32,7 @@ assert line.product_qty == (0.25*factor), "Qty is not correspond." assert line.product_uom.id == ref('product.product_uom_meter'), "UOM is not correspond" woodmm0 = True - elif line.product_id.id == ref('product.product_product_metalcleats0'): #METC000 4*3 PCE + elif line.product_id.id == ref('product.product_product_metalcleats0'): #METC000 4*3 Unit assert not metalcleats, "Production line is already generated for METC000." assert line.product_qty == (4*3*factor), "Qty is not correspond." assert line.product_uom.id == ref('product.product_uom_unit'), "UOM is not correspond" diff --git a/addons/product/product_data.xml b/addons/product/product_data.xml index 0233a5a4788..3e2d114dc74 100644 --- a/addons/product/product_data.xml +++ b/addons/product/product_data.xml @@ -27,7 +27,7 @@ --> - PCE + Unit diff --git a/addons/product/test/product_pricelist.yml b/addons/product/test/product_pricelist.yml index 2dbc4be1120..58003f6a566 100644 --- a/addons/product/test/product_pricelist.yml +++ b/addons/product/test/product_pricelist.yml @@ -21,7 +21,7 @@ assert product.price == product.lst_price, "Sell price is not correspond." - - I check sale price of IT componet if more than 3 PCE. + I check sale price of IT componet if more than 3 Unit. - !python {model: product.product}: | context.update({'quantity':5}) @@ -51,7 +51,7 @@ product = self.browse(cr, uid, ref("product_product_pc2"), context=context) assert product.price == 450, "cost price is not correspond." - - I check cost price of PC2 if more than 3 PCE. + I check cost price of PC2 if more than 3 Unit. - !python {model: product.product}: | context.update({'quantity':3}) diff --git a/addons/purchase/test/process/edi_purchase_order.yml b/addons/purchase/test/process/edi_purchase_order.yml index ff49b41157b..abbc3047d9a 100644 --- a/addons/purchase/test/process/edi_purchase_order.yml +++ b/addons/purchase/test/process/edi_purchase_order.yml @@ -88,7 +88,7 @@ "__import_module": "purchase", "__import_model": "purchase.order.line", "name": "Basic PC", - "product_uom": ["product:724f93ec-ddd0-11e0-88ec-701a04e25543.product_uom_unit", "PCE"], + "product_uom": ["product:724f93ec-ddd0-11e0-88ec-701a04e25543.product_uom_unit", "Unit"], "product_qty": 1.0, "date_planned": "2011-09-30", "sequence": 10, @@ -102,7 +102,7 @@ "__import_module": "purchase", "__import_model": "purchase.order.line", "name": "Medium PC", - "product_uom": ["product:724f93ec-ddd0-11e0-88ec-701a04e25543.product_uom_unit", "PCE"], + "product_uom": ["product:724f93ec-ddd0-11e0-88ec-701a04e25543.product_uom_unit", "Unit"], "product_qty": 10.0, "sequence": 11, "date_planned": "2011-09-15", @@ -125,11 +125,11 @@ assert len(order_new.order_line) == 2, "Purchase order lines number mismatch" for purchase_line in order_new.order_line: if purchase_line.name == 'Basic PC': - assert purchase_line.product_uom.name == "PCE" , "uom is not same" + assert purchase_line.product_uom.name == "Unit" , "uom is not same" assert purchase_line.price_unit == 150 , "unit price is not same, got %s, expected 150"%(purchase_line.price_unit,) assert purchase_line.product_qty == 1 , "product qty is not same" elif purchase_line.name == 'Medium PC': - assert purchase_line.product_uom.name == "PCE" , "uom is not same" + assert purchase_line.product_uom.name == "Unit" , "uom is not same" assert purchase_line.price_unit == 20 , "unit price is not same, got %s, expected 20"%(purchase_line.price_unit,) assert purchase_line.product_qty == 10 , "product qty is not same" else: diff --git a/addons/sale/test/edi_sale_order.yml b/addons/sale/test/edi_sale_order.yml index 9a207d9f44e..c53ff9cfc45 100644 --- a/addons/sale/test/edi_sale_order.yml +++ b/addons/sale/test/edi_sale_order.yml @@ -57,52 +57,52 @@ "__id": "base:5af1272e-dd26-11e0-b65e-701a04e25543.some_address", "__module": "base", "__model": "res.partner.address", - "phone": "(+32).81.81.37.00", - "street": "Chaussee de Namur 40", - "city": "Gerompont", - "zip": "1367", + "phone": "(+32).81.81.37.00", + "street": "Chaussee de Namur 40", + "city": "Gerompont", + "zip": "1367", "country_id": ["base:5af1272e-dd26-11e0-b65e-701a04e25543.be", "Belgium"], "bank_ids": [ ["base:5af1272e-dd26-11e0-b65e-701a04e25543.res_partner_bank-adaWadsadasdDJzGbp","Ladies bank: 032465789-156113"] ], - }, - "partner_id": ["purchase:5af1272e-dd26-11e0-b65e-701a04e25543.res_partner_test20", "jones white"], + }, + "partner_id": ["purchase:5af1272e-dd26-11e0-b65e-701a04e25543.res_partner_test20", "jones white"], "partner_address": { "__id": "base:5af1272e-dd26-11e0-b65e-701a04e25543.res_partner_address_7wdsjasdjh", "__module": "base", "__model": "res.partner.address", - "phone": "(+32).81.81.37.00", - "street": "Chaussee de Namur 40", - "city": "Gerompont", - "zip": "1367", - "country_id": ["base:5af1272e-dd26-11e0-b65e-701a04e25543.be", "Belgium"], + "phone": "(+32).81.81.37.00", + "street": "Chaussee de Namur 40", + "city": "Gerompont", + "zip": "1367", + "country_id": ["base:5af1272e-dd26-11e0-b65e-701a04e25543.be", "Belgium"], }, "order_line": [{ - "__id": "purchase:5af1272e-dd26-11e0-b65e-701a04e25543.purchase_order_line-AlhsVDZGoKvJ", - "__module": "purchase", + "__id": "purchase:5af1272e-dd26-11e0-b65e-701a04e25543.purchase_order_line-AlhsVDZGoKvJ", + "__module": "purchase", "__model": "purchase.order.line", - "__import_module": "sale", - "__import_model": "sale.order.line", - "name": "Basic PC", - "date_planned": "2011-09-30", - "price_unit": 150.0, + "__import_module": "sale", + "__import_model": "sale.order.line", + "name": "Basic PC", + "date_planned": "2011-09-30", + "price_unit": 150.0, "product_id": ["product:5af1272e-dd26-11e0-b65e-701a04e25543.product_product_pc1", "[PC1] Basic PC"], - "product_qty": 1.0, - "product_uom": ["product:5af1272e-dd26-11e0-b65e-701a04e25543.product_uom_unit", "PCE"], + "product_qty": 1.0, + "product_uom": ["product:5af1272e-dd26-11e0-b65e-701a04e25543.product_uom_unit", "Unit"], }, { - "__id": "purchase:5af1272e-dd26-11e0-b65e-701a04e25543.purchase_order_line-Alsads33e", - "__module": "purchase", + "__id": "purchase:5af1272e-dd26-11e0-b65e-701a04e25543.purchase_order_line-Alsads33e", + "__module": "purchase", "__model": "purchase.order.line", - "__import_module": "sale", + "__import_module": "sale", "__import_model": "sale.order.line", - "name": "Medium PC", - "date_planned": "2011-09-15", - "price_unit": 100.0, + "name": "Medium PC", + "date_planned": "2011-09-15", + "price_unit": 100.0, "product_id": ["product:5af1272e-dd26-11e0-b65e-701a04e25543.product_product_pc3", "[PC3] Medium PC"], - "product_qty": 2.0, - "product_uom": ["product:5af1272e-dd26-11e0-b65e-701a04e25543.product_uom_unit", "PCE"], - }], + "product_qty": 2.0, + "product_uom": ["product:5af1272e-dd26-11e0-b65e-701a04e25543.product_uom_unit", "Unit"], + }], } new_sale_order_id = sale_order_pool.edi_import(cr, uid, edi_document, context=context) assert new_sale_order_id, 'Sale order import failed' @@ -120,12 +120,12 @@ for sale_line in order_new.order_line: if sale_line.name == 'Basic PC': assert sale_line.delay == 18 , "incorrect delay: got %s, expected 18"%(sale_line.delay,) - assert sale_line.product_uom.name == "PCE" , "uom is not same" + assert sale_line.product_uom.name == "Unit" , "uom is not same" assert sale_line.price_unit == 150 , "unit price is not same, got %s, expected 150"%(sale_line.price_unit,) assert sale_line.product_uom_qty == 1 , "product qty is not same" elif sale_line.name == 'Medium PC': assert sale_line.delay == 3 , "incorrect delay: got %s, expected 3"%(sale_line.delay,) - assert sale_line.product_uom.name == "PCE" , "uom is not same" + assert sale_line.product_uom.name == "Unit" , "uom is not same" assert sale_line.price_unit == 100 , "unit price is not same, got %s, expected 100"%(sale_line.price_unit,) assert sale_line.product_uom_qty == 2 , "product qty is not same" else: