diff --git a/delivery_roulier/README.rst b/delivery_roulier/README.rst index 2e2383a783..29d5635c88 100644 --- a/delivery_roulier/README.rst +++ b/delivery_roulier/README.rst @@ -124,6 +124,7 @@ Contributors - Raphaël Reverdy - David Béal +- Italo LOPES Maintainers ----------- diff --git a/delivery_roulier/models/delivery_carrier.py b/delivery_roulier/models/delivery_carrier.py index 7402ded8b3..cf96145ce8 100644 --- a/delivery_roulier/models/delivery_carrier.py +++ b/delivery_roulier/models/delivery_carrier.py @@ -44,10 +44,11 @@ def rate_shipment(self, order): res = super().rate_shipment(order) # for roulier carrier, usually getting the price by carrier webservice # is usually not available for now. Avoid failure in that case. - if not res and self.is_roulier(): + if not res and self._is_roulier(): res = { "success": True, "price": 0.0, + "carrier_price": 0.0, "error_message": False, "warning_message": False, } diff --git a/delivery_roulier/readme/CONTRIBUTORS.md b/delivery_roulier/readme/CONTRIBUTORS.md index 74878ac5dd..2735fae7c1 100644 --- a/delivery_roulier/readme/CONTRIBUTORS.md +++ b/delivery_roulier/readme/CONTRIBUTORS.md @@ -1,2 +1,3 @@ - Raphaël Reverdy \<\> - David Béal \<\> +- Italo LOPES \<\> diff --git a/delivery_roulier/static/description/index.html b/delivery_roulier/static/description/index.html index afb896d451..c975634a84 100644 --- a/delivery_roulier/static/description/index.html +++ b/delivery_roulier/static/description/index.html @@ -8,11 +8,10 @@ /* :Author: David Goodger (goodger@python.org) -:Id: $Id: html4css1.css 9511 2024-01-13 09:50:07Z milde $ +:Id: $Id: html4css1.css 8954 2022-01-20 10:10:25Z milde $ :Copyright: This stylesheet has been placed in the public domain. Default cascading style sheet for the HTML output of Docutils. -Despite the name, some widely supported CSS2 features are used. See https://docutils.sourceforge.io/docs/howto/html-stylesheets.html for how to customize this style sheet. @@ -275,7 +274,7 @@ margin-left: 2em ; margin-right: 2em } -pre.code .ln { color: gray; } /* line numbers */ +pre.code .ln { color: grey; } /* line numbers */ pre.code, code { background-color: #eeeeee } pre.code .comment, code .comment { color: #5C6576 } pre.code .keyword, code .keyword { color: #3B0D06; font-weight: bold } @@ -301,7 +300,7 @@ span.pre { white-space: pre } -span.problematic, pre.problematic { +span.problematic { color: red } span.section-subtitle { @@ -465,14 +464,13 @@

Contributors

Maintainers

This module is maintained by the OCA.

- -Odoo Community Association - +Odoo Community Association

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.