Odoo 自定义运输模块

Odoo Custom Shipping Module

我想为Odoo开发一个自定义的发货模块,但是我找不到它的文档,而且所有的发货来源都是Enterprise,所以我不付钱就看不到。

我在这里找到了 Odoo 开发者指南:https://www.odoo.com/documentation/13.0/

我找到了如何创建模块:https://www.odoo.com/documentation/13.0/howtos/backend.html

我找到了支付处理商指南:https://www.odoo.com/documentation/user/13.0/ecommerce/shopper_experience/payment.html

装运连接器的文档在哪里? 我知道可以做到,odoo 市场上有第三方运输连接器。

来自 Odoo delivery 模块:

In order to add your own external provider, follow these steps:

1. Create your model MyProvider that _inherit 'delivery.carrier'
2. Extend the selection of the field "delivery_type" with a pair
   ('<my_provider>', 'My Provider')
3. Add your methods:
   <my_provider>_rate_shipment
   <my_provider>_send_shipping
   <my_provider>_get_tracking_link
   <my_provider>_cancel_shipment
   _<my_provider>_get_default_custom_package_code
   (they are documented hereunder)

要实现您自己的运输连接器,我建议您开始研究此模块。它来自社区,因此已可供所有社区用户使用。