TIP: You can type at any time to perform a new search.
Gelato
sale_gelato · odoo/odoo
- Repository
- odoo/odoo · module folder
- Module version
- 0.1.0
- Category
- Sales/Sales
- Folder size
- 0.95 MB
- License
- LGPL-3
- Application
- No
- Auto-installable
- No
- Website
- None
- Last tracking update
- 2026-08-08 22:45:27
- Authors
- Odoo S.A.
- Maintainers
- Odoo S.A.
- Committers
- Xavier ALT, Thibault Delavallée, Odoo Translation Bot, Toufik Ben Jaa, Julien Castiaux, Tiffany Chang (tic), Thomas Becquevort (thbe), Dylan Kiss (dyki), Anita (anko), Mohammad Abdulmoneim (abdu), Mahdi Alijani (malj), anko-odoo, Krzysztof Magusiak (krma), defl
Code Analysis ⓘ
Views touched (6)
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
delivery_carrier_form |
Delivery Carrier Form | delivery.carrier | form | Inherits delivery.view_delivery_carrier_form |
product_document_form |
Product Document Form | product.document | form | New |
product_product_easy_form |
Product Product Easy Form | product.product | form | Inherits product.product_variant_easy_edit_view |
product_product_normal_form |
Product Product Normal Form | product.product | form | Inherits product.product_normal_form_view |
product_template_form |
Product Template Form | product.template | form | Inherits product.product_template_only_form_view |
res_config_settings_form |
Res Config Settings Form | res.config.settings | form | Inherits sale.res_config_settings_view_form |
HTTP endpoints (1)
| Route(s) | Handler | Auth | Type | Methods | Flags |
|---|---|---|---|---|---|
| (inherited route override) | GelatoController.gelato_webhook |
public | http | POST | csrf off sudo |
Models touched (9)
New fields (2)
-
delivery_typeSelectionondelete={'gelato': 'cascade'}selection_add=[('gelato', 'Gelato')] -
gelato_shipping_service_typeSelectiondefault='normal'required=Trueselection=[('normal', 'Standard Delivery'), ('express', 'Express Delivery')]string='Gelato Shipping Service Type'
-
available_carriers(self, partner, source)Override of `delivery` to filter out regular delivery methods from Gelato orders and Gelato delivery methods from non-Gelato orders. :param res.partner partner: The partner to check. :param sale.order or stock.picking source: The current order or stock transfer. :return: The available delivery methods. :rtype: delivery.carrier -
gelato_rate_shipment(self, order)Fetch the Gelato delivery price based on products, quantity and address. This method is called by `delivery`'s `rate_shipment` method. Note: `self._ensure_one()` from `rate_shipment` :param sale.order order: The order for which to fetch the delivery price. :return: The shipment rate request results. :rtype: dict
New fields (1)
-
is_gelatoBooleanreadonly=True
No public methods.
New fields (1)
-
gelato_product_uidCharname='Gelato Product UID'readonly=True
No public methods.
New fields (4)
-
gelato_image_idsOne2many → product.documentcomodel_name='product.document'domain=[('is_gelato', '=', True)]inverse_name='res_id'readonly=Truestring='Gelato Print Images' -
gelato_missing_imagesBooleancompute='_compute_gelato_missing_images'string='Missing Print Images' -
gelato_product_uidCharcompute='_compute_gelato_product_uid'inverse='_inverse_gelato_product_uid'readonly=Truestring='Gelato Product UID' -
gelato_template_refCharhelp='Synchronize to fetch variants from Gelato'string='Gelato Template Reference'
-
action_sync_gelato_template_info(self)Fetch the template information from Gelato and update the product template accordingly. :return: The action to display a toast notification to the user. :rtype: dict
New fields (2)
-
gelato_api_keyChargroups='base.group_system'string='Gelato API Key' -
gelato_webhook_secretChargroups='base.group_system'string='Gelato Webhook Secret'
No public methods.
New fields (2)
-
gelato_api_keyCharreadonly=Falserelated='company_id.gelato_api_key' -
gelato_webhook_secretCharreadonly=Falserelated='company_id.gelato_webhook_secret'
No public methods.
New fields (0)
No new fields.
Public methods (0)No public methods.
New fields (0)
No new fields.
Public methods (2)-
action_confirm(self)Override of `sale` to send the order to Gelato on confirmation. -
action_open_delivery_wizard(self)Override of `delivery` to set a Gelato delivery method by default in the wizard.
New fields (0)
No new fields.
Public methods (2)-
create(self, vals_list)@api.model_create_multi -
write(self, vals)
Loading…