diff --git a/rma_sale/README.rst b/rma_sale/README.rst new file mode 100644 index 000000000..180d9c4e5 --- /dev/null +++ b/rma_sale/README.rst @@ -0,0 +1,130 @@ +============================================================= +Return Merchandise Authorization Management - Link with Sales +============================================================= + +.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! This file is generated by oca-gen-addon-readme !! + !! changes will be overwritten. !! + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + +.. |badge1| image:: https://img.shields.io/badge/maturity-Production%2FStable-green.png + :target: https://odoo-community.org/page/development-status + :alt: Production/Stable +.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png + :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html + :alt: License: AGPL-3 +.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Frma-lightgray.png?logo=github + :target: https://github.com/OCA/rma/tree/16.0/rma_sale + :alt: OCA/rma +.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png + :target: https://translation.odoo-community.org/projects/rma-16-0/rma-16-0-rma_sale + :alt: Translate me on Weblate +.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png + :target: https://runboat.odoo-community.org/webui/builds.html?repo=OCA/rma&target_branch=16.0 + :alt: Try me on Runboat + +|badge1| |badge2| |badge3| |badge4| |badge5| + +This module allows you to link a sales order to an RMA. +This can be done by creating an RMA from scratch and selecting the sales +order, creating one or more RMAs from a sales order form view or from a sales +order web portal page. + +**Table of contents** + +.. contents:: + :local: + +Usage +===== + +To use this module, you need to: + +#. Go to *RMA > Orders* and create a new RMA. +#. Select a sales order to be linked to the RMA if you want. +#. Now you can do the rest of the instructions described in the + *readme* of the rma module. + +If you want to create one or more RMAs from a sale order: + +#. Go to *Sales > Orders > Orders*. +#. Create a new sales order or select an existing one. +#. If the sales order is in 'Sales Order' state you can see in the status bar + a button labeled 'Create RMA', click it and a wizard will appear. +#. Modify the data at your convenience and click on 'Accept' button. +#. As many RMAs as lines with quantity greater than zero will be created. + Those RMAs will be linked to the sales order. + +The customer can also create RMAs from a sales order portal page: + +#. Go to a confirmed sales order portal page. +#. In the left sidebar you can see a button named 'Request RMAs'. +#. By clicking on this button a popup will appear to allow you to define + the quantity per product and delivery order line. +#. Click on the 'Request RMAs' button and RMAs will be created linked to + the sales order. + +Known issues / Roadmap +====================== + +* When you try to request an RMA from a Sales Order in the portal, + a popup appears and the inputs for the quantity doesn't allow + decimal numbers. It would be good to have a component that allows + that and at the same time keeps the constraint of not allowing a + number greater than the order line product quantity. + +Bug Tracker +=========== + +Bugs are tracked on `GitHub Issues `_. +In case of trouble, please check there if your issue has already been reported. +If you spotted it first, help us smashing it by providing a detailed and welcomed +`feedback `_. + +Do not contact contributors directly about support or help with technical issues. + +Credits +======= + +Authors +~~~~~~~ + +* Tecnativa + +Contributors +~~~~~~~~~~~~ + +* `Tecnativa `_: + + * Ernesto Tejeda + * Pedro M. Baeza + * David Vidal + * Víctor Martínez + +* Chafique Delli +* Giovanni Serra - Ooops + +Maintainers +~~~~~~~~~~~ + +This module is maintained by the OCA. + +.. image:: https://odoo-community.org/logo.png + :alt: Odoo Community Association + :target: https://odoo-community.org + +OCA, or the Odoo Community Association, is a nonprofit organization whose +mission is to support the collaborative development of Odoo features and +promote its widespread use. + +.. |maintainer-ernestotejeda| image:: https://github.com/ernestotejeda.png?size=40px + :target: https://github.com/ernestotejeda + :alt: ernestotejeda + +Current `maintainer `__: + +|maintainer-ernestotejeda| + +This module is part of the `OCA/rma `_ project on GitHub. + +You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/rma_sale/__init__.py b/rma_sale/__init__.py new file mode 100644 index 000000000..57055b3c7 --- /dev/null +++ b/rma_sale/__init__.py @@ -0,0 +1,5 @@ +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). + +from . import controllers +from . import models +from . import wizard diff --git a/rma_sale/__manifest__.py b/rma_sale/__manifest__.py new file mode 100644 index 000000000..fd6996ed8 --- /dev/null +++ b/rma_sale/__manifest__.py @@ -0,0 +1,36 @@ +# Copyright 2020 Tecnativa - Ernesto Tejeda +# Copyright 2022-2023 Tecnativa - Víctor Martínez +# Copyright 2021-2023 Tecnativa - David Vidal +# Copyright 2021-2023 Tecnativa - Pedro M. Baeza +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). +{ + "name": "Return Merchandise Authorization Management - Link with Sales", + "summary": "Sale Order - Return Merchandise Authorization (RMA)", + "version": "16.0.1.0.0", + "development_status": "Production/Stable", + "category": "RMA", + "website": "https://github.com/OCA/rma", + "author": "Tecnativa, Odoo Community Association (OCA)", + "maintainers": ["ernestotejeda"], + "license": "AGPL-3", + "depends": ["rma", "sale_stock"], + "data": [ + "security/ir.model.access.csv", + "views/account_move_views.xml", + "views/report_rma.xml", + "views/rma_views.xml", + "views/sale_views.xml", + "views/sale_portal_template.xml", + "views/res_config_settings_views.xml", + "wizard/sale_order_rma_wizard_views.xml", + ], + "assets": { + "web.assets_frontend": [ + "/rma_sale/static/src/js/rma_portal_form.js", + "/rma_sale/static/src/scss/rma_sale.scss", + ], + "web.assets_tests": [ + "/rma_sale/static/src/tests/*.js", + ], + }, +} diff --git a/rma_sale/controllers/__init__.py b/rma_sale/controllers/__init__.py new file mode 100644 index 000000000..c3c3eb4d3 --- /dev/null +++ b/rma_sale/controllers/__init__.py @@ -0,0 +1,4 @@ +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). + +from . import rma_portal +from . import sale_portal diff --git a/rma_sale/controllers/rma_portal.py b/rma_sale/controllers/rma_portal.py new file mode 100644 index 000000000..c4e581563 --- /dev/null +++ b/rma_sale/controllers/rma_portal.py @@ -0,0 +1,12 @@ +# Copyright 2020 Tecnativa - Ernesto Tejeda +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). + +from odoo.addons.rma.controllers.main import PortalRma + + +class PortalRma(PortalRma): + def _get_filter_domain(self, kw): + res = super()._get_filter_domain(kw) + if "sale_id" in kw: + res.append(("order_id", "=", int(kw["sale_id"]))) + return res diff --git a/rma_sale/controllers/sale_portal.py b/rma_sale/controllers/sale_portal.py new file mode 100644 index 000000000..64e248113 --- /dev/null +++ b/rma_sale/controllers/sale_portal.py @@ -0,0 +1,120 @@ +# Copyright 2020 Tecnativa - Ernesto Tejeda +# Copyright 2022 Tecnativa - Víctor Martínez +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). + +from odoo import _, http +from odoo.exceptions import AccessError, MissingError +from odoo.http import request + +from odoo.addons.sale.controllers.portal import CustomerPortal + + +class CustomerPortal(CustomerPortal): + @http.route( + ["/my/orders//requestrma"], + type="http", + auth="public", + methods=["POST"], + website=True, + ) + def request_rma(self, order_id, access_token=None, **post): + try: + order_sudo = self._document_check_access( + "sale.order", order_id, access_token=access_token + ) + except (AccessError, MissingError): + return request.redirect("/my") + order_obj = request.env["sale.order"] + wizard_obj = request.env["sale.order.rma.wizard"].sudo() + wizard_line_field_types = { + f: d["type"] for f, d in wizard_obj.line_ids.fields_get().items() + } + # Set wizard line vals + mapped_vals = {} + custom_vals = {} + partner_shipping_id = post.pop("partner_shipping_id", False) + if partner_shipping_id: + try: + partner_shipping_id = int(partner_shipping_id) + except ValueError: + partner_shipping_id = False + for name, value in post.items(): + try: + row, field_name = name.split("-", 1) + if wizard_line_field_types.get(field_name) == "many2one": + value = int(value) if value else False + mapped_vals.setdefault(row, {}).update({field_name: value}) + # Catch possible form custom fields to add them to the RMA + # description values + except ValueError: + custom_vals.update({name: value}) + # If no operation is filled, no RMA will be created + line_vals = [ + (0, 0, vals) for vals in mapped_vals.values() if vals.get("operation_id") + ] + # Create wizard an generate rmas + order = order_obj.browse(order_id).sudo() + location_id = order.warehouse_id.rma_loc_id.id + # Add custom fields text + custom_description = "" + if custom_vals: + custom_description = r"
---
" + custom_description += r"
".join( + ["{}: {}".format(x, y) for x, y in custom_vals.items()] + ) + wizard = wizard_obj.with_context(active_id=order_id).create( + { + "line_ids": line_vals, + "location_id": location_id, + "partner_shipping_id": partner_shipping_id, + "custom_description": custom_description, + } + ) + user_has_group_portal = request.env.user.has_group( + "base.group_portal" + ) or request.env.user.has_group("base.group_public") + rma = wizard.sudo().create_rma(from_portal=True) + for rec in rma: + rec.origin += _(" (Portal)") + # Add the user as follower of the created RMAs so they can later view them. + rma.message_subscribe([request.env.user.partner_id.id]) + # Subscribe the user to the notification subtype so he receives the confirmation + # note. + rma.message_follower_ids.filtered( + lambda x: x.partner_id == request.env.user.partner_id + ).subtype_ids += request.env.ref("rma.mt_rma_notification") + if len(rma) == 0: + route = order_sudo.get_portal_url() + elif len(rma) == 1: + route = rma._get_share_url() if user_has_group_portal else rma.access_url + else: + route = ( + order._get_share_url() + if user_has_group_portal + else "/my/rmas?sale_id=%d" % order_id + ) + return request.redirect(route) + + @http.route( + ["/my/requestrma/"], type="http", auth="public", website=True + ) + def request_sale_rma(self, order_id, access_token=None, **kw): + """Request RMA on a single page""" + try: + order_sudo = self._document_check_access( + "sale.order", order_id, access_token=access_token + ) + except (AccessError, MissingError): + return request.redirect("/my") + if order_sudo.state in ("draft", "sent", "cancel"): + return request.redirect("/my") + values = { + "sale_order": order_sudo, + "page_name": "request_rma", + "default_url": order_sudo.get_portal_url(), + "token": access_token, + "partner_id": order_sudo.partner_id.id, + } + if order_sudo.company_id: + values["res_company"] = order_sudo.company_id + return request.render("rma_sale.request_rma_single_page", values) diff --git a/rma_sale/i18n/de.po b/rma_sale/i18n/de.po new file mode 100644 index 000000000..23634793b --- /dev/null +++ b/rma_sale/i18n/de.po @@ -0,0 +1,496 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * rma_sale +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 15.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2023-04-05 07:26+0000\n" +"Last-Translator: Nikolaus Weingartmair \n" +"Language-Team: none\n" +"Language: de\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 4.14.1\n" + +#. module: rma_sale +#: code:addons/rma_sale/controllers/sale_portal.py:0 +#, python-format +msgid " (Portal)" +msgstr " (Portal)" + +#. module: rma_sale +#: code:addons/rma_sale/wizard/sale_order_rma_wizard.py:0 +#, python-format +msgid " has been created." +msgstr " wurde erstellt." + +#. module: rma_sale +#: code:addons/rma_sale/wizard/sale_order_rma_wizard.py:0 +#, python-format +msgid " have been created." +msgstr " wurde erstellt." + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.sale_rma_request_form +msgid "&times;" +msgstr "&times;" + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.sale_rma_request_form +msgid " Request RMAs" +msgstr " Anforderung RMAs" + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.sale_order_portal_template +msgid " Request RMAs" +msgstr " Anforderung RMAs" + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.sale_rma_request_form +msgid " Cancel" +msgstr " Abbrechen" + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.sale_rma_request_form +msgid " Choose a delivery address" +msgstr " Wähle eine Lieferadresse" + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.sale_rma_request_form +msgid "" +msgstr "" + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.res_config_settings_view_form +msgid "" +"" +msgstr "" +"" + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.sale_order_portal_content +msgid "" +"" +msgstr "" +"" + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.sale_order_portal_content +msgid "RMA" +msgstr "RMA" + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.report_rma_document +msgid "Requested operation:" +msgstr "Angeforderte Operation:" + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.portal_rma_page +msgid "Requested operation" +msgstr "Angeforderte Operation" + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.report_rma_document +msgid "Sale order:" +msgstr "Verkaufsauftrag:" + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.portal_rma_page +msgid "Sale order" +msgstr "Verkaufsauftrag" + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.sale_order_rma_wizard_form_view +msgid "Accept" +msgstr "Akzeptieren" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_rma__allowed_move_ids +msgid "Allowed Move" +msgstr "Erlaubter Transfer" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_rma__allowed_picking_ids +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_line_rma_wizard__allowed_picking_ids +msgid "Allowed Picking" +msgstr "Erlaubte Entnahme" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_rma__allowed_product_ids +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_line_rma_wizard__allowed_product_ids +msgid "Allowed Product" +msgstr "Erlaubtes Product" + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.sale_order_rma_wizard_form_view +msgid "Cancel" +msgstr "Abbrechen" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_line_rma_wizard__uom_category_id +msgid "Category" +msgstr "Kategorie" + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.sale_rma_request_form +msgid "Close" +msgstr "Schließen" + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.sale_rma_request_form +msgid "" +"Comment anything relevant to the return, like serial numbers, a description " +"of the issue, etc" +msgstr "" +"Zusatzinformationen zur Reture, wie zum Beispiel Seriennummer, Beschreibung " +"des Problems, etc" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_rma_wizard__commercial_partner_id +msgid "Commercial entity" +msgstr "Unternehmenseinheit" + +#. module: rma_sale +#: model:ir.model,name:rma_sale.model_res_company +msgid "Companies" +msgstr "Unternehmen" + +#. module: rma_sale +#: model:ir.model,name:rma_sale.model_res_config_settings +msgid "Config Settings" +msgstr "Einstellungen" + +#. module: rma_sale +#: model:ir.model.fields,help:rma_sale.field_sale_order_line_rma_wizard__uom_category_id +msgid "" +"Conversion between Units of Measure can only occur if they belong to the " +"same category. The conversion will be made based on the ratios." +msgstr "" +"Die Umrechnung zwischen Maßeinheiten kann nur erfolgen, wenn sie zur selben " +"Kategorie gehören. Die Umrechnung erfolgt anhand der Verhältnisse." + +#. module: rma_sale +#: code:addons/rma_sale/models/sale.py:0 +#: model_terms:ir.ui.view,arch_db:rma_sale.view_order_form +#, python-format +msgid "Create RMA" +msgstr "Erstelle RMA" + +#. module: rma_sale +#: model:ir.actions.act_window,name:rma_sale.sale_order_create_rma_action +msgid "Create RMAs" +msgstr "Erstelle RMAs" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_line_rma_wizard__create_uid +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_rma_wizard__create_uid +msgid "Created by" +msgstr "Erstellt von" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_line_rma_wizard__create_date +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_rma_wizard__create_date +msgid "Created on" +msgstr "Erstellt am" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_rma_wizard__custom_description +msgid "Custom Description" +msgstr "Benutzerdefinierte Beschreibung" + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.sale_rma_request_form +msgid "Delivery" +msgstr "Lieferung" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_line_rma_wizard__picking_id +msgid "Delivery order" +msgstr "Lieferauftrag" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_line_rma_wizard__description +msgid "Description" +msgstr "Beschreibung" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_line_rma_wizard__display_name +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_rma_wizard__display_name +msgid "Display Name" +msgstr "Anzeigename" + +#. module: rma_sale +#: model:ir.model.fields,help:rma_sale.field_res_company__show_full_page_sale_rma +#: model:ir.model.fields,help:rma_sale.field_res_config_settings__show_full_page_sale_rma +msgid "" +"From the frontend sale order page go to a single RMA page creation instead " +"of the usual popup" +msgstr "" +"Gehen Sie von der Verkaufsauftragsseite im Frontend zu einer einzelnen RMA-" +"Seitenerstellung anstelle des üblichen Popups" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_res_company__show_full_page_sale_rma +#: model:ir.model.fields,field_description:rma_sale.field_res_config_settings__show_full_page_sale_rma +msgid "Full page RMA creation" +msgstr "Ganzseitige RMA-Erstellung" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_line_rma_wizard__id +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_rma_wizard__id +msgid "ID" +msgstr "ID" + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.sale_rma_request_form +msgid "If no requested operation is set, the RMA won't be correctly fulfilled" +msgstr "" +"Wenn keine angeforderte Operation festgelegt ist, wird die RMA nicht korrekt " +"ausgeführt" + +#. module: rma_sale +#: model:ir.model,name:rma_sale.model_account_move +msgid "Journal Entry" +msgstr "" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_line_rma_wizard____last_update +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_rma_wizard____last_update +msgid "Last Modified on" +msgstr "Zuletz geändert am" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_line_rma_wizard__write_uid +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_rma_wizard__write_uid +msgid "Last Updated by" +msgstr "Zuletzt geupdated am" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_line_rma_wizard__write_date +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_rma_wizard__write_date +msgid "Last Updated on" +msgstr "Zuletzt geupdatet am" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_rma_wizard__line_ids +msgid "Lines" +msgstr "Zeilen" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_line_rma_wizard__move_id +msgid "Move" +msgstr "Bewegung" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_line_rma_wizard__order_id +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_rma_wizard__order_id +msgid "Order" +msgstr "Auftrag" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_rma__picking_id +msgid "Origin Delivery" +msgstr "Ursprungslieferung" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_rma__move_id +msgid "Origin move" +msgstr "Ursprungsbewegung" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_rma__product_id +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_line_rma_wizard__product_id +#: model_terms:ir.ui.view,arch_db:rma_sale.sale_rma_request_form +msgid "Product" +msgstr "Produkt" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_line_rma_wizard__quantity +#: model_terms:ir.ui.view,arch_db:rma_sale.sale_rma_request_form +msgid "Quantity" +msgstr "Quantität" + +#. module: rma_sale +#: model:ir.model,name:rma_sale.model_rma +#: model_terms:ir.ui.view,arch_db:rma_sale.view_order_form +msgid "RMA" +msgstr "RMA" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_sale_order__rma_count +msgid "RMA count" +msgstr "RMA Anzahl" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_rma_wizard__location_id +msgid "RMA location" +msgstr "RMA Ort" + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.request_rma_single_page +msgid "RMA request for order" +msgstr "RMA-Anfrage zur Bestellung" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_sale_order__rma_ids +msgid "RMAs" +msgstr "RMAs" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_rma__refund_id +msgid "Refund" +msgstr "" + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.sale_rma_request_form +msgid "Request RMAs" +msgstr "Fordern Sie RMAs an" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_line_rma_wizard__operation_id +#: model_terms:ir.ui.view,arch_db:rma_sale.sale_rma_request_form +msgid "Requested operation" +msgstr "Angeforderter Vorgang" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_rma__sale_line_id +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_line_rma_wizard__sale_line_id +msgid "Sale Line" +msgstr "Auftragszeile" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_rma__order_id +msgid "Sale Order" +msgstr "Verkaufsauftrag" + +#. module: rma_sale +#: model:ir.model,name:rma_sale.model_sale_order_line_rma_wizard +msgid "Sale Order Line Rma Wizard" +msgstr "Verkaufsauftragszeilen-RMA-Assistent" + +#. module: rma_sale +#: model:ir.model,name:rma_sale.model_sale_order_rma_wizard +msgid "Sale Order Rma Wizard" +msgstr "Verkaufsauftrags-RMA-Assistent" + +#. module: rma_sale +#: model:ir.model,name:rma_sale.model_sale_order +msgid "Sales Order" +msgstr "Verkaufsauftrag" + +#. module: rma_sale +#: model:ir.model,name:rma_sale.model_sale_order_line +msgid "Sales Order Line" +msgstr "Verkaufsauftragszeile" + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.sale_rma_request_form +msgid "Select the product quantity and the requested operation" +msgstr "Wählen Sie die Produktmenge und den gewünschten Vorgang aus" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_rma_wizard__partner_shipping_id +msgid "Shipping Address" +msgstr "Versandadresse" + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.res_config_settings_view_form +msgid "Show portal RMA request in a single page" +msgstr "RMA-Anfrage im Portal auf einer einzigen Seite anzeigen" + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.res_config_settings_view_form +msgid "Single page RMA request" +msgstr "Einseitige RMA-Anfrage" + +#. module: rma_sale +#: model:ir.model,name:rma_sale.model_stock_move +msgid "Stock Move" +msgstr "Lagerbewegung" + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.sale_rma_request_form +msgid "The limit will decrease when the units in other RMAs are confirmed" +msgstr "" +"Das Limit verringert sich, wenn die Einheiten in anderen RMAs bestätigt " +"werden" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_line_rma_wizard__uom_id +msgid "Unit of Measure" +msgstr "Maßeinheit" + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.sale_rma_request_form +msgid "" +"Use the comment button to add relevant information regarding the RMA, like " +"returned serial numbers or a description of the issue" +msgstr "" +"Verwenden Sie die Schaltfläche „Kommentar“, um relevante Informationen zur " +"RMA hinzuzufügen, z. B. zurückgegebene Seriennummern oder eine Beschreibung " +"des Problems" + +#. module: rma_sale +#: model:ir.model.fields,help:rma_sale.field_sale_order_rma_wizard__custom_description +msgid "Values coming from portal RMA request form custom fields" +msgstr "" +"Werte, die aus benutzerdefinierten Feldern für RMA-Anforderungsformulare des " +"Portals stammen" + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.res_config_settings_view_form +msgid "" +"When we hit the RMA request button from the portal sale page, open in a " +"single page instead of a popup." +msgstr "" +"Wenn wir auf der Verkaufsseite des Portals auf die Schaltfläche „RMA-" +"Anforderung“ klicken, wird diese auf einer einzelnen Seite statt in einem " +"Popup geöffnet." + +#. module: rma_sale +#: model:ir.model.fields,help:rma_sale.field_sale_order_rma_wizard__partner_shipping_id +msgid "Will be used to return the goods when the RMA is completed" +msgstr "" +"Wird verwendet, um die Waren zurückzusenden, wenn die RMA abgeschlossen ist" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_line_rma_wizard__wizard_id +msgid "Wizard" +msgstr "Assistent" + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.sale_rma_request_form +msgid "" +"You can only return as much product units as you received for this order" +msgstr "" +"Sie können nur so viele Produkteinheiten zurückgeben, wie Sie für diese " +"Bestellung erhalten haben" + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.sale_rma_request_form +msgid "You can send a message in every RMA sent" +msgstr "Sie können in jeder gesendeten RMA eine Nachricht senden" + +#. module: rma_sale +#: code:addons/rma_sale/models/sale.py:0 +#, python-format +msgid "You may only create RMAs from a confirmed or done sale order." +msgstr "" +"Sie können RMAs nur aus einem bestätigten oder abgeschlossenen " +"Verkaufsauftrag erstellen." + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.sale_rma_request_form +msgid "" +"You're about to perform an RMA request. Our team will process it an will " +"reach you once it's validated. Keep in mind that:" +msgstr "" +"Sie sind dabei, eine RMA-Anfrage durchzuführen. Unser Team wird es " +"bearbeiten und Sie erreichen, sobald es validiert ist. Denk daran, dass:" diff --git a/rma_sale/i18n/es.po b/rma_sale/i18n/es.po new file mode 100644 index 000000000..c62bc361b --- /dev/null +++ b/rma_sale/i18n/es.po @@ -0,0 +1,511 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * rma_sale +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 12.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2020-07-01 04:40+0000\n" +"PO-Revision-Date: 2020-10-06 14:16+0000\n" +"Last-Translator: David Vidal \n" +"Language-Team: \n" +"Language: es\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 3.10\n" + +#. module: rma_sale +#: code:addons/rma_sale/controllers/sale_portal.py:0 +#, python-format +msgid " (Portal)" +msgstr " (Portal)" + +#. module: rma_sale +#: code:addons/rma_sale/wizard/sale_order_rma_wizard.py:0 +#, python-format +msgid " has been created." +msgstr " ha sido creado." + +#. module: rma_sale +#: code:addons/rma_sale/wizard/sale_order_rma_wizard.py:0 +#, python-format +msgid " have been created." +msgstr " han sido creados." + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.sale_rma_request_form +msgid "&times;" +msgstr "&times;" + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.sale_rma_request_form +msgid " Request RMAs" +msgstr " Solicitar RMAs" + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.sale_order_portal_template +msgid " Request RMAs" +msgstr " Solicitar RMAs" + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.sale_rma_request_form +msgid " Cancel" +msgstr " Cancelar" + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.sale_rma_request_form +msgid " Choose a delivery address" +msgstr "" + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.sale_rma_request_form +msgid "" +msgstr "" + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.res_config_settings_view_form +msgid "" +"" +msgstr "" + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.sale_order_portal_content +msgid "" +"" +msgstr "" +"" + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.sale_order_portal_content +msgid "RMA" +msgstr "RMA" + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.report_rma_document +msgid "Requested operation:" +msgstr "Operación solicitada:" + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.portal_rma_page +msgid "Requested operation" +msgstr "Operación solicitada:" + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.report_rma_document +msgid "Sale order:" +msgstr "Orden de venta:" + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.portal_rma_page +msgid "Sale order" +msgstr "Orden de venta" + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.sale_order_rma_wizard_form_view +msgid "Accept" +msgstr "Aceptar" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_rma__allowed_move_ids +msgid "Allowed Move" +msgstr "Movimientos permitido" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_rma__allowed_picking_ids +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_line_rma_wizard__allowed_picking_ids +msgid "Allowed Picking" +msgstr "Albaranes permitidos" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_rma__allowed_product_ids +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_line_rma_wizard__allowed_product_ids +msgid "Allowed Product" +msgstr "Producto Permitido" + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.sale_order_rma_wizard_form_view +msgid "Cancel" +msgstr "Cancelar" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_line_rma_wizard__uom_category_id +msgid "Category" +msgstr "Categoría" + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.sale_rma_request_form +msgid "Close" +msgstr "Cerrar" + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.sale_rma_request_form +msgid "" +"Comment anything relevant to the return, like serial numbers, a description " +"of the issue, etc" +msgstr "" +"Comente cualquier asunto relevante relacionado con la devolución, como " +"números de serie, descripción del problema, etc" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_rma_wizard__commercial_partner_id +msgid "Commercial entity" +msgstr "" + +#. module: rma_sale +#: model:ir.model,name:rma_sale.model_res_company +msgid "Companies" +msgstr "" + +#. module: rma_sale +#: model:ir.model,name:rma_sale.model_res_config_settings +msgid "Config Settings" +msgstr "" + +#. module: rma_sale +#: model:ir.model.fields,help:rma_sale.field_sale_order_line_rma_wizard__uom_category_id +msgid "" +"Conversion between Units of Measure can only occur if they belong to the " +"same category. The conversion will be made based on the ratios." +msgstr "" +"La conversión entre las unidades de medidas sólo pueden ocurrir si " +"pertenecen a la misma categoría. La conversión se basará en los ratios " +"establecidos." + +#. module: rma_sale +#: code:addons/rma_sale/models/sale.py:0 +#: model_terms:ir.ui.view,arch_db:rma_sale.view_order_form +#, python-format +msgid "Create RMA" +msgstr "Crear RMA" + +#. module: rma_sale +#: model:ir.actions.act_window,name:rma_sale.sale_order_create_rma_action +msgid "Create RMAs" +msgstr "Crear RMAs" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_line_rma_wizard__create_uid +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_rma_wizard__create_uid +msgid "Created by" +msgstr "Creado por" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_line_rma_wizard__create_date +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_rma_wizard__create_date +msgid "Created on" +msgstr "Creado el" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_rma_wizard__custom_description +msgid "Custom Description" +msgstr "" + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.sale_rma_request_form +msgid "Delivery" +msgstr "Entrega" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_line_rma_wizard__picking_id +msgid "Delivery order" +msgstr "Orden de entrega" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_line_rma_wizard__description +msgid "Description" +msgstr "Descripción" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_line_rma_wizard__display_name +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_rma_wizard__display_name +msgid "Display Name" +msgstr "Nombre mostrado" + +#. module: rma_sale +#: model:ir.model.fields,help:rma_sale.field_res_company__show_full_page_sale_rma +#: model:ir.model.fields,help:rma_sale.field_res_config_settings__show_full_page_sale_rma +msgid "" +"From the frontend sale order page go to a single RMA page creation instead " +"of the usual popup" +msgstr "" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_res_company__show_full_page_sale_rma +#: model:ir.model.fields,field_description:rma_sale.field_res_config_settings__show_full_page_sale_rma +msgid "Full page RMA creation" +msgstr "" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_line_rma_wizard__id +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_rma_wizard__id +msgid "ID" +msgstr "ID" + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.sale_rma_request_form +msgid "If no requested operation is set, the RMA won't be correctly fulfilled" +msgstr "" +"Si no se establece operación solicitada, el RMA no se procesará correctamente" + +#. module: rma_sale +#: model:ir.model,name:rma_sale.model_account_move +msgid "Journal Entry" +msgstr "" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_line_rma_wizard____last_update +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_rma_wizard____last_update +msgid "Last Modified on" +msgstr "Última modificación en" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_line_rma_wizard__write_uid +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_rma_wizard__write_uid +msgid "Last Updated by" +msgstr "Última actualización por" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_line_rma_wizard__write_date +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_rma_wizard__write_date +msgid "Last Updated on" +msgstr "Última actualización el" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_rma_wizard__line_ids +msgid "Lines" +msgstr "Líneas" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_line_rma_wizard__move_id +msgid "Move" +msgstr "Movimiento" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_line_rma_wizard__order_id +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_rma_wizard__order_id +msgid "Order" +msgstr "Orden" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_rma__picking_id +msgid "Origin Delivery" +msgstr "Orden de Entrega" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_rma__move_id +msgid "Origin move" +msgstr "Movimiento" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_rma__product_id +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_line_rma_wizard__product_id +#: model_terms:ir.ui.view,arch_db:rma_sale.sale_rma_request_form +msgid "Product" +msgstr "Producto" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_line_rma_wizard__quantity +#: model_terms:ir.ui.view,arch_db:rma_sale.sale_rma_request_form +msgid "Quantity" +msgstr "Cantidad" + +#. module: rma_sale +#: model:ir.model,name:rma_sale.model_rma +#: model_terms:ir.ui.view,arch_db:rma_sale.view_order_form +msgid "RMA" +msgstr "RMA" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_sale_order__rma_count +msgid "RMA count" +msgstr "Cantidad de RMAs" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_rma_wizard__location_id +msgid "RMA location" +msgstr "Ubicación de RMA" + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.request_rma_single_page +msgid "RMA request for order" +msgstr "" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_sale_order__rma_ids +msgid "RMAs" +msgstr "RMAs" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_rma__refund_id +msgid "Refund" +msgstr "" + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.sale_rma_request_form +msgid "Request RMAs" +msgstr "Solicitar RMAs" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_line_rma_wizard__operation_id +#: model_terms:ir.ui.view,arch_db:rma_sale.sale_rma_request_form +msgid "Requested operation" +msgstr "Operación solicitada" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_rma__sale_line_id +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_line_rma_wizard__sale_line_id +msgid "Sale Line" +msgstr "" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_rma__order_id +msgid "Sale Order" +msgstr "Pedido de venta" + +#. module: rma_sale +#: model:ir.model,name:rma_sale.model_sale_order_line_rma_wizard +msgid "Sale Order Line Rma Wizard" +msgstr "Linea de Asistente de Orden de Venta - RMA " + +#. module: rma_sale +#: model:ir.model,name:rma_sale.model_sale_order_rma_wizard +msgid "Sale Order Rma Wizard" +msgstr "Asistente de Orden de Venta - RMA" + +#. module: rma_sale +#: model:ir.model,name:rma_sale.model_sale_order +msgid "Sales Order" +msgstr "" + +#. module: rma_sale +#: model:ir.model,name:rma_sale.model_sale_order_line +msgid "Sales Order Line" +msgstr "Línea de pedido de venta" + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.sale_rma_request_form +msgid "Select the product quantity and the requested operation" +msgstr "Selecciones la cantidad de producto y la operación solicitada" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_rma_wizard__partner_shipping_id +msgid "Shipping Address" +msgstr "" + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.res_config_settings_view_form +msgid "Show portal RMA request in a single page" +msgstr "" + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.res_config_settings_view_form +msgid "Single page RMA request" +msgstr "" + +#. module: rma_sale +#: model:ir.model,name:rma_sale.model_stock_move +msgid "Stock Move" +msgstr "Movimiento de existencias" + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.sale_rma_request_form +msgid "The limit will decrease when the units in other RMAs are confirmed" +msgstr "" +"El límite disminuirá cuando las unidades de otros RMAs sean confirmadas" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_line_rma_wizard__uom_id +msgid "Unit of Measure" +msgstr "Unidad de medida" + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.sale_rma_request_form +msgid "" +"Use the comment button to add relevant information regarding the RMA, like " +"returned serial numbers or a description of the issue" +msgstr "" +"Utilice el botón de comentarios para añadir información relevante " +"relacionada con el RMA, como números de serie devueltos o una descripción " +"del problema" + +#. module: rma_sale +#: model:ir.model.fields,help:rma_sale.field_sale_order_rma_wizard__custom_description +msgid "Values coming from portal RMA request form custom fields" +msgstr "" + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.res_config_settings_view_form +msgid "" +"When we hit the RMA request button from the portal sale page, open in a " +"single page instead of a popup." +msgstr "" + +#. module: rma_sale +#: model:ir.model.fields,help:rma_sale.field_sale_order_rma_wizard__partner_shipping_id +msgid "Will be used to return the goods when the RMA is completed" +msgstr "" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_line_rma_wizard__wizard_id +msgid "Wizard" +msgstr "Asistente" + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.sale_rma_request_form +msgid "" +"You can only return as much product units as you received for this order" +msgstr "" +"Solo puede devolver tanta cantidad de producto como usted recibió en el " +"pedido original" + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.sale_rma_request_form +msgid "You can send a message in every RMA sent" +msgstr "Puede mandar un mensaje en cada RMA enviado" + +#. module: rma_sale +#: code:addons/rma_sale/models/sale.py:0 +#, python-format +msgid "You may only create RMAs from a confirmed or done sale order." +msgstr "Solo puedes crear RMAs desde una orden de venta confirmada o hecha." + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.sale_rma_request_form +msgid "" +"You're about to perform an RMA request. Our team will process it an will " +"reach you once it's validated. Keep in mind that:" +msgstr "" +"Va a realizar una petición de RMA. Nuestro equipo la procesará y se pondrá " +"en contacto con usted una vez validad. Tenga en cuenta que:" + +#~ msgid "" +#~ "\n" +#~ " If an RMA has already been created for a " +#~ "product in this sales order, it will not\n" +#~ " be possible to create another one from " +#~ "the web portal.\n" +#~ " " +#~ msgstr "" +#~ "\n" +#~ " Si ya se ha creado un RMA para un " +#~ "producto de esta orden de venta, no será\n" +#~ " posible crear otro desde el portal web.\n" +#~ " " + +#~ msgid "Domain Move" +#~ msgstr "Dominio de movimientos" + +#~ msgid "Domain Picking" +#~ msgstr "Dominio de entregas" + +#~ msgid "Domain Product" +#~ msgstr "Dominio de productos" + +#, fuzzy +#~| msgid "Delivery" +#~ msgid "Is Sale Delivery" +#~ msgstr "Es entrega de orden de venta" diff --git a/rma_sale/i18n/it.po b/rma_sale/i18n/it.po new file mode 100644 index 000000000..c54541d2f --- /dev/null +++ b/rma_sale/i18n/it.po @@ -0,0 +1,488 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * rma_sale +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 14.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2023-07-04 15:09+0000\n" +"Last-Translator: mymage \n" +"Language-Team: none\n" +"Language: it\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 4.17\n" + +#. module: rma_sale +#: code:addons/rma_sale/controllers/sale_portal.py:0 +#, python-format +msgid " (Portal)" +msgstr " (Portale)" + +#. module: rma_sale +#: code:addons/rma_sale/wizard/sale_order_rma_wizard.py:0 +#, python-format +msgid " has been created." +msgstr " è stato creato." + +#. module: rma_sale +#: code:addons/rma_sale/wizard/sale_order_rma_wizard.py:0 +#, python-format +msgid " have been created." +msgstr " è stato creato." + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.sale_rma_request_form +msgid "&times;" +msgstr "&volte;" + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.sale_rma_request_form +msgid " Request RMAs" +msgstr " Richiesta RMA" + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.sale_order_portal_template +msgid " Request RMAs" +msgstr " Richiesta RMA" + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.sale_rma_request_form +msgid " Cancel" +msgstr " Annulla" + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.sale_rma_request_form +msgid " Choose a delivery address" +msgstr " Scegli un indirizzo di consegna" + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.sale_rma_request_form +msgid "" +msgstr "" + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.res_config_settings_view_form +msgid "" +"" +msgstr "" +"" + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.sale_order_portal_content +msgid "" +"" +msgstr "" +"" + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.sale_order_portal_content +msgid "RMA" +msgstr "RMA" + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.report_rma_document +msgid "Requested operation:" +msgstr "Operazione richiesta:" + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.portal_rma_page +msgid "Requested operation" +msgstr "Operazione richiesta" + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.report_rma_document +msgid "Sale order:" +msgstr "Ordine di vendita:" + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.portal_rma_page +msgid "Sale order" +msgstr "Ordine di vendita" + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.sale_order_rma_wizard_form_view +msgid "Accept" +msgstr "Accetta" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_rma__allowed_move_ids +msgid "Allowed Move" +msgstr "Movimento consentito" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_rma__allowed_picking_ids +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_line_rma_wizard__allowed_picking_ids +msgid "Allowed Picking" +msgstr "Trasferimento consentito" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_rma__allowed_product_ids +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_line_rma_wizard__allowed_product_ids +msgid "Allowed Product" +msgstr "Prodotto consentito" + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.sale_order_rma_wizard_form_view +msgid "Cancel" +msgstr "Annulla" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_line_rma_wizard__uom_category_id +msgid "Category" +msgstr "Categoria" + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.sale_rma_request_form +msgid "Close" +msgstr "Chiudi" + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.sale_rma_request_form +msgid "" +"Comment anything relevant to the return, like serial numbers, a description " +"of the issue, etc" +msgstr "" +"Commenta qualsiasi cosa rilevante per il reso, come numeri di serie, una " +"descrizione del problema, ecc" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_rma_wizard__commercial_partner_id +msgid "Commercial entity" +msgstr "Entità commerciale" + +#. module: rma_sale +#: model:ir.model,name:rma_sale.model_res_company +msgid "Companies" +msgstr "Aziende" + +#. module: rma_sale +#: model:ir.model,name:rma_sale.model_res_config_settings +msgid "Config Settings" +msgstr "Impostazioni di configurazione" + +#. module: rma_sale +#: model:ir.model.fields,help:rma_sale.field_sale_order_line_rma_wizard__uom_category_id +msgid "" +"Conversion between Units of Measure can only occur if they belong to the " +"same category. The conversion will be made based on the ratios." +msgstr "" +"Le conversioni tra unità di misura possono avvenire solo se appartengono " +"alla stessa categoria. La conversione verrà effettuata in base alle " +"proporzioni." + +#. module: rma_sale +#: code:addons/rma_sale/models/sale.py:0 +#: model_terms:ir.ui.view,arch_db:rma_sale.view_order_form +#, python-format +msgid "Create RMA" +msgstr "Crea RMA" + +#. module: rma_sale +#: model:ir.actions.act_window,name:rma_sale.sale_order_create_rma_action +msgid "Create RMAs" +msgstr "RMA Creati" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_line_rma_wizard__create_uid +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_rma_wizard__create_uid +msgid "Created by" +msgstr "Creato da" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_line_rma_wizard__create_date +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_rma_wizard__create_date +msgid "Created on" +msgstr "Creato il" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_rma_wizard__custom_description +msgid "Custom Description" +msgstr "Descrizione personalizzata" + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.sale_rma_request_form +msgid "Delivery" +msgstr "Consegna" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_line_rma_wizard__picking_id +msgid "Delivery order" +msgstr "Ordine di consegna" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_line_rma_wizard__description +msgid "Description" +msgstr "Descrizione" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_line_rma_wizard__display_name +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_rma_wizard__display_name +msgid "Display Name" +msgstr "Nome visualizzato" + +#. module: rma_sale +#: model:ir.model.fields,help:rma_sale.field_res_company__show_full_page_sale_rma +#: model:ir.model.fields,help:rma_sale.field_res_config_settings__show_full_page_sale_rma +msgid "" +"From the frontend sale order page go to a single RMA page creation instead " +"of the usual popup" +msgstr "" +"Dalla pagina dell'ordine di vendita nel frontend vai alla creazione di una " +"singola pagina RMA invece del solito popup" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_res_company__show_full_page_sale_rma +#: model:ir.model.fields,field_description:rma_sale.field_res_config_settings__show_full_page_sale_rma +msgid "Full page RMA creation" +msgstr "Creazione RMA pagina intera" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_line_rma_wizard__id +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_rma_wizard__id +msgid "ID" +msgstr "ID" + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.sale_rma_request_form +msgid "If no requested operation is set, the RMA won't be correctly fulfilled" +msgstr "" +"Se nessuna operazione richiesta è impostata, l'RMA non sarà completato " +"correttamente" + +#. module: rma_sale +#: model:ir.model,name:rma_sale.model_account_move +msgid "Journal Entry" +msgstr "" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_line_rma_wizard____last_update +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_rma_wizard____last_update +msgid "Last Modified on" +msgstr "Ultima modifica il" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_line_rma_wizard__write_uid +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_rma_wizard__write_uid +msgid "Last Updated by" +msgstr "Ultimo aggiornamento di" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_line_rma_wizard__write_date +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_rma_wizard__write_date +msgid "Last Updated on" +msgstr "Ultimo aggiornamento il" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_rma_wizard__line_ids +msgid "Lines" +msgstr "Righe" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_line_rma_wizard__move_id +msgid "Move" +msgstr "Movimento" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_line_rma_wizard__order_id +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_rma_wizard__order_id +msgid "Order" +msgstr "Ordine" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_rma__picking_id +msgid "Origin Delivery" +msgstr "Origine consegna" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_rma__move_id +msgid "Origin move" +msgstr "Origine movimento" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_rma__product_id +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_line_rma_wizard__product_id +#: model_terms:ir.ui.view,arch_db:rma_sale.sale_rma_request_form +msgid "Product" +msgstr "Prodotto" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_line_rma_wizard__quantity +#: model_terms:ir.ui.view,arch_db:rma_sale.sale_rma_request_form +msgid "Quantity" +msgstr "Quantità" + +#. module: rma_sale +#: model:ir.model,name:rma_sale.model_rma +#: model_terms:ir.ui.view,arch_db:rma_sale.view_order_form +msgid "RMA" +msgstr "RMA" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_sale_order__rma_count +msgid "RMA count" +msgstr "Conteggio RMA" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_rma_wizard__location_id +msgid "RMA location" +msgstr "Ubicazione RMA" + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.request_rma_single_page +msgid "RMA request for order" +msgstr "Richiesta RMA per ordine" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_sale_order__rma_ids +msgid "RMAs" +msgstr "RMA" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_rma__refund_id +msgid "Refund" +msgstr "" + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.sale_rma_request_form +msgid "Request RMAs" +msgstr "Richiesta RMA" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_line_rma_wizard__operation_id +#: model_terms:ir.ui.view,arch_db:rma_sale.sale_rma_request_form +msgid "Requested operation" +msgstr "Operazioni richieste" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_rma__sale_line_id +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_line_rma_wizard__sale_line_id +msgid "Sale Line" +msgstr "Righe di vendita" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_rma__order_id +msgid "Sale Order" +msgstr "Ordine di vendita" + +#. module: rma_sale +#: model:ir.model,name:rma_sale.model_sale_order_line_rma_wizard +msgid "Sale Order Line Rma Wizard" +msgstr "Procedura guidata riga ordine di vendita Rma" + +#. module: rma_sale +#: model:ir.model,name:rma_sale.model_sale_order_rma_wizard +msgid "Sale Order Rma Wizard" +msgstr "Procedura guidata ordine di vendita Rma" + +#. module: rma_sale +#: model:ir.model,name:rma_sale.model_sale_order +msgid "Sales Order" +msgstr "Ordine di vendita" + +#. module: rma_sale +#: model:ir.model,name:rma_sale.model_sale_order_line +msgid "Sales Order Line" +msgstr "Riga ordine di vendita" + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.sale_rma_request_form +msgid "Select the product quantity and the requested operation" +msgstr "Seleziona la quantità prodotto e l'operazione richiesta" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_rma_wizard__partner_shipping_id +msgid "Shipping Address" +msgstr "Indirizzo di spedizione" + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.res_config_settings_view_form +msgid "Show portal RMA request in a single page" +msgstr "Mostra il portale della richiesta RMA in una singola pagina" + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.res_config_settings_view_form +msgid "Single page RMA request" +msgstr "Richiesta RMA a singola pagina" + +#. module: rma_sale +#: model:ir.model,name:rma_sale.model_stock_move +msgid "Stock Move" +msgstr "Movimento di magazzino" + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.sale_rma_request_form +msgid "The limit will decrease when the units in other RMAs are confirmed" +msgstr "Il limite diminuirà quando le unità in altri RMA saranno confermate" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_line_rma_wizard__uom_id +msgid "Unit of Measure" +msgstr "Unità di misura" + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.sale_rma_request_form +msgid "" +"Use the comment button to add relevant information regarding the RMA, like " +"returned serial numbers or a description of the issue" +msgstr "" +"Usa il pulsante commento per aggiungere informazioni rilevanti riguardo " +"l'RMA, come numeri seriali resi o una descrizione dell'errore" + +#. module: rma_sale +#: model:ir.model.fields,help:rma_sale.field_sale_order_rma_wizard__custom_description +msgid "Values coming from portal RMA request form custom fields" +msgstr "" +"Valori provenienti dai campi personalizzati del modulo di richiesta RMA del " +"portale" + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.res_config_settings_view_form +msgid "" +"When we hit the RMA request button from the portal sale page, open in a " +"single page instead of a popup." +msgstr "" +"Quando premiamo il pulsante di richiesta RMA dalla pagina di vendita del " +"portale, apriamo in una singola pagina anziché in un popup." + +#. module: rma_sale +#: model:ir.model.fields,help:rma_sale.field_sale_order_rma_wizard__partner_shipping_id +msgid "Will be used to return the goods when the RMA is completed" +msgstr "Verrà utilizzato per restituire la merce una volta completato l'RMA" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_line_rma_wizard__wizard_id +msgid "Wizard" +msgstr "Procedura guidata" + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.sale_rma_request_form +msgid "" +"You can only return as much product units as you received for this order" +msgstr "" +"Puoi restituire solo le unità di prodotto che hai ricevuto per questo ordine" + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.sale_rma_request_form +msgid "You can send a message in every RMA sent" +msgstr "Puoi inviare un messaggio in ogni RMA inviato" + +#. module: rma_sale +#: code:addons/rma_sale/models/sale.py:0 +#, python-format +msgid "You may only create RMAs from a confirmed or done sale order." +msgstr "Puoi creare RMA solo da un ordine di vendita confermato o concluso." + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.sale_rma_request_form +msgid "" +"You're about to perform an RMA request. Our team will process it an will " +"reach you once it's validated. Keep in mind that:" +msgstr "" +"Stai per eseguire una richiesta RMA. Il nostro team lo elaborerà e ti " +"arriverà una volta convalidato. Tieni presente che:" diff --git a/rma_sale/i18n/nl.po b/rma_sale/i18n/nl.po new file mode 100644 index 000000000..2529ecb36 --- /dev/null +++ b/rma_sale/i18n/nl.po @@ -0,0 +1,479 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * rma_sale +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 13.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2020-12-13 23:19+0000\n" +"Last-Translator: Bosd \n" +"Language-Team: none\n" +"Language: nl\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 4.3.2\n" + +#. module: rma_sale +#: code:addons/rma_sale/controllers/sale_portal.py:0 +#, python-format +msgid " (Portal)" +msgstr " (Portal)" + +#. module: rma_sale +#: code:addons/rma_sale/wizard/sale_order_rma_wizard.py:0 +#, python-format +msgid " has been created." +msgstr " is aangemaakt." + +#. module: rma_sale +#: code:addons/rma_sale/wizard/sale_order_rma_wizard.py:0 +#, python-format +msgid " have been created." +msgstr " is aangemaakt." + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.sale_rma_request_form +msgid "&times;" +msgstr "" + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.sale_rma_request_form +msgid " Request RMAs" +msgstr "" + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.sale_order_portal_template +msgid " Request RMAs" +msgstr "" + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.sale_rma_request_form +msgid " Cancel" +msgstr "" + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.sale_rma_request_form +msgid " Choose a delivery address" +msgstr "" + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.sale_rma_request_form +msgid "" +msgstr "" + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.res_config_settings_view_form +msgid "" +"" +msgstr "" + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.sale_order_portal_content +msgid "" +"" +msgstr "" + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.sale_order_portal_content +msgid "RMA" +msgstr "RMA" + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.report_rma_document +msgid "Requested operation:" +msgstr "" + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.portal_rma_page +msgid "Requested operation" +msgstr "" + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.report_rma_document +msgid "Sale order:" +msgstr "" + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.portal_rma_page +msgid "Sale order" +msgstr "" + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.sale_order_rma_wizard_form_view +msgid "Accept" +msgstr "Accepteer" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_rma__allowed_move_ids +msgid "Allowed Move" +msgstr "" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_rma__allowed_picking_ids +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_line_rma_wizard__allowed_picking_ids +msgid "Allowed Picking" +msgstr "" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_rma__allowed_product_ids +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_line_rma_wizard__allowed_product_ids +msgid "Allowed Product" +msgstr "" + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.sale_order_rma_wizard_form_view +msgid "Cancel" +msgstr "Annuleren" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_line_rma_wizard__uom_category_id +msgid "Category" +msgstr "Categorie" + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.sale_rma_request_form +msgid "Close" +msgstr "Sluiten" + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.sale_rma_request_form +msgid "" +"Comment anything relevant to the return, like serial numbers, a description " +"of the issue, etc" +msgstr "" +"Relevante opmerking voor de retour zending zoals; serie nummers, " +"probleemomschrijving, etc" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_rma_wizard__commercial_partner_id +msgid "Commercial entity" +msgstr "" + +#. module: rma_sale +#: model:ir.model,name:rma_sale.model_res_company +msgid "Companies" +msgstr "" + +#. module: rma_sale +#: model:ir.model,name:rma_sale.model_res_config_settings +msgid "Config Settings" +msgstr "" + +#. module: rma_sale +#: model:ir.model.fields,help:rma_sale.field_sale_order_line_rma_wizard__uom_category_id +msgid "" +"Conversion between Units of Measure can only occur if they belong to the " +"same category. The conversion will be made based on the ratios." +msgstr "" + +#. module: rma_sale +#: code:addons/rma_sale/models/sale.py:0 +#: model_terms:ir.ui.view,arch_db:rma_sale.view_order_form +#, python-format +msgid "Create RMA" +msgstr "RMA aanmaken" + +#. module: rma_sale +#: model:ir.actions.act_window,name:rma_sale.sale_order_create_rma_action +msgid "Create RMAs" +msgstr "" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_line_rma_wizard__create_uid +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_rma_wizard__create_uid +msgid "Created by" +msgstr "Aangemaakt door" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_line_rma_wizard__create_date +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_rma_wizard__create_date +msgid "Created on" +msgstr "Aangemaakt op" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_rma_wizard__custom_description +msgid "Custom Description" +msgstr "" + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.sale_rma_request_form +msgid "Delivery" +msgstr "Levering" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_line_rma_wizard__picking_id +msgid "Delivery order" +msgstr "" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_line_rma_wizard__description +msgid "Description" +msgstr "Omschrijving" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_line_rma_wizard__display_name +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_rma_wizard__display_name +msgid "Display Name" +msgstr "Weergavenaam" + +#. module: rma_sale +#: model:ir.model.fields,help:rma_sale.field_res_company__show_full_page_sale_rma +#: model:ir.model.fields,help:rma_sale.field_res_config_settings__show_full_page_sale_rma +msgid "" +"From the frontend sale order page go to a single RMA page creation instead " +"of the usual popup" +msgstr "" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_res_company__show_full_page_sale_rma +#: model:ir.model.fields,field_description:rma_sale.field_res_config_settings__show_full_page_sale_rma +msgid "Full page RMA creation" +msgstr "" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_line_rma_wizard__id +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_rma_wizard__id +msgid "ID" +msgstr "ID" + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.sale_rma_request_form +msgid "If no requested operation is set, the RMA won't be correctly fulfilled" +msgstr "" + +#. module: rma_sale +#: model:ir.model,name:rma_sale.model_account_move +msgid "Journal Entry" +msgstr "" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_line_rma_wizard____last_update +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_rma_wizard____last_update +msgid "Last Modified on" +msgstr "Laatst bijgewerkt op" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_line_rma_wizard__write_uid +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_rma_wizard__write_uid +msgid "Last Updated by" +msgstr "Laatste update door" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_line_rma_wizard__write_date +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_rma_wizard__write_date +msgid "Last Updated on" +msgstr "Laatste update op" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_rma_wizard__line_ids +msgid "Lines" +msgstr "Regels" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_line_rma_wizard__move_id +msgid "Move" +msgstr "" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_line_rma_wizard__order_id +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_rma_wizard__order_id +msgid "Order" +msgstr "Bestelling" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_rma__picking_id +msgid "Origin Delivery" +msgstr "Originele levering" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_rma__move_id +msgid "Origin move" +msgstr "" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_rma__product_id +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_line_rma_wizard__product_id +#: model_terms:ir.ui.view,arch_db:rma_sale.sale_rma_request_form +msgid "Product" +msgstr "Product" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_line_rma_wizard__quantity +#: model_terms:ir.ui.view,arch_db:rma_sale.sale_rma_request_form +msgid "Quantity" +msgstr "Aantal" + +#. module: rma_sale +#: model:ir.model,name:rma_sale.model_rma +#: model_terms:ir.ui.view,arch_db:rma_sale.view_order_form +msgid "RMA" +msgstr "RMA" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_sale_order__rma_count +msgid "RMA count" +msgstr "RMA aantal" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_rma_wizard__location_id +msgid "RMA location" +msgstr "RMA Locatie" + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.request_rma_single_page +msgid "RMA request for order" +msgstr "" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_sale_order__rma_ids +msgid "RMAs" +msgstr "RMA's" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_rma__refund_id +msgid "Refund" +msgstr "" + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.sale_rma_request_form +msgid "Request RMAs" +msgstr "aangevraagde RMA's" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_line_rma_wizard__operation_id +#: model_terms:ir.ui.view,arch_db:rma_sale.sale_rma_request_form +#, fuzzy +msgid "Requested operation" +msgstr "Verzochte handeling" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_rma__sale_line_id +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_line_rma_wizard__sale_line_id +msgid "Sale Line" +msgstr "" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_rma__order_id +msgid "Sale Order" +msgstr "Verkoop order" + +#. module: rma_sale +#: model:ir.model,name:rma_sale.model_sale_order_line_rma_wizard +msgid "Sale Order Line Rma Wizard" +msgstr "" + +#. module: rma_sale +#: model:ir.model,name:rma_sale.model_sale_order_rma_wizard +msgid "Sale Order Rma Wizard" +msgstr "Verkooporder retour gids" + +#. module: rma_sale +#: model:ir.model,name:rma_sale.model_sale_order +msgid "Sales Order" +msgstr "Verkooporder" + +#. module: rma_sale +#: model:ir.model,name:rma_sale.model_sale_order_line +msgid "Sales Order Line" +msgstr "verkoopregel" + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.sale_rma_request_form +msgid "Select the product quantity and the requested operation" +msgstr "Selecteer het productaantal en de gewenste handeling" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_rma_wizard__partner_shipping_id +msgid "Shipping Address" +msgstr "" + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.res_config_settings_view_form +msgid "Show portal RMA request in a single page" +msgstr "" + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.res_config_settings_view_form +msgid "Single page RMA request" +msgstr "" + +#. module: rma_sale +#: model:ir.model,name:rma_sale.model_stock_move +msgid "Stock Move" +msgstr "Voorraad aanpassing" + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.sale_rma_request_form +msgid "The limit will decrease when the units in other RMAs are confirmed" +msgstr "" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_line_rma_wizard__uom_id +#, fuzzy +msgid "Unit of Measure" +msgstr "Grootheid" + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.sale_rma_request_form +msgid "" +"Use the comment button to add relevant information regarding the RMA, like " +"returned serial numbers or a description of the issue" +msgstr "" +"Gebruik de onderstaande opmerkingen knop om relevante informatie over de RMA " +"in te vullen, zoals serienummer of een omschrijving van het probleem" + +#. module: rma_sale +#: model:ir.model.fields,help:rma_sale.field_sale_order_rma_wizard__custom_description +msgid "Values coming from portal RMA request form custom fields" +msgstr "" + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.res_config_settings_view_form +msgid "" +"When we hit the RMA request button from the portal sale page, open in a " +"single page instead of a popup." +msgstr "" + +#. module: rma_sale +#: model:ir.model.fields,help:rma_sale.field_sale_order_rma_wizard__partner_shipping_id +msgid "Will be used to return the goods when the RMA is completed" +msgstr "" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_line_rma_wizard__wizard_id +msgid "Wizard" +msgstr "gids" + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.sale_rma_request_form +msgid "" +"You can only return as much product units as you received for this order" +msgstr "" +"U kunt maximaal het aantal producten retourneren als dat u in deze " +"bestelling heeft ontvangen" + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.sale_rma_request_form +#, fuzzy +msgid "You can send a message in every RMA sent" +msgstr "U kunt een bericht sturen in elke RMA zending" + +#. module: rma_sale +#: code:addons/rma_sale/models/sale.py:0 +#, python-format +msgid "You may only create RMAs from a confirmed or done sale order." +msgstr "U mag alleen een RMA maken van bevestigde of afgehandelde verkopen." + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.sale_rma_request_form +#, fuzzy +msgid "" +"You're about to perform an RMA request. Our team will process it an will " +"reach you once it's validated. Keep in mind that:" +msgstr "" +"U staat op het punt een RMA verzoek in te dienen. Ons team zal de aanvraag " +"verwerken. Let op dat:" diff --git a/rma_sale/i18n/pt.po b/rma_sale/i18n/pt.po new file mode 100644 index 000000000..aaa61b53d --- /dev/null +++ b/rma_sale/i18n/pt.po @@ -0,0 +1,491 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * rma_sale +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 14.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2021-10-28 02:36+0000\n" +"Last-Translator: Pedro Castro Silva \n" +"Language-Team: none\n" +"Language: pt\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n > 1;\n" +"X-Generator: Weblate 4.3.2\n" + +#. module: rma_sale +#: code:addons/rma_sale/controllers/sale_portal.py:0 +#, python-format +msgid " (Portal)" +msgstr " (Portal)" + +#. module: rma_sale +#: code:addons/rma_sale/wizard/sale_order_rma_wizard.py:0 +#, python-format +msgid " has been created." +msgstr " foi criado(a)." + +#. module: rma_sale +#: code:addons/rma_sale/wizard/sale_order_rma_wizard.py:0 +#, python-format +msgid " have been created." +msgstr " foi criado(a)." + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.sale_rma_request_form +msgid "&times;" +msgstr "&times;" + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.sale_rma_request_form +msgid " Request RMAs" +msgstr " Requerer RMAs" + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.sale_order_portal_template +msgid " Request RMAs" +msgstr " Requerer RMAs" + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.sale_rma_request_form +msgid " Cancel" +msgstr " Cancelar" + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.sale_rma_request_form +msgid " Choose a delivery address" +msgstr " Escolha um endereço de entrega" + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.sale_rma_request_form +msgid "" +msgstr "" + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.res_config_settings_view_form +msgid "" +"" +msgstr "" +"" + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.sale_order_portal_content +msgid "" +"" +msgstr "" +"" + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.sale_order_portal_content +msgid "RMA" +msgstr "RMA" + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.report_rma_document +msgid "Requested operation:" +msgstr "Operação Requerida:" + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.portal_rma_page +msgid "Requested operation" +msgstr "Operação Requerida" + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.report_rma_document +msgid "Sale order:" +msgstr "Encomenda de Venda:" + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.portal_rma_page +msgid "Sale order" +msgstr "Encomenda de Venda" + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.sale_order_rma_wizard_form_view +msgid "Accept" +msgstr "Aceitar" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_rma__allowed_move_ids +msgid "Allowed Move" +msgstr "Movimentação Autorizada" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_rma__allowed_picking_ids +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_line_rma_wizard__allowed_picking_ids +msgid "Allowed Picking" +msgstr "Picking Autorizado" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_rma__allowed_product_ids +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_line_rma_wizard__allowed_product_ids +msgid "Allowed Product" +msgstr "Produto Autorizado" + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.sale_order_rma_wizard_form_view +msgid "Cancel" +msgstr "Cancelar" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_line_rma_wizard__uom_category_id +msgid "Category" +msgstr "Categoria" + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.sale_rma_request_form +msgid "Close" +msgstr "Encerrar" + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.sale_rma_request_form +msgid "" +"Comment anything relevant to the return, like serial numbers, a description " +"of the issue, etc" +msgstr "" +"Comente qualquer coisa relevante para a devolução, como números de série, " +"uma descrição do problema, etc" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_rma_wizard__commercial_partner_id +msgid "Commercial entity" +msgstr "Entidade comercial" + +#. module: rma_sale +#: model:ir.model,name:rma_sale.model_res_company +msgid "Companies" +msgstr "Empresas" + +#. module: rma_sale +#: model:ir.model,name:rma_sale.model_res_config_settings +msgid "Config Settings" +msgstr "Parâmetros de Configuração" + +#. module: rma_sale +#: model:ir.model.fields,help:rma_sale.field_sale_order_line_rma_wizard__uom_category_id +msgid "" +"Conversion between Units of Measure can only occur if they belong to the " +"same category. The conversion will be made based on the ratios." +msgstr "" +"Conversões entre Unidades de Medida só podem ocorrer se pertencerem à mesma " +"categoria. A conversão será feita com base nos coeficientes." + +#. module: rma_sale +#: code:addons/rma_sale/models/sale.py:0 +#: model_terms:ir.ui.view,arch_db:rma_sale.view_order_form +#, python-format +msgid "Create RMA" +msgstr "Criar RMA" + +#. module: rma_sale +#: model:ir.actions.act_window,name:rma_sale.sale_order_create_rma_action +msgid "Create RMAs" +msgstr "Criar RMAs" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_line_rma_wizard__create_uid +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_rma_wizard__create_uid +msgid "Created by" +msgstr "Criado por" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_line_rma_wizard__create_date +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_rma_wizard__create_date +msgid "Created on" +msgstr "Criado em" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_rma_wizard__custom_description +msgid "Custom Description" +msgstr "Descrição Personalizada" + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.sale_rma_request_form +msgid "Delivery" +msgstr "Entrega" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_line_rma_wizard__picking_id +msgid "Delivery order" +msgstr "Ordem de Entrega" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_line_rma_wizard__description +msgid "Description" +msgstr "Descrição" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_line_rma_wizard__display_name +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_rma_wizard__display_name +msgid "Display Name" +msgstr "Nome a Exibir" + +#. module: rma_sale +#: model:ir.model.fields,help:rma_sale.field_res_company__show_full_page_sale_rma +#: model:ir.model.fields,help:rma_sale.field_res_config_settings__show_full_page_sale_rma +msgid "" +"From the frontend sale order page go to a single RMA page creation instead " +"of the usual popup" +msgstr "" +"A partir da página de pedidos de venda de frontend, vá para uma única página " +"de RMA em vez do habitual popup" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_res_company__show_full_page_sale_rma +#: model:ir.model.fields,field_description:rma_sale.field_res_config_settings__show_full_page_sale_rma +msgid "Full page RMA creation" +msgstr "Criação de RMA de página completa" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_line_rma_wizard__id +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_rma_wizard__id +msgid "ID" +msgstr "ID" + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.sale_rma_request_form +msgid "If no requested operation is set, the RMA won't be correctly fulfilled" +msgstr "" +"Se nenhuma operação solicitada for definida, a RMA não será cumprida " +"corretamente" + +#. module: rma_sale +#: model:ir.model,name:rma_sale.model_account_move +msgid "Journal Entry" +msgstr "" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_line_rma_wizard____last_update +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_rma_wizard____last_update +msgid "Last Modified on" +msgstr "Última Modificação em" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_line_rma_wizard__write_uid +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_rma_wizard__write_uid +msgid "Last Updated by" +msgstr "Última Actualização por" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_line_rma_wizard__write_date +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_rma_wizard__write_date +msgid "Last Updated on" +msgstr "Última Actualização em" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_rma_wizard__line_ids +msgid "Lines" +msgstr "Linhas" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_line_rma_wizard__move_id +msgid "Move" +msgstr "Movimento" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_line_rma_wizard__order_id +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_rma_wizard__order_id +msgid "Order" +msgstr "Encomenda" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_rma__picking_id +msgid "Origin Delivery" +msgstr "Origem da Entrega" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_rma__move_id +msgid "Origin move" +msgstr "Origem da Movimentação" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_rma__product_id +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_line_rma_wizard__product_id +#: model_terms:ir.ui.view,arch_db:rma_sale.sale_rma_request_form +msgid "Product" +msgstr "Produto" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_line_rma_wizard__quantity +#: model_terms:ir.ui.view,arch_db:rma_sale.sale_rma_request_form +msgid "Quantity" +msgstr "Quantidade" + +#. module: rma_sale +#: model:ir.model,name:rma_sale.model_rma +#: model_terms:ir.ui.view,arch_db:rma_sale.view_order_form +msgid "RMA" +msgstr "RMA" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_sale_order__rma_count +msgid "RMA count" +msgstr "Contagem de RMA" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_rma_wizard__location_id +msgid "RMA location" +msgstr "Localização do RMA" + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.request_rma_single_page +msgid "RMA request for order" +msgstr "Pedido de RMA de encomenda" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_sale_order__rma_ids +msgid "RMAs" +msgstr "RMAs" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_rma__refund_id +msgid "Refund" +msgstr "" + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.sale_rma_request_form +msgid "Request RMAs" +msgstr "Requisição de RMAs" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_line_rma_wizard__operation_id +#: model_terms:ir.ui.view,arch_db:rma_sale.sale_rma_request_form +msgid "Requested operation" +msgstr "Operação Requisitada" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_rma__sale_line_id +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_line_rma_wizard__sale_line_id +msgid "Sale Line" +msgstr "Linha de Venda" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_rma__order_id +msgid "Sale Order" +msgstr "Encomenda de Venda" + +#. module: rma_sale +#: model:ir.model,name:rma_sale.model_sale_order_line_rma_wizard +msgid "Sale Order Line Rma Wizard" +msgstr "Assistente da Linha de RMA da Encomenda de Venda" + +#. module: rma_sale +#: model:ir.model,name:rma_sale.model_sale_order_rma_wizard +msgid "Sale Order Rma Wizard" +msgstr "Assistente da RMA da Encomenda de Venda" + +#. module: rma_sale +#: model:ir.model,name:rma_sale.model_sale_order +msgid "Sales Order" +msgstr "Encomenda de Venda" + +#. module: rma_sale +#: model:ir.model,name:rma_sale.model_sale_order_line +msgid "Sales Order Line" +msgstr "Linha de Encomenda de Venda" + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.sale_rma_request_form +msgid "Select the product quantity and the requested operation" +msgstr "Selecione a quantidade de produto e a operação solicitada" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_rma_wizard__partner_shipping_id +msgid "Shipping Address" +msgstr "Endereço de Envio" + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.res_config_settings_view_form +msgid "Show portal RMA request in a single page" +msgstr "Mostrar pedido de RMA do portal numa única página" + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.res_config_settings_view_form +msgid "Single page RMA request" +msgstr "Pedido de RMA de página única" + +#. module: rma_sale +#: model:ir.model,name:rma_sale.model_stock_move +msgid "Stock Move" +msgstr "Movimento de Stock" + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.sale_rma_request_form +msgid "The limit will decrease when the units in other RMAs are confirmed" +msgstr "" +"O limite irá diminuir quando as unidades noutras RMAs forem confirmadas" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_line_rma_wizard__uom_id +msgid "Unit of Measure" +msgstr "Unidade de Medida" + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.sale_rma_request_form +msgid "" +"Use the comment button to add relevant information regarding the RMA, like " +"returned serial numbers or a description of the issue" +msgstr "" +"Use o botão de comentário para adicionar informações relevantes sobre a RMA, " +"como números de série devolvidos ou uma descrição do problema" + +#. module: rma_sale +#: model:ir.model.fields,help:rma_sale.field_sale_order_rma_wizard__custom_description +msgid "Values coming from portal RMA request form custom fields" +msgstr "" +"Valores provenientes de campos personalizados do formulário de solicitação " +"de RMA do portal" + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.res_config_settings_view_form +msgid "" +"When we hit the RMA request button from the portal sale page, open in a " +"single page instead of a popup." +msgstr "" +"Quando pressionamos o botão de solicitação de RMA da página de venda do " +"portal, abrimos numa única página em vez de um popup." + +#. module: rma_sale +#: model:ir.model.fields,help:rma_sale.field_sale_order_rma_wizard__partner_shipping_id +msgid "Will be used to return the goods when the RMA is completed" +msgstr "Será usado para devolver a mercadoria quando a RMA for concluída" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_line_rma_wizard__wizard_id +msgid "Wizard" +msgstr "Assistente" + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.sale_rma_request_form +msgid "" +"You can only return as much product units as you received for this order" +msgstr "" +"Só pode devolver tantas unidades de produto quanto as que recebeu para esta " +"encomenda" + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.sale_rma_request_form +msgid "You can send a message in every RMA sent" +msgstr "Você pode enviar uma mensagem em cada RMA enviada" + +#. module: rma_sale +#: code:addons/rma_sale/models/sale.py:0 +#, python-format +msgid "You may only create RMAs from a confirmed or done sale order." +msgstr "" +"Você só pode criar RMAs a partir de uma encomanda de venda confirmada ou " +"concluída." + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.sale_rma_request_form +msgid "" +"You're about to perform an RMA request. Our team will process it an will " +"reach you once it's validated. Keep in mind that:" +msgstr "" +"Você está prestes a realizar um pedido de RMA. A nossa equipa irá processá-" +"lo e entrará em contacto assim que for validado. Tenha presente que:" diff --git a/rma_sale/i18n/pt_BR.po b/rma_sale/i18n/pt_BR.po new file mode 100644 index 000000000..ba863cca4 --- /dev/null +++ b/rma_sale/i18n/pt_BR.po @@ -0,0 +1,487 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * rma_sale +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 12.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2020-07-22 18:19+0000\n" +"Last-Translator: Fernando Colus \n" +"Language-Team: none\n" +"Language: pt_BR\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n > 1;\n" +"X-Generator: Weblate 3.10\n" + +#. module: rma_sale +#: code:addons/rma_sale/controllers/sale_portal.py:0 +#, python-format +msgid " (Portal)" +msgstr " (Portal)" + +#. module: rma_sale +#: code:addons/rma_sale/wizard/sale_order_rma_wizard.py:0 +#, python-format +msgid " has been created." +msgstr " foi criado(a)." + +#. module: rma_sale +#: code:addons/rma_sale/wizard/sale_order_rma_wizard.py:0 +#, python-format +msgid " have been created." +msgstr " foi criado(a)." + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.sale_rma_request_form +msgid "&times;" +msgstr "&tempos;" + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.sale_rma_request_form +msgid " Request RMAs" +msgstr " Requerer RMAs" + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.sale_order_portal_template +msgid " Request RMAs" +msgstr " Requerer RMAs" + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.sale_rma_request_form +msgid " Cancel" +msgstr " Cancelar" + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.sale_rma_request_form +msgid " Choose a delivery address" +msgstr "" + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.sale_rma_request_form +msgid "" +msgstr "" + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.res_config_settings_view_form +msgid "" +"" +msgstr "" + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.sale_order_portal_content +msgid "" +"" +msgstr "" +"" + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.sale_order_portal_content +msgid "RMA" +msgstr "RMA" + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.report_rma_document +msgid "Requested operation:" +msgstr "Operação Requerida:" + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.portal_rma_page +msgid "Requested operation" +msgstr "Operação Requerida" + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.report_rma_document +msgid "Sale order:" +msgstr "Pedido de Venda:" + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.portal_rma_page +msgid "Sale order" +msgstr "Pedido de Venda" + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.sale_order_rma_wizard_form_view +msgid "Accept" +msgstr "Aceitar" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_rma__allowed_move_ids +msgid "Allowed Move" +msgstr "Movimentação Autorizada" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_rma__allowed_picking_ids +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_line_rma_wizard__allowed_picking_ids +msgid "Allowed Picking" +msgstr "Coleta Autorizada" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_rma__allowed_product_ids +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_line_rma_wizard__allowed_product_ids +msgid "Allowed Product" +msgstr "Produto Autorizado" + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.sale_order_rma_wizard_form_view +msgid "Cancel" +msgstr "Cancelar" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_line_rma_wizard__uom_category_id +msgid "Category" +msgstr "Categoria" + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.sale_rma_request_form +msgid "Close" +msgstr "Encerrar" + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.sale_rma_request_form +msgid "" +"Comment anything relevant to the return, like serial numbers, a description " +"of the issue, etc" +msgstr "" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_rma_wizard__commercial_partner_id +msgid "Commercial entity" +msgstr "" + +#. module: rma_sale +#: model:ir.model,name:rma_sale.model_res_company +msgid "Companies" +msgstr "" + +#. module: rma_sale +#: model:ir.model,name:rma_sale.model_res_config_settings +msgid "Config Settings" +msgstr "" + +#. module: rma_sale +#: model:ir.model.fields,help:rma_sale.field_sale_order_line_rma_wizard__uom_category_id +msgid "" +"Conversion between Units of Measure can only occur if they belong to the " +"same category. The conversion will be made based on the ratios." +msgstr "" +"Uma conversão entre unidades de medida só poderá ocorrer se pertencer à " +"mesma categoria. A conversão será feita com base nas proporções." + +#. module: rma_sale +#: code:addons/rma_sale/models/sale.py:0 +#: model_terms:ir.ui.view,arch_db:rma_sale.view_order_form +#, python-format +msgid "Create RMA" +msgstr "Criar RMA" + +#. module: rma_sale +#: model:ir.actions.act_window,name:rma_sale.sale_order_create_rma_action +msgid "Create RMAs" +msgstr "Criar RMAs" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_line_rma_wizard__create_uid +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_rma_wizard__create_uid +msgid "Created by" +msgstr "Criado por" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_line_rma_wizard__create_date +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_rma_wizard__create_date +msgid "Created on" +msgstr "Criado em" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_rma_wizard__custom_description +msgid "Custom Description" +msgstr "" + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.sale_rma_request_form +msgid "Delivery" +msgstr "Entrega" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_line_rma_wizard__picking_id +msgid "Delivery order" +msgstr "Ordem de Entrega" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_line_rma_wizard__description +msgid "Description" +msgstr "" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_line_rma_wizard__display_name +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_rma_wizard__display_name +msgid "Display Name" +msgstr "Exibir Nome" + +#. module: rma_sale +#: model:ir.model.fields,help:rma_sale.field_res_company__show_full_page_sale_rma +#: model:ir.model.fields,help:rma_sale.field_res_config_settings__show_full_page_sale_rma +msgid "" +"From the frontend sale order page go to a single RMA page creation instead " +"of the usual popup" +msgstr "" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_res_company__show_full_page_sale_rma +#: model:ir.model.fields,field_description:rma_sale.field_res_config_settings__show_full_page_sale_rma +msgid "Full page RMA creation" +msgstr "" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_line_rma_wizard__id +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_rma_wizard__id +msgid "ID" +msgstr "ID" + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.sale_rma_request_form +msgid "If no requested operation is set, the RMA won't be correctly fulfilled" +msgstr "" + +#. module: rma_sale +#: model:ir.model,name:rma_sale.model_account_move +msgid "Journal Entry" +msgstr "" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_line_rma_wizard____last_update +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_rma_wizard____last_update +msgid "Last Modified on" +msgstr "Última modificação Feita em" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_line_rma_wizard__write_uid +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_rma_wizard__write_uid +msgid "Last Updated by" +msgstr "Última Atualização Feita por" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_line_rma_wizard__write_date +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_rma_wizard__write_date +msgid "Last Updated on" +msgstr "Última Atualização Feita em" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_rma_wizard__line_ids +msgid "Lines" +msgstr "Linhas" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_line_rma_wizard__move_id +msgid "Move" +msgstr "Movimentação" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_line_rma_wizard__order_id +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_rma_wizard__order_id +msgid "Order" +msgstr "Pedido" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_rma__picking_id +msgid "Origin Delivery" +msgstr "Origem da Entrega" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_rma__move_id +msgid "Origin move" +msgstr "Origem da Movimentação" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_rma__product_id +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_line_rma_wizard__product_id +#: model_terms:ir.ui.view,arch_db:rma_sale.sale_rma_request_form +msgid "Product" +msgstr "Produto" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_line_rma_wizard__quantity +#: model_terms:ir.ui.view,arch_db:rma_sale.sale_rma_request_form +msgid "Quantity" +msgstr "Quantidade" + +#. module: rma_sale +#: model:ir.model,name:rma_sale.model_rma +#: model_terms:ir.ui.view,arch_db:rma_sale.view_order_form +msgid "RMA" +msgstr "RMA" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_sale_order__rma_count +msgid "RMA count" +msgstr "Contagem de RMA" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_rma_wizard__location_id +msgid "RMA location" +msgstr "Localização do RMA" + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.request_rma_single_page +msgid "RMA request for order" +msgstr "" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_sale_order__rma_ids +msgid "RMAs" +msgstr "RMAs" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_rma__refund_id +msgid "Refund" +msgstr "" + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.sale_rma_request_form +msgid "Request RMAs" +msgstr "Requisição de RMAs" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_line_rma_wizard__operation_id +#: model_terms:ir.ui.view,arch_db:rma_sale.sale_rma_request_form +msgid "Requested operation" +msgstr "Operação Requisitada" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_rma__sale_line_id +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_line_rma_wizard__sale_line_id +msgid "Sale Line" +msgstr "" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_rma__order_id +msgid "Sale Order" +msgstr "Pedido de Venda" + +#. module: rma_sale +#: model:ir.model,name:rma_sale.model_sale_order_line_rma_wizard +msgid "Sale Order Line Rma Wizard" +msgstr "Assistente da Linha do Pedido de Venda RMA" + +#. module: rma_sale +#: model:ir.model,name:rma_sale.model_sale_order_rma_wizard +msgid "Sale Order Rma Wizard" +msgstr "Assistente do Pedido de Venda RMA" + +#. module: rma_sale +#: model:ir.model,name:rma_sale.model_sale_order +msgid "Sales Order" +msgstr "" + +#. module: rma_sale +#: model:ir.model,name:rma_sale.model_sale_order_line +msgid "Sales Order Line" +msgstr "Linha do Pedido de Venda" + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.sale_rma_request_form +msgid "Select the product quantity and the requested operation" +msgstr "" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_rma_wizard__partner_shipping_id +msgid "Shipping Address" +msgstr "" + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.res_config_settings_view_form +msgid "Show portal RMA request in a single page" +msgstr "" + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.res_config_settings_view_form +msgid "Single page RMA request" +msgstr "" + +#. module: rma_sale +#: model:ir.model,name:rma_sale.model_stock_move +msgid "Stock Move" +msgstr "" + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.sale_rma_request_form +msgid "The limit will decrease when the units in other RMAs are confirmed" +msgstr "" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_line_rma_wizard__uom_id +msgid "Unit of Measure" +msgstr "Unidade de Medida" + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.sale_rma_request_form +msgid "" +"Use the comment button to add relevant information regarding the RMA, like " +"returned serial numbers or a description of the issue" +msgstr "" + +#. module: rma_sale +#: model:ir.model.fields,help:rma_sale.field_sale_order_rma_wizard__custom_description +msgid "Values coming from portal RMA request form custom fields" +msgstr "" + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.res_config_settings_view_form +msgid "" +"When we hit the RMA request button from the portal sale page, open in a " +"single page instead of a popup." +msgstr "" + +#. module: rma_sale +#: model:ir.model.fields,help:rma_sale.field_sale_order_rma_wizard__partner_shipping_id +msgid "Will be used to return the goods when the RMA is completed" +msgstr "" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_line_rma_wizard__wizard_id +msgid "Wizard" +msgstr "Assistente" + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.sale_rma_request_form +msgid "" +"You can only return as much product units as you received for this order" +msgstr "" + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.sale_rma_request_form +msgid "You can send a message in every RMA sent" +msgstr "" + +#. module: rma_sale +#: code:addons/rma_sale/models/sale.py:0 +#, python-format +msgid "You may only create RMAs from a confirmed or done sale order." +msgstr "" +"Você só pode criar RMAs a partir de um pedido de venda confirmado ou " +"concluído." + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.sale_rma_request_form +msgid "" +"You're about to perform an RMA request. Our team will process it an will " +"reach you once it's validated. Keep in mind that:" +msgstr "" + +#~ msgid "" +#~ "\n" +#~ " If an RMA has already been created for a " +#~ "product in this sales order, it will not\n" +#~ " be possible to create another one from " +#~ "the web portal.\n" +#~ " " +#~ msgstr "" +#~ "\n" +#~ " Se um RMA já houver sido criado para um " +#~ "produto no pedido de venda,\n" +#~ " não será possível criar outro através do " +#~ "portal web.\n" +#~ " " diff --git a/rma_sale/i18n/rma_sale.pot b/rma_sale/i18n/rma_sale.pot new file mode 100644 index 000000000..807c4006f --- /dev/null +++ b/rma_sale/i18n/rma_sale.pot @@ -0,0 +1,463 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * rma_sale +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 15.0\n" +"Report-Msgid-Bugs-To: \n" +"Last-Translator: \n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: \n" + +#. module: rma_sale +#: code:addons/rma_sale/controllers/sale_portal.py:0 +#, python-format +msgid " (Portal)" +msgstr "" + +#. module: rma_sale +#: code:addons/rma_sale/wizard/sale_order_rma_wizard.py:0 +#, python-format +msgid " has been created." +msgstr "" + +#. module: rma_sale +#: code:addons/rma_sale/wizard/sale_order_rma_wizard.py:0 +#, python-format +msgid " have been created." +msgstr "" + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.sale_rma_request_form +msgid "&times;" +msgstr "" + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.sale_rma_request_form +msgid " Request RMAs" +msgstr "" + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.sale_order_portal_template +msgid " Request RMAs" +msgstr "" + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.sale_rma_request_form +msgid " Cancel" +msgstr "" + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.sale_rma_request_form +msgid " Choose a delivery address" +msgstr "" + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.sale_rma_request_form +msgid "" +msgstr "" + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.res_config_settings_view_form +msgid "" +"" +msgstr "" + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.sale_order_portal_content +msgid "" +msgstr "" + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.sale_order_portal_content +msgid "RMA" +msgstr "" + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.report_rma_document +msgid "Requested operation:" +msgstr "" + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.portal_rma_page +msgid "Requested operation" +msgstr "" + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.report_rma_document +msgid "Sale order:" +msgstr "" + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.portal_rma_page +msgid "Sale order" +msgstr "" + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.sale_order_rma_wizard_form_view +msgid "Accept" +msgstr "" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_rma__allowed_move_ids +msgid "Allowed Move" +msgstr "" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_rma__allowed_picking_ids +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_line_rma_wizard__allowed_picking_ids +msgid "Allowed Picking" +msgstr "" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_rma__allowed_product_ids +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_line_rma_wizard__allowed_product_ids +msgid "Allowed Product" +msgstr "" + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.sale_order_rma_wizard_form_view +msgid "Cancel" +msgstr "" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_line_rma_wizard__uom_category_id +msgid "Category" +msgstr "" + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.sale_rma_request_form +msgid "Close" +msgstr "" + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.sale_rma_request_form +msgid "" +"Comment anything relevant to the return, like serial numbers, a description " +"of the issue, etc" +msgstr "" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_rma_wizard__commercial_partner_id +msgid "Commercial entity" +msgstr "" + +#. module: rma_sale +#: model:ir.model,name:rma_sale.model_res_company +msgid "Companies" +msgstr "" + +#. module: rma_sale +#: model:ir.model,name:rma_sale.model_res_config_settings +msgid "Config Settings" +msgstr "" + +#. module: rma_sale +#: model:ir.model.fields,help:rma_sale.field_sale_order_line_rma_wizard__uom_category_id +msgid "" +"Conversion between Units of Measure can only occur if they belong to the " +"same category. The conversion will be made based on the ratios." +msgstr "" + +#. module: rma_sale +#: code:addons/rma_sale/models/sale.py:0 +#: model_terms:ir.ui.view,arch_db:rma_sale.view_order_form +#, python-format +msgid "Create RMA" +msgstr "" + +#. module: rma_sale +#: model:ir.actions.act_window,name:rma_sale.sale_order_create_rma_action +msgid "Create RMAs" +msgstr "" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_line_rma_wizard__create_uid +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_rma_wizard__create_uid +msgid "Created by" +msgstr "" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_line_rma_wizard__create_date +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_rma_wizard__create_date +msgid "Created on" +msgstr "" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_rma_wizard__custom_description +msgid "Custom Description" +msgstr "" + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.sale_rma_request_form +msgid "Delivery" +msgstr "" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_line_rma_wizard__picking_id +msgid "Delivery order" +msgstr "" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_line_rma_wizard__description +msgid "Description" +msgstr "" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_line_rma_wizard__display_name +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_rma_wizard__display_name +msgid "Display Name" +msgstr "" + +#. module: rma_sale +#: model:ir.model.fields,help:rma_sale.field_res_company__show_full_page_sale_rma +#: model:ir.model.fields,help:rma_sale.field_res_config_settings__show_full_page_sale_rma +msgid "" +"From the frontend sale order page go to a single RMA page creation instead " +"of the usual popup" +msgstr "" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_res_company__show_full_page_sale_rma +#: model:ir.model.fields,field_description:rma_sale.field_res_config_settings__show_full_page_sale_rma +msgid "Full page RMA creation" +msgstr "" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_line_rma_wizard__id +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_rma_wizard__id +msgid "ID" +msgstr "" + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.sale_rma_request_form +msgid "If no requested operation is set, the RMA won't be correctly fulfilled" +msgstr "" + +#. module: rma_sale +#: model:ir.model,name:rma_sale.model_account_move +msgid "Journal Entry" +msgstr "" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_line_rma_wizard____last_update +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_rma_wizard____last_update +msgid "Last Modified on" +msgstr "" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_line_rma_wizard__write_uid +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_rma_wizard__write_uid +msgid "Last Updated by" +msgstr "" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_line_rma_wizard__write_date +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_rma_wizard__write_date +msgid "Last Updated on" +msgstr "" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_rma_wizard__line_ids +msgid "Lines" +msgstr "" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_line_rma_wizard__move_id +msgid "Move" +msgstr "" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_line_rma_wizard__order_id +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_rma_wizard__order_id +msgid "Order" +msgstr "" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_rma__picking_id +msgid "Origin Delivery" +msgstr "" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_rma__move_id +msgid "Origin move" +msgstr "" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_rma__product_id +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_line_rma_wizard__product_id +#: model_terms:ir.ui.view,arch_db:rma_sale.sale_rma_request_form +msgid "Product" +msgstr "" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_line_rma_wizard__quantity +#: model_terms:ir.ui.view,arch_db:rma_sale.sale_rma_request_form +msgid "Quantity" +msgstr "" + +#. module: rma_sale +#: model:ir.model,name:rma_sale.model_rma +#: model_terms:ir.ui.view,arch_db:rma_sale.view_order_form +msgid "RMA" +msgstr "" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_sale_order__rma_count +msgid "RMA count" +msgstr "" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_rma_wizard__location_id +msgid "RMA location" +msgstr "" + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.request_rma_single_page +msgid "RMA request for order" +msgstr "" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_sale_order__rma_ids +msgid "RMAs" +msgstr "" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_rma__refund_id +msgid "Refund" +msgstr "" + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.sale_rma_request_form +msgid "Request RMAs" +msgstr "" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_line_rma_wizard__operation_id +#: model_terms:ir.ui.view,arch_db:rma_sale.sale_rma_request_form +msgid "Requested operation" +msgstr "" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_rma__sale_line_id +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_line_rma_wizard__sale_line_id +msgid "Sale Line" +msgstr "" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_rma__order_id +msgid "Sale Order" +msgstr "" + +#. module: rma_sale +#: model:ir.model,name:rma_sale.model_sale_order_line_rma_wizard +msgid "Sale Order Line Rma Wizard" +msgstr "" + +#. module: rma_sale +#: model:ir.model,name:rma_sale.model_sale_order_rma_wizard +msgid "Sale Order Rma Wizard" +msgstr "" + +#. module: rma_sale +#: model:ir.model,name:rma_sale.model_sale_order +msgid "Sales Order" +msgstr "" + +#. module: rma_sale +#: model:ir.model,name:rma_sale.model_sale_order_line +msgid "Sales Order Line" +msgstr "" + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.sale_rma_request_form +msgid "Select the product quantity and the requested operation" +msgstr "" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_rma_wizard__partner_shipping_id +msgid "Shipping Address" +msgstr "" + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.res_config_settings_view_form +msgid "Show portal RMA request in a single page" +msgstr "" + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.res_config_settings_view_form +msgid "Single page RMA request" +msgstr "" + +#. module: rma_sale +#: model:ir.model,name:rma_sale.model_stock_move +msgid "Stock Move" +msgstr "" + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.sale_rma_request_form +msgid "The limit will decrease when the units in other RMAs are confirmed" +msgstr "" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_line_rma_wizard__uom_id +msgid "Unit of Measure" +msgstr "" + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.sale_rma_request_form +msgid "" +"Use the comment button to add relevant information regarding the RMA, like " +"returned serial numbers or a description of the issue" +msgstr "" + +#. module: rma_sale +#: model:ir.model.fields,help:rma_sale.field_sale_order_rma_wizard__custom_description +msgid "Values coming from portal RMA request form custom fields" +msgstr "" + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.res_config_settings_view_form +msgid "" +"When we hit the RMA request button from the portal sale page, open in a " +"single page instead of a popup." +msgstr "" + +#. module: rma_sale +#: model:ir.model.fields,help:rma_sale.field_sale_order_rma_wizard__partner_shipping_id +msgid "Will be used to return the goods when the RMA is completed" +msgstr "" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_line_rma_wizard__wizard_id +msgid "Wizard" +msgstr "" + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.sale_rma_request_form +msgid "" +"You can only return as much product units as you received for this order" +msgstr "" + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.sale_rma_request_form +msgid "You can send a message in every RMA sent" +msgstr "" + +#. module: rma_sale +#: code:addons/rma_sale/models/sale.py:0 +#, python-format +msgid "You may only create RMAs from a confirmed or done sale order." +msgstr "" + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.sale_rma_request_form +msgid "" +"You're about to perform an RMA request. Our team will process it an will " +"reach you once it's validated. Keep in mind that:" +msgstr "" diff --git a/rma_sale/i18n/ro.po b/rma_sale/i18n/ro.po new file mode 100644 index 000000000..70b3309a9 --- /dev/null +++ b/rma_sale/i18n/ro.po @@ -0,0 +1,483 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * rma_sale +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 13.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2020-12-20 05:43+0000\n" +"Last-Translator: Dorin Hongu \n" +"Language-Team: none\n" +"Language: ro\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=3; plural=n==1 ? 0 : (n==0 || (n%100 > 0 && n%100 < " +"20)) ? 1 : 2;\n" +"X-Generator: Weblate 4.3.2\n" + +#. module: rma_sale +#: code:addons/rma_sale/controllers/sale_portal.py:0 +#, python-format +msgid " (Portal)" +msgstr " (Portal)" + +#. module: rma_sale +#: code:addons/rma_sale/wizard/sale_order_rma_wizard.py:0 +#, python-format +msgid " has been created." +msgstr " a fost creat." + +#. module: rma_sale +#: code:addons/rma_sale/wizard/sale_order_rma_wizard.py:0 +#, python-format +msgid " have been created." +msgstr " au fost create." + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.sale_rma_request_form +msgid "&times;" +msgstr "&times;" + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.sale_rma_request_form +msgid " Request RMAs" +msgstr " Cerere retur" + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.sale_order_portal_template +msgid " Request RMAs" +msgstr " Cerere retur" + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.sale_rma_request_form +msgid " Cancel" +msgstr " Anulat" + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.sale_rma_request_form +msgid " Choose a delivery address" +msgstr "" + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.sale_rma_request_form +msgid "" +msgstr "" + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.res_config_settings_view_form +msgid "" +"" +msgstr "" + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.sale_order_portal_content +msgid "" +"" +msgstr "" +"" + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.sale_order_portal_content +msgid "RMA" +msgstr "Retur" + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.report_rma_document +msgid "Requested operation:" +msgstr "Operație solicitată:" + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.portal_rma_page +msgid "Requested operation" +msgstr "Operație solicitată" + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.report_rma_document +msgid "Sale order:" +msgstr "Comandă vânzare:" + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.portal_rma_page +msgid "Sale order" +msgstr "Comandă vânzare" + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.sale_order_rma_wizard_form_view +msgid "Accept" +msgstr "Acceptă" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_rma__allowed_move_ids +msgid "Allowed Move" +msgstr "Mișcare permisă" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_rma__allowed_picking_ids +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_line_rma_wizard__allowed_picking_ids +msgid "Allowed Picking" +msgstr "Transfer permis" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_rma__allowed_product_ids +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_line_rma_wizard__allowed_product_ids +msgid "Allowed Product" +msgstr "Produs permis" + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.sale_order_rma_wizard_form_view +msgid "Cancel" +msgstr "Revocare" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_line_rma_wizard__uom_category_id +msgid "Category" +msgstr "Categorie" + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.sale_rma_request_form +msgid "Close" +msgstr "Închide" + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.sale_rma_request_form +msgid "" +"Comment anything relevant to the return, like serial numbers, a description " +"of the issue, etc" +msgstr "" +"Menționează orice este relevant pentru returnare, cum ar fi numerele de " +"serie, o descriere a problemei etc." + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_rma_wizard__commercial_partner_id +msgid "Commercial entity" +msgstr "" + +#. module: rma_sale +#: model:ir.model,name:rma_sale.model_res_company +msgid "Companies" +msgstr "" + +#. module: rma_sale +#: model:ir.model,name:rma_sale.model_res_config_settings +msgid "Config Settings" +msgstr "" + +#. module: rma_sale +#: model:ir.model.fields,help:rma_sale.field_sale_order_line_rma_wizard__uom_category_id +msgid "" +"Conversion between Units of Measure can only occur if they belong to the " +"same category. The conversion will be made based on the ratios." +msgstr "" +"Conversia între unitățile de măsură poate avea loc numai dacă aparțin " +"aceleiași categorii. Conversia se va face pe baza rapoartelor." + +#. module: rma_sale +#: code:addons/rma_sale/models/sale.py:0 +#: model_terms:ir.ui.view,arch_db:rma_sale.view_order_form +#, python-format +msgid "Create RMA" +msgstr "Creați cerere retur" + +#. module: rma_sale +#: model:ir.actions.act_window,name:rma_sale.sale_order_create_rma_action +msgid "Create RMAs" +msgstr "Creați cereri retur" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_line_rma_wizard__create_uid +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_rma_wizard__create_uid +msgid "Created by" +msgstr "Creat de" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_line_rma_wizard__create_date +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_rma_wizard__create_date +msgid "Created on" +msgstr "Creat pe" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_rma_wizard__custom_description +msgid "Custom Description" +msgstr "" + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.sale_rma_request_form +msgid "Delivery" +msgstr "Livrare" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_line_rma_wizard__picking_id +msgid "Delivery order" +msgstr "Comandă livrare" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_line_rma_wizard__description +msgid "Description" +msgstr "Descriere" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_line_rma_wizard__display_name +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_rma_wizard__display_name +msgid "Display Name" +msgstr "Nume afișat" + +#. module: rma_sale +#: model:ir.model.fields,help:rma_sale.field_res_company__show_full_page_sale_rma +#: model:ir.model.fields,help:rma_sale.field_res_config_settings__show_full_page_sale_rma +msgid "" +"From the frontend sale order page go to a single RMA page creation instead " +"of the usual popup" +msgstr "" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_res_company__show_full_page_sale_rma +#: model:ir.model.fields,field_description:rma_sale.field_res_config_settings__show_full_page_sale_rma +msgid "Full page RMA creation" +msgstr "" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_line_rma_wizard__id +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_rma_wizard__id +msgid "ID" +msgstr "ID" + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.sale_rma_request_form +msgid "If no requested operation is set, the RMA won't be correctly fulfilled" +msgstr "" +"Dacă nu este setată nicio operațiune solicitată, cererea de retur nu va fi " +"completată corect" + +#. module: rma_sale +#: model:ir.model,name:rma_sale.model_account_move +msgid "Journal Entry" +msgstr "" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_line_rma_wizard____last_update +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_rma_wizard____last_update +msgid "Last Modified on" +msgstr "Ultima modificare în" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_line_rma_wizard__write_uid +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_rma_wizard__write_uid +msgid "Last Updated by" +msgstr "Ultima modificare de" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_line_rma_wizard__write_date +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_rma_wizard__write_date +msgid "Last Updated on" +msgstr "Ultima modificare în" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_rma_wizard__line_ids +msgid "Lines" +msgstr "Linii" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_line_rma_wizard__move_id +msgid "Move" +msgstr "Mișcare" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_line_rma_wizard__order_id +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_rma_wizard__order_id +msgid "Order" +msgstr "Comandă" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_rma__picking_id +msgid "Origin Delivery" +msgstr "Livrare origine" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_rma__move_id +msgid "Origin move" +msgstr "Mișcare origine" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_rma__product_id +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_line_rma_wizard__product_id +#: model_terms:ir.ui.view,arch_db:rma_sale.sale_rma_request_form +msgid "Product" +msgstr "Produs" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_line_rma_wizard__quantity +#: model_terms:ir.ui.view,arch_db:rma_sale.sale_rma_request_form +msgid "Quantity" +msgstr "Cantitate" + +#. module: rma_sale +#: model:ir.model,name:rma_sale.model_rma +#: model_terms:ir.ui.view,arch_db:rma_sale.view_order_form +msgid "RMA" +msgstr "Retur" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_sale_order__rma_count +msgid "RMA count" +msgstr "Număr cereri retur" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_rma_wizard__location_id +msgid "RMA location" +msgstr "Locație retur" + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.request_rma_single_page +msgid "RMA request for order" +msgstr "" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_sale_order__rma_ids +msgid "RMAs" +msgstr "Cereri retur" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_rma__refund_id +msgid "Refund" +msgstr "" + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.sale_rma_request_form +msgid "Request RMAs" +msgstr "Cereri retur" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_line_rma_wizard__operation_id +#: model_terms:ir.ui.view,arch_db:rma_sale.sale_rma_request_form +msgid "Requested operation" +msgstr "Operație solicitată" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_rma__sale_line_id +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_line_rma_wizard__sale_line_id +msgid "Sale Line" +msgstr "" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_rma__order_id +msgid "Sale Order" +msgstr "Comandă vânzare" + +#. module: rma_sale +#: model:ir.model,name:rma_sale.model_sale_order_line_rma_wizard +msgid "Sale Order Line Rma Wizard" +msgstr "Line comandă vânzare asistent retur" + +#. module: rma_sale +#: model:ir.model,name:rma_sale.model_sale_order_rma_wizard +msgid "Sale Order Rma Wizard" +msgstr "Comanda vânzare asistent retur" + +#. module: rma_sale +#: model:ir.model,name:rma_sale.model_sale_order +msgid "Sales Order" +msgstr "Comandă vânzare" + +#. module: rma_sale +#: model:ir.model,name:rma_sale.model_sale_order_line +msgid "Sales Order Line" +msgstr "Linie comandă vânzare" + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.sale_rma_request_form +msgid "Select the product quantity and the requested operation" +msgstr "Selectați cantitatea produsului și operațiunea solicitată" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_rma_wizard__partner_shipping_id +msgid "Shipping Address" +msgstr "" + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.res_config_settings_view_form +msgid "Show portal RMA request in a single page" +msgstr "" + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.res_config_settings_view_form +msgid "Single page RMA request" +msgstr "" + +#. module: rma_sale +#: model:ir.model,name:rma_sale.model_stock_move +msgid "Stock Move" +msgstr "Mișcare stoc" + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.sale_rma_request_form +msgid "The limit will decrease when the units in other RMAs are confirmed" +msgstr "Limita va scădea atunci când unitățile din alte cereri sunt confirmate" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_line_rma_wizard__uom_id +msgid "Unit of Measure" +msgstr "Unitate de măsură" + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.sale_rma_request_form +msgid "" +"Use the comment button to add relevant information regarding the RMA, like " +"returned serial numbers or a description of the issue" +msgstr "" +"Utilizați butonul de comentariu pentru a adăuga informații relevante cu " +"privire la retur, cum ar fi numerele de serie returnate sau o descriere a " +"problemei" + +#. module: rma_sale +#: model:ir.model.fields,help:rma_sale.field_sale_order_rma_wizard__custom_description +msgid "Values coming from portal RMA request form custom fields" +msgstr "" + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.res_config_settings_view_form +msgid "" +"When we hit the RMA request button from the portal sale page, open in a " +"single page instead of a popup." +msgstr "" + +#. module: rma_sale +#: model:ir.model.fields,help:rma_sale.field_sale_order_rma_wizard__partner_shipping_id +msgid "Will be used to return the goods when the RMA is completed" +msgstr "" + +#. module: rma_sale +#: model:ir.model.fields,field_description:rma_sale.field_sale_order_line_rma_wizard__wizard_id +msgid "Wizard" +msgstr "Asistent" + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.sale_rma_request_form +msgid "" +"You can only return as much product units as you received for this order" +msgstr "" +"Puteți returna doar câte unități de produs ați primit pentru această comandă" + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.sale_rma_request_form +msgid "You can send a message in every RMA sent" +msgstr "Puteți trimite un mesaj în fiecare cerere de retur trimisă" + +#. module: rma_sale +#: code:addons/rma_sale/models/sale.py:0 +#, python-format +msgid "You may only create RMAs from a confirmed or done sale order." +msgstr "" +"Puteți crea retur numai dintr-o comandă de vânzare confirmată sau finalizată." + +#. module: rma_sale +#: model_terms:ir.ui.view,arch_db:rma_sale.sale_rma_request_form +msgid "" +"You're about to perform an RMA request. Our team will process it an will " +"reach you once it's validated. Keep in mind that:" +msgstr "" +"Sunteți pe cale să efectuați o solicitare de retur. Echipa noastră o va " +"procesa odată ce va fi validată. Ține minte că:" diff --git a/rma_sale/models/__init__.py b/rma_sale/models/__init__.py new file mode 100644 index 000000000..9047bb781 --- /dev/null +++ b/rma_sale/models/__init__.py @@ -0,0 +1,7 @@ +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). +from . import account_move +from . import res_company +from . import res_config_settings +from . import rma +from . import sale +from . import stock_move diff --git a/rma_sale/models/account_move.py b/rma_sale/models/account_move.py new file mode 100644 index 000000000..3048289a0 --- /dev/null +++ b/rma_sale/models/account_move.py @@ -0,0 +1,30 @@ +# Copyright 2023 Tecnativa - Pedro M. Baeza +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). + +from odoo import models + + +class AccountMove(models.Model): + _inherit = "account.move" + + def button_cancel(self): + """If this a refund linked to an RMA, undo the linking of the reception move for + having proper quantities and status. + """ + for rma in self.env["rma"].search([("refund_id", "in", self.ids)]): + if rma.sale_line_id: + rma._unlink_refund_with_reception_move() + return super().button_cancel() + + def button_draft(self): + """Relink the reception move when passing the refund again to draft.""" + for rma in self.env["rma"].search([("refund_id", "in", self.ids)]): + if rma.sale_line_id: + rma._link_refund_with_reception_move() + return super().button_draft() + + def unlink(self): + """If the invoice is removed, rollback the quantities correction""" + for rma in self.invoice_line_ids.rma_id.filtered("sale_line_id"): + rma._unlink_refund_with_reception_move() + return super().unlink() diff --git a/rma_sale/models/res_company.py b/rma_sale/models/res_company.py new file mode 100644 index 000000000..021eea2cd --- /dev/null +++ b/rma_sale/models/res_company.py @@ -0,0 +1,13 @@ +# Copyright 2021 Tecnativa - David Vidal +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). +from odoo import fields, models + + +class ResCompany(models.Model): + _inherit = "res.company" + + show_full_page_sale_rma = fields.Boolean( + string="Full page RMA creation", + help="From the frontend sale order page go to a single RMA page " + "creation instead of the usual popup", + ) diff --git a/rma_sale/models/res_config_settings.py b/rma_sale/models/res_config_settings.py new file mode 100644 index 000000000..5b809adb0 --- /dev/null +++ b/rma_sale/models/res_config_settings.py @@ -0,0 +1,12 @@ +# Copyright 2021 Tecnativa - David Vidal +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). +from odoo import fields, models + + +class ResConfigSettings(models.TransientModel): + _inherit = "res.config.settings" + + show_full_page_sale_rma = fields.Boolean( + related="company_id.show_full_page_sale_rma", + readonly=False, + ) diff --git a/rma_sale/models/rma.py b/rma_sale/models/rma.py new file mode 100644 index 000000000..b07b71517 --- /dev/null +++ b/rma_sale/models/rma.py @@ -0,0 +1,165 @@ +# Copyright 2020 Tecnativa - Ernesto Tejeda +# Copyright 2023 Tecnativa - Pedro M. Baeza +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). + +from odoo import api, fields, models +from odoo.tools import float_compare + + +class Rma(models.Model): + _inherit = "rma" + + order_id = fields.Many2one( + comodel_name="sale.order", + string="Sale Order", + domain="[" + " ('partner_id', 'child_of', commercial_partner_id)," + " ('state', 'in', ['sale', 'done'])," + "]", + store=True, + readonly=False, + compute="_compute_order_id", + ) + allowed_picking_ids = fields.Many2many( + comodel_name="stock.picking", + compute="_compute_allowed_picking_ids", + ) + picking_id = fields.Many2one( + domain="(order_id or partner_id) and [('id', 'in', allowed_picking_ids)] or " + "[('state', '=', 'done'), ('picking_type_id.code', '=', 'outgoing')] " + ) + allowed_move_ids = fields.Many2many( + comodel_name="stock.move", + compute="_compute_allowed_move_ids", + ) + move_id = fields.Many2one(domain="[('id', 'in', allowed_move_ids)]") + sale_line_id = fields.Many2one( + related="move_id.sale_line_id", + ) + allowed_product_ids = fields.Many2many( + comodel_name="product.product", + compute="_compute_allowed_product_ids", + ) + product_id = fields.Many2one( + domain="order_id and [('id', 'in', allowed_product_ids)] or " + "[('type', 'in', ['consu', 'product'])]" + ) + # Add index to this field, as we perform a search on it + refund_id = fields.Many2one(index=True) + + @api.depends("partner_id", "order_id") + def _compute_allowed_picking_ids(self): + domain = [("state", "=", "done"), ("picking_type_id.code", "=", "outgoing")] + for rec in self: + domain2 = domain.copy() + if rec.partner_id: + commercial_partner = rec.partner_id.commercial_partner_id + domain2.append(("partner_id", "child_of", commercial_partner.id)) + if rec.order_id: + domain2.append(("sale_id", "=", rec.order_id.id)) + if domain2 != domain: + rec.allowed_picking_ids = self.env["stock.picking"].search(domain2) + else: + rec.allowed_picking_ids = False # don't populate a big list + + @api.depends("order_id", "picking_id") + def _compute_allowed_move_ids(self): + for rec in self: + if rec.order_id: + order_move = rec.order_id.order_line.mapped("move_ids") + rec.allowed_move_ids = order_move.filtered( + lambda r: r.picking_id == self.picking_id and r.state == "done" + ).ids + else: + rec.allowed_move_ids = self.picking_id.move_ids.ids + + @api.depends("order_id") + def _compute_allowed_product_ids(self): + for rec in self: + if rec.order_id: + order_product = rec.order_id.order_line.mapped("product_id") + rec.allowed_product_ids = order_product.filtered( + lambda r: r.type in ["consu", "product"] + ).ids + else: + rec.allowed_product_ids = False # don't populate a big list + + @api.depends("partner_id") + def _compute_order_id(self): + """Empty sales order when changing partner.""" + self.order_id = False + + @api.onchange("order_id") + def _onchange_order_id(self): + self.product_id = self.picking_id = False + + def _link_refund_with_reception_move(self): + """Perform the internal operations for linking the RMA reception move with the + sales order line if applicable. + """ + self.ensure_one() + move = self.reception_move_id + if ( + move + and float_compare( + self.product_uom_qty, + move.product_uom_qty, + precision_rounding=move.product_uom.rounding, + ) + == 0 + ): + self.reception_move_id.sale_line_id = self.sale_line_id.id + self.reception_move_id.to_refund = True + + def _unlink_refund_with_reception_move(self): + """Perform the internal operations for unlinking the RMA reception move with the + sales order line. + """ + self.ensure_one() + self.reception_move_id.sale_line_id = False + self.reception_move_id.to_refund = False + + def action_refund(self): + """As we have made a refund, the return move + the refund should be linked to + the source sales order line, to decrease both the delivered and invoiced + quantity. + + NOTE: The refund line is linked to the SO line in `_prepare_refund_line`. + """ + res = super().action_refund() + for rma in self: + if rma.sale_line_id: + rma._link_refund_with_reception_move() + return res + + def _prepare_refund_vals(self, origin=False): + """Inject salesman from sales order (if any)""" + vals = super()._prepare_refund_vals(origin=origin) + if self.order_id: + vals["invoice_user_id"] = self.order_id.user_id.id + return vals + + def _prepare_refund_line_vals(self): + """Add line data and link to the sales order, only if the RMA is for the whole + move quantity. In other cases, incorrect delivered/invoiced quantities will be + logged on the sales order, so better to let the operations not linked. + """ + vals = super()._prepare_refund_line_vals() + line = self.sale_line_id + if line: + vals["product_id"] = line.product_id.id + vals["price_unit"] = line.price_unit + vals["discount"] = line.discount + vals["sequence"] = line.sequence + move = self.reception_move_id + if ( + move + and float_compare( + self.product_uom_qty, + move.product_uom_qty, + precision_rounding=move.product_uom.rounding, + ) + == 0 + ): + vals["sale_line_ids"] = [(4, line.id)] + return vals diff --git a/rma_sale/models/sale.py b/rma_sale/models/sale.py new file mode 100644 index 000000000..609ba13dc --- /dev/null +++ b/rma_sale/models/sale.py @@ -0,0 +1,171 @@ +# Copyright 2020 Tecnativa - Ernesto Tejeda +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). + +from odoo import _, api, fields, models +from odoo.exceptions import ValidationError + + +class SaleOrder(models.Model): + _inherit = "sale.order" + + # RMAs that were created from a sale order + rma_ids = fields.One2many( + comodel_name="rma", + inverse_name="order_id", + string="RMAs", + copy=False, + ) + rma_count = fields.Integer(string="RMA count", compute="_compute_rma_count") + + def _compute_rma_count(self): + rma_data = self.env["rma"].read_group( + [("order_id", "in", self.ids)], ["order_id"], ["order_id"] + ) + mapped_data = {r["order_id"][0]: r["order_id_count"] for r in rma_data} + for record in self: + record.rma_count = mapped_data.get(record.id, 0) + + def _prepare_rma_wizard_line_vals(self, data): + """So we can extend the wizard easily""" + return { + "product_id": data["product"].id, + "quantity": data["quantity"], + "sale_line_id": data["sale_line_id"].id, + "uom_id": data["uom"].id, + "picking_id": data["picking"] and data["picking"].id, + } + + def action_create_rma(self): + self.ensure_one() + if self.state not in ["sale", "done"]: + raise ValidationError( + _("You may only create RMAs from a " "confirmed or done sale order.") + ) + wizard_obj = self.env["sale.order.rma.wizard"] + line_vals = [ + (0, 0, self._prepare_rma_wizard_line_vals(data)) + for data in self.get_delivery_rma_data() + ] + wizard = wizard_obj.with_context(active_id=self.id).create( + {"line_ids": line_vals, "location_id": self.warehouse_id.rma_loc_id.id} + ) + return { + "name": _("Create RMA"), + "type": "ir.actions.act_window", + "view_mode": "form", + "res_model": "sale.order.rma.wizard", + "res_id": wizard.id, + "target": "new", + } + + def action_view_rma(self): + self.ensure_one() + action = self.sudo().env.ref("rma.rma_action").read()[0] + rma = self.rma_ids + if len(rma) == 1: + action.update( + res_id=rma.id, + view_mode="form", + views=[], + ) + else: + action["domain"] = [("id", "in", rma.ids)] + # reset context to show all related rma without default filters + action["context"] = {} + return action + + def get_delivery_rma_data(self): + self.ensure_one() + data = [] + for line in self.order_line: + data += line.prepare_sale_rma_data() + return data + + @api.depends("rma_ids.refund_id") + def _get_invoiced(self): + """Search for possible RMA refunds and link them to the order. We + don't want to link their sale lines as that would unbalance the + qtys to invoice wich isn't correct for this case""" + res = super()._get_invoiced() + for order in self: + refunds = order.sudo().rma_ids.mapped("refund_id") + if not refunds: + continue + order.invoice_ids += refunds + order.invoice_count = len(order.invoice_ids) + return res + + +class SaleOrderLine(models.Model): + _inherit = "sale.order.line" + + def get_delivery_move(self): + self.ensure_one() + return self.move_ids.filtered( + lambda r: ( + self == r.sale_line_id + and r.state == "done" + and not r.scrapped + and r.location_dest_id.usage == "customer" + and ( + not r.origin_returned_move_id + or (r.origin_returned_move_id and r.to_refund) + ) + ) + ) + + def prepare_sale_rma_data(self): + self.ensure_one() + # Method helper to filter chained moves + + def destination_moves(_move): + return _move.mapped("move_dest_ids").filtered( + lambda r: r.state in ["partially_available", "assigned", "done"] + ) + + product = self.product_id + if self.product_id.type not in ["product", "consu"]: + return {} + moves = self.get_delivery_move() + data = [] + if moves: + for move in moves: + # Look for chained moves to check how many items we can allow + # to return. When a product is re-delivered it should be + # allowed to open an RMA again on it. + qty = move.product_uom_qty + qty_returned = 0 + move_dest = destination_moves(move) + # With the return of the return of the return we could have an + # infinite loop, so we should avoid it dropping already explored + # move_dest_ids + visited_moves = move + move_dest + while move_dest: + qty_returned -= sum(move_dest.mapped("product_uom_qty")) + move_dest = destination_moves(move_dest) - visited_moves + if move_dest: + visited_moves += move_dest + qty += sum(move_dest.mapped("product_uom_qty")) + move_dest = destination_moves(move_dest) - visited_moves + # If by chance we get a negative qty we should ignore it + qty = max(0, sum((qty, qty_returned))) + data.append( + { + "product": move.product_id, + "quantity": qty, + "uom": move.product_uom, + "picking": move.picking_id, + "sale_line_id": self, + } + ) + else: + data.append( + { + "product": product, + "quantity": self.qty_delivered, + "uom": self.product_uom, + "picking": False, + "sale_line_id": self, + } + ) + return data diff --git a/rma_sale/models/stock_move.py b/rma_sale/models/stock_move.py new file mode 100644 index 000000000..382fcb8e3 --- /dev/null +++ b/rma_sale/models/stock_move.py @@ -0,0 +1,13 @@ +# Copyright 2020 Tecnativa - Ernesto Tejeda +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). + +from odoo import models + + +class StockMove(models.Model): + _inherit = "stock.move" + + def _prepare_return_rma_vals(self, original_picking): + res = super()._prepare_return_rma_vals(original_picking) + res.update(order_id=original_picking.sale_id.id) + return res diff --git a/rma_sale/readme/CONTRIBUTORS.rst b/rma_sale/readme/CONTRIBUTORS.rst new file mode 100644 index 000000000..75646b6d3 --- /dev/null +++ b/rma_sale/readme/CONTRIBUTORS.rst @@ -0,0 +1,9 @@ +* `Tecnativa `_: + + * Ernesto Tejeda + * Pedro M. Baeza + * David Vidal + * Víctor Martínez + +* Chafique Delli +* Giovanni Serra - Ooops diff --git a/rma_sale/readme/DESCRIPTION.rst b/rma_sale/readme/DESCRIPTION.rst new file mode 100644 index 000000000..baff386c5 --- /dev/null +++ b/rma_sale/readme/DESCRIPTION.rst @@ -0,0 +1,4 @@ +This module allows you to link a sales order to an RMA. +This can be done by creating an RMA from scratch and selecting the sales +order, creating one or more RMAs from a sales order form view or from a sales +order web portal page. diff --git a/rma_sale/readme/ROADMAP.rst b/rma_sale/readme/ROADMAP.rst new file mode 100644 index 000000000..8d5d0f200 --- /dev/null +++ b/rma_sale/readme/ROADMAP.rst @@ -0,0 +1,5 @@ +* When you try to request an RMA from a Sales Order in the portal, + a popup appears and the inputs for the quantity doesn't allow + decimal numbers. It would be good to have a component that allows + that and at the same time keeps the constraint of not allowing a + number greater than the order line product quantity. diff --git a/rma_sale/readme/USAGE.rst b/rma_sale/readme/USAGE.rst new file mode 100644 index 000000000..fd3026cc4 --- /dev/null +++ b/rma_sale/readme/USAGE.rst @@ -0,0 +1,25 @@ +To use this module, you need to: + +#. Go to *RMA > Orders* and create a new RMA. +#. Select a sales order to be linked to the RMA if you want. +#. Now you can do the rest of the instructions described in the + *readme* of the rma module. + +If you want to create one or more RMAs from a sale order: + +#. Go to *Sales > Orders > Orders*. +#. Create a new sales order or select an existing one. +#. If the sales order is in 'Sales Order' state you can see in the status bar + a button labeled 'Create RMA', click it and a wizard will appear. +#. Modify the data at your convenience and click on 'Accept' button. +#. As many RMAs as lines with quantity greater than zero will be created. + Those RMAs will be linked to the sales order. + +The customer can also create RMAs from a sales order portal page: + +#. Go to a confirmed sales order portal page. +#. In the left sidebar you can see a button named 'Request RMAs'. +#. By clicking on this button a popup will appear to allow you to define + the quantity per product and delivery order line. +#. Click on the 'Request RMAs' button and RMAs will be created linked to + the sales order. diff --git a/rma_sale/security/ir.model.access.csv b/rma_sale/security/ir.model.access.csv new file mode 100644 index 000000000..f8a2b32b9 --- /dev/null +++ b/rma_sale/security/ir.model.access.csv @@ -0,0 +1,3 @@ +id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink +access_sale_order_rma_wizard_user_all,sale.order.rma.wizard.user.all,model_sale_order_rma_wizard,rma.rma_group_user_all,1,1,1,1 +access_sale_order_line_rma_wizard_user_all,sale.order.line.rma.wizard.user.all,model_sale_order_line_rma_wizard,rma.rma_group_user_all,1,1,1,1 diff --git a/rma_sale/static/description/icon.png b/rma_sale/static/description/icon.png new file mode 100644 index 000000000..3a0328b51 Binary files /dev/null and b/rma_sale/static/description/icon.png differ diff --git a/rma_sale/static/description/index.html b/rma_sale/static/description/index.html new file mode 100644 index 000000000..7aff80c2c --- /dev/null +++ b/rma_sale/static/description/index.html @@ -0,0 +1,473 @@ + + + + + + +Return Merchandise Authorization Management - Link with Sales + + + + + + diff --git a/rma_sale/static/src/js/rma_portal_form.js b/rma_sale/static/src/js/rma_portal_form.js new file mode 100644 index 000000000..89e3d3103 --- /dev/null +++ b/rma_sale/static/src/js/rma_portal_form.js @@ -0,0 +1,135 @@ +/* Copyright 2021 Tecnativa - David Vidal + License LGPL-3.0 or later (https://www.gnu.org/licenses/lgpl). */ + +odoo.define("rma_sale.animation", function (require) { + "use strict"; + + const publicWidget = require("web.public.widget"); + + /** + * Adds some machinery to the customer portal RMA form: + * + * - Avoid submitting the form if no qty or operation is reported. + * - Show automatically the observations field when the operation is selected + * and hide it back with no operation selected. + */ + publicWidget.registry.PortalRmaSale = publicWidget.Widget.extend({ + selector: "#form-request-rma", + events: { + "change .rma-operation": "_onChangeOperationId", + "change #delivery-rma-qty input": "_onChangeQty", + "click .o_rma_portal_shipping_card": "_onChangeShippingAddress", + }, + + /** + * @override + */ + start: function () { + const ids = this.$("[name*='-operation_id']") + .map(function () { + return this.name.replace("-operation_id", ""); + }) + .get(); + this.$submit = $("#form-request-rma button[type='submit']"); + this.rows_ids = ids; + // We'll build an object that will ease the form check. It could be further + // extended with additional checks. + this.rows = {}; + _.each(ids, (id) => { + this.rows[id] = { + $comment: this.$(`#comment-${id}`), + $comment_input: this.$(`[name='${id}-description']`), + $operation: this.$(`[name='${id}-operation_id']`), + $qty: this.$(`[name='${id}-quantity']`), + }; + }); + this._checkCanSubmit(); + }, + /** + * @private + * @param {Object} row: the form row structure + */ + _show_comment: function (row) { + if (row.$comment) { + row.$comment.addClass("show"); + if (row.$comment_input) { + row.$comment_input.focus(); + } + } + }, + /** + * @private + * @param {Object} row: the form row structure + */ + _hide_comment: function (row) { + if (row.$comment) { + row.$comment.removeClass("show"); + } + }, + /** + * We should be able to submit only when an operation is selected and a + * quantity entered in a row at least. + * @private + */ + _canSubmit: function () { + var can_submit = false; + for (const id of this.rows_ids) { + const row = this.rows[id]; + if ( + row && + // Qty greater than 0 + row.$qty && + row.$qty.val() && + Number(row.$qty.val()) && + // An operation is defined + row.$operation && + row.$operation.val() + ) { + can_submit = true; + break; + } + } + return can_submit; + }, + /** + * Checked every time we change the quantity or the operation and at start + * + * @private + * @param {Object} row: the form row structure + */ + _checkCanSubmit: function () { + this.$submit.prop("disabled", !this._canSubmit()); + }, + /** + * @private + * @param {InputEvent} ev + */ + _onChangeOperationId: function (ev) { + // Toggle comment on or off if an operation is requested + const id = ev.currentTarget.name.replace("-operation_id", ""); + var row = this.rows[id]; + if (row && row.$operation && row.$operation.val()) { + this._show_comment(row); + } else { + this._hide_comment(row); + } + this._checkCanSubmit(); + }, + /** + * @private + */ + _onChangeQty: function () { + this._checkCanSubmit(); + }, + _onChangeShippingAddress: function (ev) { + const $address_container = $(ev.currentTarget.parentElement); + $address_container.find("input").removeAttr("checked"); + $address_container + .find(".o_rma_portal_shipping_card") + .removeClass("bg-primary") + .removeClass("text-primary"); + $(ev.currentTarget).find("input").attr("checked", "checked"); + $(ev.currentTarget).addClass("bg-primary").addClass("text-primary"); + }, + }); +}); diff --git a/rma_sale/static/src/scss/rma_sale.scss b/rma_sale/static/src/scss/rma_sale.scss new file mode 100644 index 000000000..1b5a1b352 --- /dev/null +++ b/rma_sale/static/src/scss/rma_sale.scss @@ -0,0 +1,5 @@ +.request-rma-tbody { + td { + vertical-align: middle; + } +} diff --git a/rma_sale/static/src/tests/test_rma_sale_portal_tour.esm.js b/rma_sale/static/src/tests/test_rma_sale_portal_tour.esm.js new file mode 100644 index 000000000..7e2288e2f --- /dev/null +++ b/rma_sale/static/src/tests/test_rma_sale_portal_tour.esm.js @@ -0,0 +1,64 @@ +/** @odoo-module */ +/* Copyright 2021 Tecnativa - David Vidal + License LGPL-3.0 or later (https://www.gnu.org/licenses/lgpl). */ + +import tour from "web_tour.tour"; + +tour.register( + "rma_sale_portal", + { + test: true, + url: "/my/orders", + }, + [ + { + content: "Open the test sale order", + trigger: 'a:containsExact("Test Sale RMA SO")', + }, + { + content: "Open the RMA request pop-up", + trigger: 'a:contains("Request RMAs")', + }, + { + content: + "Submit button is disabled until we set quanity and requested operation", + trigger: "button[type='submit'][disabled]", + }, + { + content: "Return 1 unit for the first row", + trigger: "input[name='0-quantity']", + run: "text 1", + }, + { + content: "Select the operation", + trigger: "select[name='0-operation_id']", + run: "text Replace", + }, + { + content: "Write some comments", + trigger: "textarea[name='0-description']", + run: "text I'd like to change this product", + }, + { + content: "Unfold the Delivery Address picker", + trigger: "button:contains('Choose a delivery address')", + }, + { + content: "Choose another address", + trigger: ".o_rma_portal_shipping_card:contains('Another address')", + run: "click", + }, + { + content: "Submit the RMA", + trigger: "button[type='submit']", + }, + { + content: "We're redirected to the new draft RMA", + trigger: "h5:contains('RMA Order')", + }, + { + content: "We're redirected to the new draft RMA", + trigger: "h5:contains('RMA Order')", + }, + ] +); diff --git a/rma_sale/tests/__init__.py b/rma_sale/tests/__init__.py new file mode 100644 index 000000000..5318a7053 --- /dev/null +++ b/rma_sale/tests/__init__.py @@ -0,0 +1,4 @@ +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). + +from . import test_rma_sale +from . import test_rma_sale_portal diff --git a/rma_sale/tests/test_rma_sale.py b/rma_sale/tests/test_rma_sale.py new file mode 100644 index 000000000..f295d3ac8 --- /dev/null +++ b/rma_sale/tests/test_rma_sale.py @@ -0,0 +1,220 @@ +# Copyright 2020 Tecnativa - Ernesto Tejeda +# Copyright 2022 Tecnativa - Víctor Martínez +# Copyright 2023 Tecnativa - Pedro M. Baeza +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). + +from odoo.tests import Form, TransactionCase +from odoo.tests.common import users + + +class TestRmaSaleBase(TransactionCase): + @classmethod + def setUpClass(cls): + super().setUpClass() + cls.res_partner = cls.env["res.partner"] + cls.product_product = cls.env["product.product"] + cls.so_model = cls.env["sale.order"] + + cls.product_1 = cls.product_product.create( + {"name": "Product test 1", "type": "product"} + ) + cls.product_2 = cls.product_product.create( + {"name": "Product test 2", "type": "product"} + ) + cls.partner = cls.res_partner.create( + {"name": "Partner test", "email": "partner@rma"} + ) + cls.report_model = cls.env["ir.actions.report"] + cls.rma_operation_model = cls.env["rma.operation"] + cls._partner_portal_wizard(cls, cls.partner) + + def _create_sale_order(self, products): + order_form = Form(self.so_model) + order_form.partner_id = self.partner + for product_info in products: + with order_form.order_line.new() as line_form: + line_form.product_id = product_info[0] + line_form.product_uom_qty = product_info[1] + return order_form.save() + + def _partner_portal_wizard(self, partner): + wizard_all = ( + self.env["portal.wizard"] + .with_context(**{"active_ids": [partner.id]}) + .create({}) + ) + wizard_all.user_ids.action_grant_access() + + def _rma_sale_wizard(self, order): + wizard_id = order.action_create_rma()["res_id"] + return self.env["sale.order.rma.wizard"].browse(wizard_id) + + +class TestRmaSale(TestRmaSaleBase): + @classmethod + def setUpClass(cls): + super().setUpClass() + cls.sale_order = cls._create_sale_order(cls, [[cls.product_1, 5]]) + cls.sale_order.action_confirm() + # Maybe other modules create additional lines in the create + # method in sale.order model, so let's find the correct line. + cls.order_line = cls.sale_order.order_line.filtered( + lambda r: r.product_id == cls.product_1 + ) + cls.order_out_picking = cls.sale_order.picking_ids + cls.order_out_picking.move_ids.quantity_done = 5 + cls.order_out_picking.button_validate() + + def test_rma_sale_computes_onchange(self): + rma = self.env["rma"].new() + # No m2m values when everything is selectable + self.assertFalse(rma.allowed_picking_ids) + self.assertFalse(rma.allowed_move_ids) + self.assertFalse(rma.allowed_product_ids) + # Partner selected + rma.order_id = self.sale_order + rma.partner_id = self.partner + self.assertFalse(rma.order_id) + self.assertEqual(rma.allowed_picking_ids._origin, self.order_out_picking) + # Order selected + rma.order_id = self.sale_order + self.assertEqual(rma.allowed_picking_ids._origin, self.order_out_picking) + rma.picking_id = self.order_out_picking + self.assertEqual(rma.allowed_move_ids._origin, self.order_out_picking.move_ids) + self.assertEqual(rma.allowed_product_ids._origin, self.product_1) + # Onchanges + rma.product_id = self.product_1 + rma._onchange_order_id() + self.assertFalse(rma.product_id) + self.assertFalse(rma.picking_id) + + def test_create_rma_with_so(self): + rma_vals = { + "partner_id": self.partner.id, + "order_id": self.sale_order.id, + "product_id": self.product_1.id, + "product_uom_qty": 5, + "location_id": self.sale_order.warehouse_id.rma_loc_id.id, + } + rma = self.env["rma"].create(rma_vals) + rma.action_confirm() + self.assertTrue(rma.reception_move_id) + self.assertFalse(rma.reception_move_id.origin_returned_move_id) + + def test_create_rma_from_so(self): + order = self.sale_order + wizard = self._rma_sale_wizard(order) + rma = self.env["rma"].browse(wizard.create_and_open_rma()["res_id"]) + self.assertEqual(rma.partner_id, order.partner_id) + self.assertEqual(rma.order_id, order) + self.assertEqual(rma.picking_id, self.order_out_picking) + self.assertEqual(rma.move_id, self.order_out_picking.move_ids) + self.assertEqual(rma.product_id, self.product_1) + self.assertEqual(rma.product_uom_qty, self.order_line.product_uom_qty) + self.assertEqual(rma.product_uom, self.order_line.product_uom) + self.assertEqual(rma.state, "confirmed") + self.assertEqual( + rma.reception_move_id.origin_returned_move_id, + self.order_out_picking.move_ids, + ) + self.assertEqual( + rma.reception_move_id.picking_id + self.order_out_picking, + order.picking_ids, + ) + user = self.env["res.users"].create( + {"login": "test_refund_with_so", "name": "Test"} + ) + order.user_id = user.id + # Receive the RMA + rma.action_confirm() + rma.reception_move_id.quantity_done = rma.product_uom_qty + rma.reception_move_id.picking_id._action_done() + # Refund the RMA + rma.action_refund() + self.assertEqual(self.order_line.qty_delivered, 0) + self.assertEqual(self.order_line.qty_invoiced, -5) + self.assertEqual(rma.refund_id.user_id, user) + self.assertEqual(rma.refund_id.invoice_line_ids.sale_line_ids, self.order_line) + # Cancel the refund + rma.refund_id.button_cancel() + self.assertEqual(self.order_line.qty_delivered, 5) + self.assertEqual(self.order_line.qty_invoiced, 0) + # And put it to draft again + rma.refund_id.button_draft() + self.assertEqual(self.order_line.qty_delivered, 0) + self.assertEqual(self.order_line.qty_invoiced, -5) + + @users("partner@rma") + def test_create_rma_from_so_portal_user(self): + order = self.sale_order + wizard_obj = ( + self.env["sale.order.rma.wizard"].sudo().with_context(active_id=order.id) + ) + operation = self.rma_operation_model.sudo().search([], limit=1) + line_vals = [ + ( + 0, + 0, + { + "product_id": order.order_line.product_id.id, + "sale_line_id": order.order_line.id, + "quantity": order.order_line.product_uom_qty, + "uom_id": order.order_line.product_uom.id, + "picking_id": order.picking_ids[0].id, + "operation_id": operation.id, + }, + ) + ] + wizard = wizard_obj.create( + { + "line_ids": line_vals, + "location_id": order.warehouse_id.rma_loc_id.id, + } + ) + rma = wizard.sudo().create_rma(from_portal=True) + self.assertEqual(rma.order_id, order) + self.assertIn(order.partner_id, rma.message_partner_ids) + self.assertEqual(order.rma_count, 1) + + def test_create_recurrent_rma(self): + """An RMA of a product that had an RMA in the past should be possible""" + wizard = self._rma_sale_wizard(self.sale_order) + rma = self.env["rma"].browse(wizard.create_and_open_rma()["res_id"]) + rma.reception_move_id.quantity_done = rma.product_uom_qty + rma.reception_move_id.picking_id._action_done() + wizard = self._rma_sale_wizard(self.sale_order) + self.assertEqual( + wizard.line_ids.quantity, + 0, + "There shouldn't be any allowed quantities for RMAs", + ) + delivery_form = Form( + self.env["rma.delivery.wizard"].with_context( + active_ids=rma.ids, + rma_delivery_type="return", + ) + ) + delivery_form.product_uom_qty = rma.product_uom_qty + delivery_wizard = delivery_form.save() + delivery_wizard.action_deliver() + picking = rma.delivery_move_ids.picking_id + picking.move_ids.quantity_done = rma.product_uom_qty + picking._action_done() + # The product is returned to the customer, so we should be able to make + # another RMA in the future + wizard = self._rma_sale_wizard(self.sale_order) + self.assertEqual( + wizard.line_ids.quantity, + rma.product_uom_qty, + "We should be allowed to return the product again", + ) + + def test_report_rma(self): + wizard = self._rma_sale_wizard(self.sale_order) + rma = self.env["rma"].browse(wizard.create_and_open_rma()["res_id"]) + operation = self.rma_operation_model.sudo().search([], limit=1) + rma.operation_id = operation.id + res = self.env["ir.actions.report"]._render_qweb_html("rma.report_rma", rma.ids) + res = str(res[0]) + self.assertRegex(res, self.sale_order.name) + self.assertRegex(res, operation.name) diff --git a/rma_sale/tests/test_rma_sale_portal.py b/rma_sale/tests/test_rma_sale_portal.py new file mode 100644 index 000000000..2378ef2b9 --- /dev/null +++ b/rma_sale/tests/test_rma_sale_portal.py @@ -0,0 +1,64 @@ +# Copyright 2023 Tecnativa - David Vidal +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). +from markupsafe import Markup + +from odoo import Command +from odoo.tests import HttpCase, tagged + +from .test_rma_sale import TestRmaSaleBase + + +@tagged("-at-install", "post-install") +class TestRmaSalePortal(TestRmaSaleBase, HttpCase): + @classmethod + def setUpClass(cls): + super().setUpClass() + cls.sale_order = cls._create_sale_order(cls, [[cls.product_1, 5]]) + # So we can click it in the tour + cls.sale_order.name = "Test Sale RMA SO" + cls.sale_order.action_confirm() + # Maybe other modules create additional lines in the create + # method in sale.order model, so let's find the correct line. + cls.order_line = cls.sale_order.order_line.filtered( + lambda r: r.product_id == cls.product_1 + ) + cls.order_out_picking = cls.sale_order.picking_ids + cls.order_out_picking.move_ids.quantity_done = 5 + cls.order_out_picking.button_validate() + # Let's create some companion contacts + cls.partner_company = cls.res_partner.create( + {"name": "Partner test Co", "email": "partner_co@test.com"} + ) + cls.another_partner = cls.res_partner.create( + { + "name": "Another address", + "email": "another_partner@test.com", + "parent_id": cls.partner_company.id, + } + ) + cls.partner.parent_id = cls.partner_company + # Create our portal user + cls.user_portal = ( + cls.env["res.users"] + .with_context(no_reset_password=True) + .create( + { + "login": "rma_portal", + "password": "rma_portal", + "partner_id": cls.partner.id, + "groups_id": [Command.set([cls.env.ref("base.group_portal").id])], + } + ) + ) + + def test_rma_sale_portal(self): + self.start_tour("/", "rma_sale_portal", login="rma_portal") + rma = self.sale_order.rma_ids + # Check that the portal values are properly transmited + self.assertEqual(rma.state, "draft") + self.assertEqual(rma.partner_id, self.partner) + self.assertEqual(rma.partner_shipping_id, self.another_partner) + self.assertEqual(rma.product_uom_qty, 1) + self.assertEqual( + rma.description, Markup("

I'd like to change this product

") + ) diff --git a/rma_sale/views/account_move_views.xml b/rma_sale/views/account_move_views.xml new file mode 100644 index 000000000..96dd435b6 --- /dev/null +++ b/rma_sale/views/account_move_views.xml @@ -0,0 +1,16 @@ + + + + account.move.form - Add helper sale_line_ids + account.move + + + + + + + + + + + diff --git a/rma_sale/views/report_rma.xml b/rma_sale/views/report_rma.xml new file mode 100644 index 000000000..7bcc16886 --- /dev/null +++ b/rma_sale/views/report_rma.xml @@ -0,0 +1,17 @@ + + + + diff --git a/rma_sale/views/res_config_settings_views.xml b/rma_sale/views/res_config_settings_views.xml new file mode 100644 index 000000000..61618781b --- /dev/null +++ b/rma_sale/views/res_config_settings_views.xml @@ -0,0 +1,36 @@ + + + + res.config.settings + + + +
+
+ +
+
+
+
+
+
+
+
diff --git a/rma_sale/views/rma_views.xml b/rma_sale/views/rma_views.xml new file mode 100644 index 000000000..d0f246ba1 --- /dev/null +++ b/rma_sale/views/rma_views.xml @@ -0,0 +1,24 @@ + + + + + rma.view.form + rma + + + + + + + + + + + + + diff --git a/rma_sale/views/sale_portal_template.xml b/rma_sale/views/sale_portal_template.xml new file mode 100644 index 000000000..d9196057f --- /dev/null +++ b/rma_sale/views/sale_portal_template.xml @@ -0,0 +1,335 @@ + + +