From 293633a8c78847b9a298257e9f2ba475cbbe9013 Mon Sep 17 00:00:00 2001 From: Ernesto Tejeda Date: Thu, 4 Mar 2021 10:40:57 -0500 Subject: [PATCH] [FIX] rma: Set default source location for RMA created from scratch --- rma/__manifest__.py | 2 +- rma/i18n/es.po | 82 +++++++++++++++++++++++++ rma/i18n/nl.po | 133 ++++++++++++++++++++++++++++++++-------- rma/i18n/pt_BR.po | 82 +++++++++++++++++++++++++ rma/i18n/rma.pot | 82 +++++++++++++++++++++++++ rma/i18n/ro.po | 143 +++++++++++++++++++++++++++++++++++--------- rma/i18n/zh_CN.po | 133 ++++++++++++++++++++++++++++++++-------- rma/models/rma.py | 1 + 8 files changed, 580 insertions(+), 78 deletions(-) diff --git a/rma/__manifest__.py b/rma/__manifest__.py index 9abf748e..bc29c2ec 100644 --- a/rma/__manifest__.py +++ b/rma/__manifest__.py @@ -3,7 +3,7 @@ { "name": "Return Merchandise Authorization Management", "summary": "Return Merchandise Authorization (RMA)", - "version": "13.0.1.0.1", + "version": "13.0.1.1.0", "development_status": "Production/Stable", "category": "RMA", "website": "https://github.com/OCA/rma", diff --git a/rma/i18n/es.po b/rma/i18n/es.po index 1388d618..7385eeb7 100644 --- a/rma/i18n/es.po +++ b/rma/i18n/es.po @@ -154,6 +154,13 @@ msgstr "" "Disponible parcialmente" +#. module: rma +#: model_terms:ir.ui.view,arch_db:rma.res_config_settings_view_form +msgid "" +"" +msgstr "" + #. module: rma #: model_terms:ir.ui.view,arch_db:rma.portal_rma_page msgid "Delivery" @@ -420,6 +427,11 @@ msgstr "Compañías" msgid "Company" msgstr "Compañía" +#. module: rma +#: model:ir.model,name:rma.model_res_config_settings +msgid "Config Settings" +msgstr "" + #. module: rma #: model:ir.ui.menu,name:rma.rma_configuration_menu msgid "Configuration" @@ -569,6 +581,23 @@ msgstr "Correo electrónico" msgid "Email Alias" msgstr "Pseudónimo de correo" +#. module: rma +#: model_terms:ir.ui.view,arch_db:rma.res_config_settings_view_form +msgid "Email Template" +msgstr "" + +#. module: rma +#: model:ir.model.fields,field_description:rma.field_res_company__rma_mail_confirmation_template_id +#: model:ir.model.fields,field_description:rma.field_res_config_settings__rma_mail_confirmation_template_id +msgid "Email Template confirmation for RMA" +msgstr "" + +#. module: rma +#: model:ir.model.fields,help:rma.field_res_company__rma_mail_confirmation_template_id +#: model:ir.model.fields,help:rma.field_res_config_settings__rma_mail_confirmation_template_id +msgid "Email sent to the customer once the RMA is confirmed." +msgstr "" + #. module: rma #: code:addons/rma/wizard/rma_split.py:0 #, python-format @@ -1006,6 +1035,11 @@ msgstr "RMA nº" msgid "RMA Code" msgstr "Código de RMA" +#. module: rma +#: model_terms:ir.ui.view,arch_db:rma.res_config_settings_view_form +msgid "RMA Confirmation Email" +msgstr "" + #. module: rma #: model_terms:ir.ui.view,arch_db:rma.rma_view_search msgid "RMA Date" @@ -1037,6 +1071,16 @@ msgstr "Tipo de operación para recepción de RMA" msgid "RMA Location" msgstr "Ubicación de RMA" +#. module: rma +#: model:mail.message.subtype,name:rma.mt_rma_team_rma_notification +msgid "RMA Notification" +msgstr "" + +#. module: rma +#: model:mail.message.subtype,name:rma.mt_rma_notification +msgid "RMA Notificatoin" +msgstr "" + #. module: rma #: model_terms:ir.ui.view,arch_db:rma.portal_rma_page msgid "RMA Order -" @@ -1083,6 +1127,11 @@ msgstr "Equipo de RMA" msgid "RMA Team the user is member of." msgstr "Equipo de RMA del cual el usuario es miembro." +#. module: rma +#: model:mail.message.subtype,description:rma.mt_rma_notification +msgid "RMA automatic customer notifications" +msgstr "" + #. module: rma #: model:ir.model.fields,field_description:rma.field_res_partner__rma_count #: model:ir.model.fields,field_description:rma.field_res_users__rma_count @@ -1323,6 +1372,17 @@ msgstr "Fecha prevista" msgid "Security Token" msgstr "Token de seguridad" +#. module: rma +#: model:ir.model.fields,field_description:rma.field_res_company__send_rma_confirmation +#: model:ir.model.fields,field_description:rma.field_res_config_settings__send_rma_confirmation +msgid "Send RMA Confirmation" +msgstr "" + +#. module: rma +#: model_terms:ir.ui.view,arch_db:rma.res_config_settings_view_form +msgid "Send automatic RMA info to customer" +msgstr "" + #. module: rma #: model_terms:ir.ui.view,arch_db:rma.rma_view_form msgid "Send by Email" @@ -1365,6 +1425,16 @@ msgstr "Establecer a borrador" msgid "Share" msgstr "Compartir" +#. module: rma +#: model:ir.model.fields,field_description:rma.field_rma__partner_shipping_id +msgid "Shipping Address" +msgstr "" + +#. module: rma +#: model:ir.model.fields,help:rma.field_rma__partner_shipping_id +msgid "Shipping address for current RMA." +msgstr "" + #. module: rma #: model:ir.model.fields,field_description:rma.field_rma__origin msgid "Source Document" @@ -1639,6 +1709,18 @@ msgstr "Mensajes del sitio web" msgid "Website communication history" msgstr "Historial de comunicaciones del sitio web" +#. module: rma +#: model_terms:ir.ui.view,arch_db:rma.res_config_settings_view_form +msgid "When the RMA is confirmed, send an automatic information email." +msgstr "" + +#. module: rma +#: model:ir.model.fields,help:rma.field_res_company__send_rma_confirmation +#: model:ir.model.fields,help:rma.field_res_config_settings__send_rma_confirmation +msgid "" +"When the delivery is confirmed, send a confirmation email to the customer." +msgstr "" + #. module: rma #: code:addons/rma/models/rma.py:0 #, python-format diff --git a/rma/i18n/nl.po b/rma/i18n/nl.po index 9661dceb..2b48dd10 100644 --- a/rma/i18n/nl.po +++ b/rma/i18n/nl.po @@ -46,7 +46,8 @@ msgid "" " (${object.partner_id.parent_id.name})\n" " % endif\n" "

\n" -" Here is the RMA ${object.name} from ${object.company_id.name}.\n" +" Here is the RMA ${object.name} from ${object.company_id." +"name}.\n" "

\n" " Do not hesitate to contact us if you have any question.\n" "

\n" @@ -56,7 +57,9 @@ msgstr "" #. module: rma #: model_terms:ir.ui.view,arch_db:rma.portal_rma_page -msgid "" +msgid "" +"" msgstr "" #. module: rma @@ -76,15 +79,15 @@ msgstr "" #. module: rma #: model_terms:ir.ui.view,arch_db:rma.portal_rma_page msgid "" -"" +"" msgstr "" #. module: rma #: model_terms:ir.ui.view,arch_db:rma.portal_rma_page msgid "" -"" +"" msgstr "" #. module: rma @@ -115,6 +118,13 @@ msgid "" "clock-o\"/> Partially Available
" msgstr "" +#. module: rma +#: model_terms:ir.ui.view,arch_db:rma.res_config_settings_view_form +msgid "" +"" +msgstr "" + #. module: rma #: model_terms:ir.ui.view,arch_db:rma.portal_rma_page msgid "Delivery" @@ -379,6 +389,11 @@ msgstr "" msgid "Company" msgstr "" +#. module: rma +#: model:ir.model,name:rma.model_res_config_settings +msgid "Config Settings" +msgstr "" + #. module: rma #: model:ir.ui.menu,name:rma.rma_configuration_menu msgid "Configuration" @@ -528,6 +543,23 @@ msgstr "" msgid "Email Alias" msgstr "" +#. module: rma +#: model_terms:ir.ui.view,arch_db:rma.res_config_settings_view_form +msgid "Email Template" +msgstr "" + +#. module: rma +#: model:ir.model.fields,field_description:rma.field_res_company__rma_mail_confirmation_template_id +#: model:ir.model.fields,field_description:rma.field_res_config_settings__rma_mail_confirmation_template_id +msgid "Email Template confirmation for RMA" +msgstr "" + +#. module: rma +#: model:ir.model.fields,help:rma.field_res_company__rma_mail_confirmation_template_id +#: model:ir.model.fields,help:rma.field_res_config_settings__rma_mail_confirmation_template_id +msgid "Email sent to the customer once the RMA is confirmed." +msgstr "" + #. module: rma #: code:addons/rma/wizard/rma_split.py:0 #, python-format @@ -574,8 +606,8 @@ msgstr "" #. module: rma #: model:ir.model.fields,help:rma.field_rma_team__alias_parent_thread_id msgid "" -"ID of the parent record holding the alias (example: project holding the task" -" creation alias)" +"ID of the parent record holding the alias (example: project holding the task " +"creation alias)" msgstr "" #. module: rma @@ -723,7 +755,6 @@ msgid "Name" msgstr "" #. module: rma -#: code:addons/rma/models/rma.py:0 code:addons/rma/models/rma.py:0 #: code:addons/rma/models/rma.py:0 #, python-format msgid "New" @@ -842,8 +873,8 @@ msgstr "" #. module: rma #: model:ir.model.fields,help:rma.field_rma_team__alias_parent_model_id msgid "" -"Parent model holding the alias. The model holding the alias reference is not" -" necessarily the model given by alias_model_id (example: project " +"Parent model holding the alias. The model holding the alias reference is not " +"necessarily the model given by alias_model_id (example: project " "(parent_model) and task (model))" msgstr "" @@ -858,7 +889,8 @@ msgid "" "Policy to post a message on the document using the mailgateway.\n" "- everyone: everyone can post\n" "- partners: only authenticated partners\n" -"- followers: only followers of the related document or members of following channels\n" +"- followers: only followers of the related document or members of following " +"channels\n" msgstr "" #. module: rma @@ -948,6 +980,11 @@ msgstr "" msgid "RMA Code" msgstr "" +#. module: rma +#: model_terms:ir.ui.view,arch_db:rma.res_config_settings_view_form +msgid "RMA Confirmation Email" +msgstr "" + #. module: rma #: model_terms:ir.ui.view,arch_db:rma.rma_view_search msgid "RMA Date" @@ -979,6 +1016,16 @@ msgstr "" msgid "RMA Location" msgstr "" +#. module: rma +#: model:mail.message.subtype,name:rma.mt_rma_team_rma_notification +msgid "RMA Notification" +msgstr "" + +#. module: rma +#: model:mail.message.subtype,name:rma.mt_rma_notification +msgid "RMA Notificatoin" +msgstr "" + #. module: rma #: model_terms:ir.ui.view,arch_db:rma.portal_rma_page msgid "RMA Order -" @@ -1025,6 +1072,11 @@ msgstr "" msgid "RMA Team the user is member of." msgstr "" +#. module: rma +#: model:mail.message.subtype,description:rma.mt_rma_notification +msgid "RMA automatic customer notifications" +msgstr "" + #. module: rma #: model:ir.model.fields,field_description:rma.field_res_partner__rma_count #: model:ir.model.fields,field_description:rma.field_res_users__rma_count @@ -1166,9 +1218,9 @@ msgstr "" #: code:addons/rma/models/rma.py:0 #, python-format msgid "" -"Replacement: Move %s (Picking %s) has been created." +"Replacement: Move %s (Picking %s) has been created." msgstr "" #. module: rma @@ -1224,8 +1276,8 @@ msgstr "" #: code:addons/rma/models/rma.py:0 #, python-format msgid "" -"Return: %s has been created." +"Return: %s has been created." msgstr "" #. module: rma @@ -1254,6 +1306,17 @@ msgstr "" msgid "Security Token" msgstr "" +#. module: rma +#: model:ir.model.fields,field_description:rma.field_res_company__send_rma_confirmation +#: model:ir.model.fields,field_description:rma.field_res_config_settings__send_rma_confirmation +msgid "Send RMA Confirmation" +msgstr "" + +#. module: rma +#: model_terms:ir.ui.view,arch_db:rma.res_config_settings_view_form +msgid "Send automatic RMA info to customer" +msgstr "" + #. module: rma #: model_terms:ir.ui.view,arch_db:rma.rma_view_form msgid "Send by Email" @@ -1296,6 +1359,16 @@ msgstr "" msgid "Share" msgstr "" +#. module: rma +#: model:ir.model.fields,field_description:rma.field_rma__partner_shipping_id +msgid "Shipping Address" +msgstr "" + +#. module: rma +#: model:ir.model.fields,help:rma.field_rma__partner_shipping_id +msgid "Shipping address for current RMA." +msgstr "" + #. module: rma #: model:ir.model.fields,field_description:rma.field_rma__origin msgid "Source Document" @@ -1316,8 +1389,8 @@ msgstr "" #: code:addons/rma/models/rma.py:0 #, python-format msgid "" -"Split: %s has been" -" created." +"Split: %s has been " +"created." msgstr "" #. module: rma @@ -1371,9 +1444,9 @@ msgstr "" #. module: rma #: model:ir.model.fields,help:rma.field_rma_team__alias_model_id msgid "" -"The model (Odoo Document Kind) to which this alias corresponds. Any incoming" -" email that does not reply to an existing record will cause the creation of " -"a new record of this model (e.g. a Project Task)" +"The model (Odoo Document Kind) to which this alias corresponds. Any incoming " +"email that does not reply to an existing record will cause the creation of a " +"new record of this model (e.g. a Project Task)" msgstr "" #. module: rma @@ -1410,8 +1483,8 @@ msgstr "" #: code:addons/rma/models/account_move.py:0 #, python-format msgid "" -"There is at least one invoice lines whose quantity is less than the quantity" -" specified in its linked RMA." +"There is at least one invoice lines whose quantity is less than the quantity " +"specified in its linked RMA." msgstr "" #. module: rma @@ -1550,6 +1623,18 @@ msgstr "" msgid "Website communication history" msgstr "" +#. module: rma +#: model_terms:ir.ui.view,arch_db:rma.res_config_settings_view_form +msgid "When the RMA is confirmed, send an automatic information email." +msgstr "" + +#. module: rma +#: model:ir.model.fields,help:rma.field_res_company__send_rma_confirmation +#: model:ir.model.fields,help:rma.field_res_config_settings__send_rma_confirmation +msgid "" +"When the delivery is confirmed, send a confirmation email to the customer." +msgstr "" + #. module: rma #: code:addons/rma/models/rma.py:0 #, python-format diff --git a/rma/i18n/pt_BR.po b/rma/i18n/pt_BR.po index 7a06f38f..eead5fb3 100644 --- a/rma/i18n/pt_BR.po +++ b/rma/i18n/pt_BR.po @@ -134,6 +134,13 @@ msgstr "" " Parcialmente Disponível" +#. module: rma +#: model_terms:ir.ui.view,arch_db:rma.res_config_settings_view_form +msgid "" +"" +msgstr "" + #. module: rma #: model_terms:ir.ui.view,arch_db:rma.portal_rma_page msgid "Delivery" @@ -400,6 +407,11 @@ msgstr "Empresas" msgid "Company" msgstr "Empresa" +#. module: rma +#: model:ir.model,name:rma.model_res_config_settings +msgid "Config Settings" +msgstr "" + #. module: rma #: model:ir.ui.menu,name:rma.rma_configuration_menu msgid "Configuration" @@ -549,6 +561,23 @@ msgstr "Email" msgid "Email Alias" msgstr "Alias do Email" +#. module: rma +#: model_terms:ir.ui.view,arch_db:rma.res_config_settings_view_form +msgid "Email Template" +msgstr "" + +#. module: rma +#: model:ir.model.fields,field_description:rma.field_res_company__rma_mail_confirmation_template_id +#: model:ir.model.fields,field_description:rma.field_res_config_settings__rma_mail_confirmation_template_id +msgid "Email Template confirmation for RMA" +msgstr "" + +#. module: rma +#: model:ir.model.fields,help:rma.field_res_company__rma_mail_confirmation_template_id +#: model:ir.model.fields,help:rma.field_res_config_settings__rma_mail_confirmation_template_id +msgid "Email sent to the customer once the RMA is confirmed." +msgstr "" + #. module: rma #: code:addons/rma/wizard/rma_split.py:0 #, python-format @@ -986,6 +1015,11 @@ msgstr "RMA #" msgid "RMA Code" msgstr "Código RMA" +#. module: rma +#: model_terms:ir.ui.view,arch_db:rma.res_config_settings_view_form +msgid "RMA Confirmation Email" +msgstr "" + #. module: rma #: model_terms:ir.ui.view,arch_db:rma.rma_view_search msgid "RMA Date" @@ -1017,6 +1051,16 @@ msgstr "Tipo Entrada RMA" msgid "RMA Location" msgstr "Localização RMA" +#. module: rma +#: model:mail.message.subtype,name:rma.mt_rma_team_rma_notification +msgid "RMA Notification" +msgstr "" + +#. module: rma +#: model:mail.message.subtype,name:rma.mt_rma_notification +msgid "RMA Notificatoin" +msgstr "" + #. module: rma #: model_terms:ir.ui.view,arch_db:rma.portal_rma_page msgid "RMA Order -" @@ -1063,6 +1107,11 @@ msgstr "Equipe RMA" msgid "RMA Team the user is member of." msgstr "Equipe de RMA da qual o usuário é membro." +#. module: rma +#: model:mail.message.subtype,description:rma.mt_rma_notification +msgid "RMA automatic customer notifications" +msgstr "" + #. module: rma #: model:ir.model.fields,field_description:rma.field_res_partner__rma_count #: model:ir.model.fields,field_description:rma.field_res_users__rma_count @@ -1301,6 +1350,17 @@ msgstr "Data Programada" msgid "Security Token" msgstr "Token de Segurança" +#. module: rma +#: model:ir.model.fields,field_description:rma.field_res_company__send_rma_confirmation +#: model:ir.model.fields,field_description:rma.field_res_config_settings__send_rma_confirmation +msgid "Send RMA Confirmation" +msgstr "" + +#. module: rma +#: model_terms:ir.ui.view,arch_db:rma.res_config_settings_view_form +msgid "Send automatic RMA info to customer" +msgstr "" + #. module: rma #: model_terms:ir.ui.view,arch_db:rma.rma_view_form msgid "Send by Email" @@ -1343,6 +1403,16 @@ msgstr "Marcado como Rascunho" msgid "Share" msgstr "Compartilhar" +#. module: rma +#: model:ir.model.fields,field_description:rma.field_rma__partner_shipping_id +msgid "Shipping Address" +msgstr "" + +#. module: rma +#: model:ir.model.fields,help:rma.field_rma__partner_shipping_id +msgid "Shipping address for current RMA." +msgstr "" + #. module: rma #: model:ir.model.fields,field_description:rma.field_rma__origin msgid "Source Document" @@ -1616,6 +1686,18 @@ msgstr "Mensagens do Site" msgid "Website communication history" msgstr "Histórico de Comunicação Através do Site" +#. module: rma +#: model_terms:ir.ui.view,arch_db:rma.res_config_settings_view_form +msgid "When the RMA is confirmed, send an automatic information email." +msgstr "" + +#. module: rma +#: model:ir.model.fields,help:rma.field_res_company__send_rma_confirmation +#: model:ir.model.fields,help:rma.field_res_config_settings__send_rma_confirmation +msgid "" +"When the delivery is confirmed, send a confirmation email to the customer." +msgstr "" + #. module: rma #: code:addons/rma/models/rma.py:0 #, python-format diff --git a/rma/i18n/rma.pot b/rma/i18n/rma.pot index de5d61ab..befbd4c9 100644 --- a/rma/i18n/rma.pot +++ b/rma/i18n/rma.pot @@ -114,6 +114,13 @@ msgid "" "clock-o\"/> Partially Available" msgstr "" +#. module: rma +#: model_terms:ir.ui.view,arch_db:rma.res_config_settings_view_form +msgid "" +"" +msgstr "" + #. module: rma #: model_terms:ir.ui.view,arch_db:rma.portal_rma_page msgid "Delivery" @@ -378,6 +385,11 @@ msgstr "" msgid "Company" msgstr "" +#. module: rma +#: model:ir.model,name:rma.model_res_config_settings +msgid "Config Settings" +msgstr "" + #. module: rma #: model:ir.ui.menu,name:rma.rma_configuration_menu msgid "Configuration" @@ -527,6 +539,23 @@ msgstr "" msgid "Email Alias" msgstr "" +#. module: rma +#: model_terms:ir.ui.view,arch_db:rma.res_config_settings_view_form +msgid "Email Template" +msgstr "" + +#. module: rma +#: model:ir.model.fields,field_description:rma.field_res_company__rma_mail_confirmation_template_id +#: model:ir.model.fields,field_description:rma.field_res_config_settings__rma_mail_confirmation_template_id +msgid "Email Template confirmation for RMA" +msgstr "" + +#. module: rma +#: model:ir.model.fields,help:rma.field_res_company__rma_mail_confirmation_template_id +#: model:ir.model.fields,help:rma.field_res_config_settings__rma_mail_confirmation_template_id +msgid "Email sent to the customer once the RMA is confirmed." +msgstr "" + #. module: rma #: code:addons/rma/wizard/rma_split.py:0 #, python-format @@ -947,6 +976,11 @@ msgstr "" msgid "RMA Code" msgstr "" +#. module: rma +#: model_terms:ir.ui.view,arch_db:rma.res_config_settings_view_form +msgid "RMA Confirmation Email" +msgstr "" + #. module: rma #: model_terms:ir.ui.view,arch_db:rma.rma_view_search msgid "RMA Date" @@ -978,6 +1012,16 @@ msgstr "" msgid "RMA Location" msgstr "" +#. module: rma +#: model:mail.message.subtype,name:rma.mt_rma_team_rma_notification +msgid "RMA Notification" +msgstr "" + +#. module: rma +#: model:mail.message.subtype,name:rma.mt_rma_notification +msgid "RMA Notificatoin" +msgstr "" + #. module: rma #: model_terms:ir.ui.view,arch_db:rma.portal_rma_page msgid "RMA Order -" @@ -1024,6 +1068,11 @@ msgstr "" msgid "RMA Team the user is member of." msgstr "" +#. module: rma +#: model:mail.message.subtype,description:rma.mt_rma_notification +msgid "RMA automatic customer notifications" +msgstr "" + #. module: rma #: model:ir.model.fields,field_description:rma.field_res_partner__rma_count #: model:ir.model.fields,field_description:rma.field_res_users__rma_count @@ -1253,6 +1302,17 @@ msgstr "" msgid "Security Token" msgstr "" +#. module: rma +#: model:ir.model.fields,field_description:rma.field_res_company__send_rma_confirmation +#: model:ir.model.fields,field_description:rma.field_res_config_settings__send_rma_confirmation +msgid "Send RMA Confirmation" +msgstr "" + +#. module: rma +#: model_terms:ir.ui.view,arch_db:rma.res_config_settings_view_form +msgid "Send automatic RMA info to customer" +msgstr "" + #. module: rma #: model_terms:ir.ui.view,arch_db:rma.rma_view_form msgid "Send by Email" @@ -1295,6 +1355,16 @@ msgstr "" msgid "Share" msgstr "" +#. module: rma +#: model:ir.model.fields,field_description:rma.field_rma__partner_shipping_id +msgid "Shipping Address" +msgstr "" + +#. module: rma +#: model:ir.model.fields,help:rma.field_rma__partner_shipping_id +msgid "Shipping address for current RMA." +msgstr "" + #. module: rma #: model:ir.model.fields,field_description:rma.field_rma__origin msgid "Source Document" @@ -1549,6 +1619,18 @@ msgstr "" msgid "Website communication history" msgstr "" +#. module: rma +#: model_terms:ir.ui.view,arch_db:rma.res_config_settings_view_form +msgid "When the RMA is confirmed, send an automatic information email." +msgstr "" + +#. module: rma +#: model:ir.model.fields,help:rma.field_res_company__send_rma_confirmation +#: model:ir.model.fields,help:rma.field_res_config_settings__send_rma_confirmation +msgid "" +"When the delivery is confirmed, send a confirmation email to the customer." +msgstr "" + #. module: rma #: code:addons/rma/models/rma.py:0 #, python-format diff --git a/rma/i18n/ro.po b/rma/i18n/ro.po index a4eb7acb..4559e852 100644 --- a/rma/i18n/ro.po +++ b/rma/i18n/ro.po @@ -49,7 +49,8 @@ msgid "" " (${object.partner_id.parent_id.name})\n" " % endif\n" "

\n" -" Here is the RMA ${object.name} from ${object.company_id.name}.\n" +" Here is the RMA ${object.name} from ${object.company_id." +"name}.\n" "

\n" " Do not hesitate to contact us if you have any question.\n" "

\n" @@ -73,10 +74,12 @@ msgstr "" #. module: rma #: model_terms:ir.ui.view,arch_db:rma.portal_rma_page -msgid "" +msgid "" +"" msgstr "" -"" +"" #. module: rma #: model_terms:ir.ui.view,arch_db:rma.portal_rma_page @@ -99,8 +102,8 @@ msgstr "" #. module: rma #: model_terms:ir.ui.view,arch_db:rma.portal_rma_page msgid "" -"" +"" msgstr "" "" @@ -108,8 +111,8 @@ msgstr "" #. module: rma #: model_terms:ir.ui.view,arch_db:rma.portal_rma_page msgid "" -"" +"" msgstr "" "" @@ -150,6 +153,13 @@ msgstr "" " Disponibil parțial" +#. module: rma +#: model_terms:ir.ui.view,arch_db:rma.res_config_settings_view_form +msgid "" +"" +msgstr "" + #. module: rma #: model_terms:ir.ui.view,arch_db:rma.portal_rma_page msgid "Delivery" @@ -416,6 +426,11 @@ msgstr "Companii" msgid "Company" msgstr "Companie" +#. module: rma +#: model:ir.model,name:rma.model_res_config_settings +msgid "Config Settings" +msgstr "" + #. module: rma #: model:ir.ui.menu,name:rma.rma_configuration_menu msgid "Configuration" @@ -565,6 +580,23 @@ msgstr "Email" msgid "Email Alias" msgstr "" +#. module: rma +#: model_terms:ir.ui.view,arch_db:rma.res_config_settings_view_form +msgid "Email Template" +msgstr "" + +#. module: rma +#: model:ir.model.fields,field_description:rma.field_res_company__rma_mail_confirmation_template_id +#: model:ir.model.fields,field_description:rma.field_res_config_settings__rma_mail_confirmation_template_id +msgid "Email Template confirmation for RMA" +msgstr "" + +#. module: rma +#: model:ir.model.fields,help:rma.field_res_company__rma_mail_confirmation_template_id +#: model:ir.model.fields,help:rma.field_res_config_settings__rma_mail_confirmation_template_id +msgid "Email sent to the customer once the RMA is confirmed." +msgstr "" + #. module: rma #: code:addons/rma/wizard/rma_split.py:0 #, python-format @@ -611,8 +643,8 @@ msgstr "ID" #. module: rma #: model:ir.model.fields,help:rma.field_rma_team__alias_parent_thread_id msgid "" -"ID of the parent record holding the alias (example: project holding the task" -" creation alias)" +"ID of the parent record holding the alias (example: project holding the task " +"creation alias)" msgstr "" #. module: rma @@ -762,7 +794,6 @@ msgid "Name" msgstr "Nume" #. module: rma -#: code:addons/rma/models/rma.py:0 code:addons/rma/models/rma.py:0 #: code:addons/rma/models/rma.py:0 #, python-format msgid "New" @@ -883,8 +914,8 @@ msgstr "" #. module: rma #: model:ir.model.fields,help:rma.field_rma_team__alias_parent_model_id msgid "" -"Parent model holding the alias. The model holding the alias reference is not" -" necessarily the model given by alias_model_id (example: project " +"Parent model holding the alias. The model holding the alias reference is not " +"necessarily the model given by alias_model_id (example: project " "(parent_model) and task (model))" msgstr "" @@ -899,7 +930,8 @@ msgid "" "Policy to post a message on the document using the mailgateway.\n" "- everyone: everyone can post\n" "- partners: only authenticated partners\n" -"- followers: only followers of the related document or members of following channels\n" +"- followers: only followers of the related document or members of following " +"channels\n" msgstr "" "Politica de a posta un mesaj pe document folosind mailgateway.\n" "- toată lumea: toată lumea poate posta\n" @@ -995,6 +1027,11 @@ msgstr "Număr retur" msgid "RMA Code" msgstr "Cod cerere retur" +#. module: rma +#: model_terms:ir.ui.view,arch_db:rma.res_config_settings_view_form +msgid "RMA Confirmation Email" +msgstr "" + #. module: rma #: model_terms:ir.ui.view,arch_db:rma.rma_view_search msgid "RMA Date" @@ -1026,6 +1063,16 @@ msgstr "" msgid "RMA Location" msgstr "Locație" +#. module: rma +#: model:mail.message.subtype,name:rma.mt_rma_team_rma_notification +msgid "RMA Notification" +msgstr "" + +#. module: rma +#: model:mail.message.subtype,name:rma.mt_rma_notification +msgid "RMA Notificatoin" +msgstr "" + #. module: rma #: model_terms:ir.ui.view,arch_db:rma.portal_rma_page msgid "RMA Order -" @@ -1072,6 +1119,11 @@ msgstr "Echipă" msgid "RMA Team the user is member of." msgstr "" +#. module: rma +#: model:mail.message.subtype,description:rma.mt_rma_notification +msgid "RMA automatic customer notifications" +msgstr "" + #. module: rma #: model:ir.model.fields,field_description:rma.field_res_partner__rma_count #: model:ir.model.fields,field_description:rma.field_res_users__rma_count @@ -1213,13 +1265,13 @@ msgstr "Înlocuit" #: code:addons/rma/models/rma.py:0 #, python-format msgid "" -"Replacement: Move %s (Picking %s) has been created." +"Replacement: Move %s (Picking %s) has been created." msgstr "" -"Înlocuire: Mișcarea %s (Transfer %s) a fost creat." +"Înlocuire: Mișcarea %s (Transfer %s) a fost creat." #. module: rma #: code:addons/rma/models/rma.py:0 @@ -1274,8 +1326,8 @@ msgstr "Retur către client" #: code:addons/rma/models/rma.py:0 #, python-format msgid "" -"Return: %s has been created." +"Return: %s has been created." msgstr "" #. module: rma @@ -1304,6 +1356,17 @@ msgstr "" msgid "Security Token" msgstr "" +#. module: rma +#: model:ir.model.fields,field_description:rma.field_res_company__send_rma_confirmation +#: model:ir.model.fields,field_description:rma.field_res_config_settings__send_rma_confirmation +msgid "Send RMA Confirmation" +msgstr "" + +#. module: rma +#: model_terms:ir.ui.view,arch_db:rma.res_config_settings_view_form +msgid "Send automatic RMA info to customer" +msgstr "" + #. module: rma #: model_terms:ir.ui.view,arch_db:rma.rma_view_form msgid "Send by Email" @@ -1346,6 +1409,16 @@ msgstr "" msgid "Share" msgstr "Partajează" +#. module: rma +#: model:ir.model.fields,field_description:rma.field_rma__partner_shipping_id +msgid "Shipping Address" +msgstr "" + +#. module: rma +#: model:ir.model.fields,help:rma.field_rma__partner_shipping_id +msgid "Shipping address for current RMA." +msgstr "" + #. module: rma #: model:ir.model.fields,field_description:rma.field_rma__origin msgid "Source Document" @@ -1366,8 +1439,8 @@ msgstr "" #: code:addons/rma/models/rma.py:0 #, python-format msgid "" -"Split: %s has been" -" created." +"Split: %s has been " +"created." msgstr "" #. module: rma @@ -1421,9 +1494,9 @@ msgstr "" #. module: rma #: model:ir.model.fields,help:rma.field_rma_team__alias_model_id msgid "" -"The model (Odoo Document Kind) to which this alias corresponds. Any incoming" -" email that does not reply to an existing record will cause the creation of " -"a new record of this model (e.g. a Project Task)" +"The model (Odoo Document Kind) to which this alias corresponds. Any incoming " +"email that does not reply to an existing record will cause the creation of a " +"new record of this model (e.g. a Project Task)" msgstr "" #. module: rma @@ -1465,8 +1538,8 @@ msgstr "" #: code:addons/rma/models/account_move.py:0 #, python-format msgid "" -"There is at least one invoice lines whose quantity is less than the quantity" -" specified in its linked RMA." +"There is at least one invoice lines whose quantity is less than the quantity " +"specified in its linked RMA." msgstr "" #. module: rma @@ -1606,6 +1679,18 @@ msgstr "" msgid "Website communication history" msgstr "" +#. module: rma +#: model_terms:ir.ui.view,arch_db:rma.res_config_settings_view_form +msgid "When the RMA is confirmed, send an automatic information email." +msgstr "" + +#. module: rma +#: model:ir.model.fields,help:rma.field_res_company__send_rma_confirmation +#: model:ir.model.fields,help:rma.field_res_config_settings__send_rma_confirmation +msgid "" +"When the delivery is confirmed, send a confirmation email to the customer." +msgstr "" + #. module: rma #: code:addons/rma/models/rma.py:0 #, python-format diff --git a/rma/i18n/zh_CN.po b/rma/i18n/zh_CN.po index c865460e..4e956f15 100644 --- a/rma/i18n/zh_CN.po +++ b/rma/i18n/zh_CN.po @@ -48,7 +48,8 @@ msgid "" " (${object.partner_id.parent_id.name})\n" " % endif\n" "

\n" -" Here is the RMA ${object.name} from ${object.company_id.name}.\n" +" Here is the RMA ${object.name} from ${object.company_id." +"name}.\n" "

\n" " Do not hesitate to contact us if you have any question.\n" "

\n" @@ -58,7 +59,9 @@ msgstr "" #. module: rma #: model_terms:ir.ui.view,arch_db:rma.portal_rma_page -msgid "" +msgid "" +"" msgstr "" #. module: rma @@ -78,15 +81,15 @@ msgstr "" #. module: rma #: model_terms:ir.ui.view,arch_db:rma.portal_rma_page msgid "" -"" +"" msgstr "" #. module: rma #: model_terms:ir.ui.view,arch_db:rma.portal_rma_page msgid "" -"" +"" msgstr "" #. module: rma @@ -117,6 +120,13 @@ msgid "" "clock-o\"/> Partially Available
" msgstr "" +#. module: rma +#: model_terms:ir.ui.view,arch_db:rma.res_config_settings_view_form +msgid "" +"" +msgstr "" + #. module: rma #: model_terms:ir.ui.view,arch_db:rma.portal_rma_page msgid "Delivery" @@ -381,6 +391,11 @@ msgstr "" msgid "Company" msgstr "" +#. module: rma +#: model:ir.model,name:rma.model_res_config_settings +msgid "Config Settings" +msgstr "" + #. module: rma #: model:ir.ui.menu,name:rma.rma_configuration_menu msgid "Configuration" @@ -530,6 +545,23 @@ msgstr "" msgid "Email Alias" msgstr "" +#. module: rma +#: model_terms:ir.ui.view,arch_db:rma.res_config_settings_view_form +msgid "Email Template" +msgstr "" + +#. module: rma +#: model:ir.model.fields,field_description:rma.field_res_company__rma_mail_confirmation_template_id +#: model:ir.model.fields,field_description:rma.field_res_config_settings__rma_mail_confirmation_template_id +msgid "Email Template confirmation for RMA" +msgstr "" + +#. module: rma +#: model:ir.model.fields,help:rma.field_res_company__rma_mail_confirmation_template_id +#: model:ir.model.fields,help:rma.field_res_config_settings__rma_mail_confirmation_template_id +msgid "Email sent to the customer once the RMA is confirmed." +msgstr "" + #. module: rma #: code:addons/rma/wizard/rma_split.py:0 #, python-format @@ -576,8 +608,8 @@ msgstr "" #. module: rma #: model:ir.model.fields,help:rma.field_rma_team__alias_parent_thread_id msgid "" -"ID of the parent record holding the alias (example: project holding the task" -" creation alias)" +"ID of the parent record holding the alias (example: project holding the task " +"creation alias)" msgstr "" #. module: rma @@ -725,7 +757,6 @@ msgid "Name" msgstr "" #. module: rma -#: code:addons/rma/models/rma.py:0 code:addons/rma/models/rma.py:0 #: code:addons/rma/models/rma.py:0 #, python-format msgid "New" @@ -844,8 +875,8 @@ msgstr "" #. module: rma #: model:ir.model.fields,help:rma.field_rma_team__alias_parent_model_id msgid "" -"Parent model holding the alias. The model holding the alias reference is not" -" necessarily the model given by alias_model_id (example: project " +"Parent model holding the alias. The model holding the alias reference is not " +"necessarily the model given by alias_model_id (example: project " "(parent_model) and task (model))" msgstr "" @@ -860,7 +891,8 @@ msgid "" "Policy to post a message on the document using the mailgateway.\n" "- everyone: everyone can post\n" "- partners: only authenticated partners\n" -"- followers: only followers of the related document or members of following channels\n" +"- followers: only followers of the related document or members of following " +"channels\n" msgstr "" #. module: rma @@ -950,6 +982,11 @@ msgstr "" msgid "RMA Code" msgstr "" +#. module: rma +#: model_terms:ir.ui.view,arch_db:rma.res_config_settings_view_form +msgid "RMA Confirmation Email" +msgstr "" + #. module: rma #: model_terms:ir.ui.view,arch_db:rma.rma_view_search msgid "RMA Date" @@ -981,6 +1018,16 @@ msgstr "" msgid "RMA Location" msgstr "" +#. module: rma +#: model:mail.message.subtype,name:rma.mt_rma_team_rma_notification +msgid "RMA Notification" +msgstr "" + +#. module: rma +#: model:mail.message.subtype,name:rma.mt_rma_notification +msgid "RMA Notificatoin" +msgstr "" + #. module: rma #: model_terms:ir.ui.view,arch_db:rma.portal_rma_page msgid "RMA Order -" @@ -1027,6 +1074,11 @@ msgstr "" msgid "RMA Team the user is member of." msgstr "" +#. module: rma +#: model:mail.message.subtype,description:rma.mt_rma_notification +msgid "RMA automatic customer notifications" +msgstr "" + #. module: rma #: model:ir.model.fields,field_description:rma.field_res_partner__rma_count #: model:ir.model.fields,field_description:rma.field_res_users__rma_count @@ -1168,9 +1220,9 @@ msgstr "已换货" #: code:addons/rma/models/rma.py:0 #, python-format msgid "" -"Replacement: Move %s (Picking %s) has been created." +"Replacement: Move %s (Picking %s) has been created." msgstr "" #. module: rma @@ -1226,8 +1278,8 @@ msgstr "" #: code:addons/rma/models/rma.py:0 #, python-format msgid "" -"Return: %s has been created." +"Return: %s has been created." msgstr "" #. module: rma @@ -1256,6 +1308,17 @@ msgstr "" msgid "Security Token" msgstr "" +#. module: rma +#: model:ir.model.fields,field_description:rma.field_res_company__send_rma_confirmation +#: model:ir.model.fields,field_description:rma.field_res_config_settings__send_rma_confirmation +msgid "Send RMA Confirmation" +msgstr "" + +#. module: rma +#: model_terms:ir.ui.view,arch_db:rma.res_config_settings_view_form +msgid "Send automatic RMA info to customer" +msgstr "" + #. module: rma #: model_terms:ir.ui.view,arch_db:rma.rma_view_form msgid "Send by Email" @@ -1298,6 +1361,16 @@ msgstr "" msgid "Share" msgstr "" +#. module: rma +#: model:ir.model.fields,field_description:rma.field_rma__partner_shipping_id +msgid "Shipping Address" +msgstr "" + +#. module: rma +#: model:ir.model.fields,help:rma.field_rma__partner_shipping_id +msgid "Shipping address for current RMA." +msgstr "" + #. module: rma #: model:ir.model.fields,field_description:rma.field_rma__origin msgid "Source Document" @@ -1318,8 +1391,8 @@ msgstr "" #: code:addons/rma/models/rma.py:0 #, python-format msgid "" -"Split: %s has been" -" created." +"Split: %s has been " +"created." msgstr "" #. module: rma @@ -1373,9 +1446,9 @@ msgstr "" #. module: rma #: model:ir.model.fields,help:rma.field_rma_team__alias_model_id msgid "" -"The model (Odoo Document Kind) to which this alias corresponds. Any incoming" -" email that does not reply to an existing record will cause the creation of " -"a new record of this model (e.g. a Project Task)" +"The model (Odoo Document Kind) to which this alias corresponds. Any incoming " +"email that does not reply to an existing record will cause the creation of a " +"new record of this model (e.g. a Project Task)" msgstr "" #. module: rma @@ -1412,8 +1485,8 @@ msgstr "" #: code:addons/rma/models/account_move.py:0 #, python-format msgid "" -"There is at least one invoice lines whose quantity is less than the quantity" -" specified in its linked RMA." +"There is at least one invoice lines whose quantity is less than the quantity " +"specified in its linked RMA." msgstr "" #. module: rma @@ -1552,6 +1625,18 @@ msgstr "" msgid "Website communication history" msgstr "" +#. module: rma +#: model_terms:ir.ui.view,arch_db:rma.res_config_settings_view_form +msgid "When the RMA is confirmed, send an automatic information email." +msgstr "" + +#. module: rma +#: model:ir.model.fields,help:rma.field_res_company__send_rma_confirmation +#: model:ir.model.fields,help:rma.field_res_config_settings__send_rma_confirmation +msgid "" +"When the delivery is confirmed, send a confirmation email to the customer." +msgstr "" + #. module: rma #: code:addons/rma/models/rma.py:0 #, python-format diff --git a/rma/models/rma.py b/rma/models/rma.py index b2865a72..e2bf8fec 100644 --- a/rma/models/rma.py +++ b/rma/models/rma.py @@ -885,6 +885,7 @@ class Rma(models.Model): def _prepare_picking(self, picking_form): picking_form.origin = self.name picking_form.partner_id = self.partner_shipping_id + picking_form.location_id = self.partner_shipping_id.property_stock_customer picking_form.location_dest_id = self.location_id with picking_form.move_ids_without_package.new() as move_form: move_form.product_id = self.product_id