TIP: You can type at any time to perform a new search.
Delivery MRW
delivery_mrw · OCA/l10n-spain
- Repository
- OCA/l10n-spain · module folder · Try on Runboat
- Module version
- Category
- Stock
- Folder size
- 0.19 MB
- License
- AGPL-3
- Application
- No
- Auto-installable
- No
- Website
- https://github.com/OCA/l10n-spain
- Last tracking update
- 2026-08-19 17:41:05
- Authors
- Odoo Community Association (OCA), Tecnativa
- Maintainers
- Odoo Community Association (OCA), Tecnativa
- Committers
- OCA-git-bot, sergio, oca-ci, Raul-S73
- Odoo dependencies
- Python dependencies
- zeep
- System dependencies
- None
- Required by
- None
- Description
Este módulo integra la API de MRW España con Odoo. No es válido para integraciones de MRW en otros países, que podrían usar otras APIs.
Code Analysis ⓘ
Views touched (4)
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
delivery_mrw_manifest_wizard_form |
mrw.manifest.wizard | form | New | |
mrw_manifest_report_view |
mrw_manifest_report_view | ir.ui.view | qweb | New |
mrw_view_delivery_carrier_form |
delivery.carrier | form | Inherits delivery.view_delivery_carrier_form | |
view_picking_withcarrier_out_form |
stock.picking | form | Inherits stock_delivery.view_picking_withcarrier_out_form |
HTTP endpoints (0)
No HTTP endpoints found for this module.
Models touched (3)
New fields (22)
-
delivery_typeSelectionondelete={'mrw': 'set default'}selection_add=[('mrw', 'MRW')] -
international_shippingBooleandefault=False -
mrw_api_filter_typeIntegerdefault=0help='0 for tracking number; 1 for reference; 2 package reference'string='Filter Type' -
mrw_api_information_typeIntegerdefault=0help='0 for Basic Information; 1 for Detailed'string='Information Type' -
mrw_api_languageChardefault='3082'help='3082 for Spanish; 2070 for Portuguese'string='Language Code' -
mrw_client_codeCharstring='Client Code' -
mrw_department_codeCharstring='Department Code' -
mrw_en_franquiciaSelectiondefault='N'help='Indicador de entrega en franquicia.'selection=[('N', 'Sin recogida ni entrega en franquicia.'), ('R', 'Con recogida en franquicia.'), ('E', 'Con entrega en franquicia.'), ('A', 'Con recogida y entrega en franquicia')] -
mrw_franquicia_codeCharstring='Franquicia Code' -
mrw_horario_fromFloat -
mrw_horario_toFloatdefault=23.99 -
mrw_international_serviceSelectiondefault='PAC'help='Set the MRW Service'selection=MRW_INTERNATIONAL_SERVICESstring='MRW International Service' -
mrw_label_left_marginIntegerdefault=2 -
mrw_label_top_marginIntegerdefault=2 -
mrw_national_serviceSelectiondefault='0300'help='Set the MRW Service'selection=MRW_NATIONAL_SERVICESstring='MRW National Service' -
mrw_notification_channelSelectionselection=[('1', 'Email'), ('2', 'SMS')]string='Notification Channel' -
mrw_notification_typeSelectionhelp='Confirmación de entrega: informa de la entrega del envío en destino.Nota: Solo para SMS.\nSeguimiento de envío: informa los diferentes estados de tránsitodel envío.\nAviso de entrega en franquicia: informa al destinatario del envíoque la mercancía está disponible en la franquicia de destino. Solotendrá sentido para entrega en franquicia, y será obligatorio.\nPreaviso de entrega: informa al destinatario del envío de la fechade entrega de la mercancía. Solo tendrá sentido cuando NO seaentrega en franquicia.\nConfirmación de recogida: informa al destinatario que el envío hasido recogido en origen. Solo tendrá sentido cuando NO seaentrega en franquicia. Nota: Solo para SMS.\n'selection=[('1', 'Confirmación de entrega (solo SMS)'), ('2', 'Seguimiento de envío'), ('3', 'Aviso de entrega en franquicia'), ('4', 'Preaviso de entrega'), ('5', 'Confirmación de recogida (solo SMS)')]string='Notification Type' -
mrw_passwordCharstring='Password' -
mrw_reembolsoSelectiondefault='N'help='Indicador de reembolso. El importe del reembolso será cogido del pedido de venta.'selection=[('N', 'Sin reembolso'), ('O', 'Con reembolso comisión en origen'), ('D', 'Con reembolso comisión en destino')] -
mrw_retornoSelectiondefault='N'selection=[('N', 'Sin retorno'), ('D', 'Retorno de albarán cobro en destino'), ('S', 'Retorno de mercancia')] -
mrw_serviceCharcompute='_compute_mrw_service' -
mrw_usernameCharstring='Username'
-
action_get_manifest(self)Action to launch the manifest wizard -
check_mrw_en_franquicia(self)@api.constrains('mrw_en_franquicia') -
get_notifications(self, partner) -
mrw_address(self, partner, international) -
mrw_cancel_shipment(self, pickings)"Cancel the expedition :param pickings - stock.picking recordset :returns tracking_number of shippig cancelled -
mrw_create_shipping(self, picking)Send the package to mrw :param picking: A recordset of pickings :return list: A list of dictionaries although in practice it's called one by one and only the first item in the dict is taken. Due to this design, we have to inject vals in the context to be able to add them to the message. -
mrw_get_label(self, mrw_tracking_ref, picking)Generate label for picking :param picking - stock.picking record :returns pdf file -
mrw_get_tracking_link(self, picking)Provide tracking link for the customer -
mrw_rate_shipment(self, order)There's no public API so another price method should be used. -
mrw_send_shipping(self, pickings) -
mrw_tracking_state_update(self, picking)Tracking state update -
remove_found_regex_from_string(self, regex, string)
New fields (2)
-
carrier_idMany2one → delivery.carriercomodel_name='delivery.carrier'domain=[('delivery_type', '=', 'mrw')]help='If no service is selected, all MRW type shippment methods will be printed'string='MRW Service' -
date_fromDatedefault=fields.Date.context_todayrequired=True
-
get_manifest(self)List of shippings for the given dates -
get_service_selection_value(self, field, picking)
New fields (0)
No new fields.
Public methods (1)-
mrw_get_label(self)
Loading…
Loading…
Loading…
- Status
- Open migration PR — not merged yet for this version
- CI status
- checks failing
- Open since
- 211 days ago
- Last activity
- 7 days ago
- Repository
- OCA/l10n-spain
- Pull request
- [18.0][MIG] delivery_mrw: Migration to 18.0 (#4758)