Sendcloud Shipping
delivery_sendcloud_oca · OCA/delivery-carrier
-
Security25/25No findings
-
Activity25/25Last human commit 1 month ago
-
Required by5/250 modules depend on it
-
Maturity12/25In 2 Odoo series since 17.0
Heuristic over the facts below, not an audit · How it's computed
Description
This module provides sendcloud shipping integration with Odoo
This module mostly implements what's described in https://docs.sendcloud.sc/api/v2/shipping/
Full documentation for developers is in https://docs.sendcloud.sc/.
This module works for the Community Edition as well as the Enterprise Edition.
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 38
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
res_config_settings_view_form_sale |
res.config.settings | form | Inherits sale.res_config_settings_view_form | |
res_config_settings_view_form_stock |
res.config.settings | form | Inherits stock.res_config_settings_view_form | |
sale_order_view_search_inherit_quotation |
sale.order | search | Inherits sale.sale_order_view_search_inherit_quotation | |
sale_order_view_search_inherit_sale |
sale.order | search | Inherits sale.sale_order_view_search_inherit_sale | |
sendcloud_action_form |
sendcloud.action | form | New | |
sendcloud_action_list |
sendcloud.action | list | New | |
sendcloud_cancel_shipment_confirm_wizard_form |
sendcloud.cancel.shipment.confirm.wizard | form | New | |
sendcloud_create_return_parcel_wizard_form |
sendcloud.create.return.parcel.wizard | form | New | |
sendcloud_custom_price_details_wizard_form |
sendcloud.custom.price.details.wizard | form | New | |
sendcloud_onboarding_integration_configuration_form |
sendcloud.integration.wizard | form | New | |
sendcloud_onboarding_sync_configuration_form |
sendcloud.sync.wizard | form | New | |
sendcloud_onboarding_warehouse_configuration_form |
sendcloud.warehouse.address.wizard | form | New | |
sendcloud_sync_order_form |
sendcloud.sync.order.wizard | form | New | |
view_delivery_carrier_form |
delivery.carrier | form | Inherits delivery.view_delivery_carrier_form | |
view_order_form |
sale.order | form | Inherits sale.view_order_form | |
view_partner_property_form |
res.partner | form | Inherits delivery.view_partner_property_form | |
view_picking_withcarrier_out_form |
stock.picking | form | Inherits stock_delivery.view_picking_withcarrier_out_form | |
view_quotation_list_with_onboarding |
sale.order | list | Inherits sale.view_quotation_tree | |
view_sendcloud_brand_form |
sendcloud.brand | form | New | |
view_sendcloud_brand_list |
sendcloud.brand | list | New | |
view_sendcloud_carrier_form |
sendcloud.carrier | form | New | |
view_sendcloud_carrier_list |
sendcloud.carrier | list | New | |
view_sendcloud_integration_form |
sendcloud.integration | form | New | |
view_sendcloud_integration_list |
sendcloud.integration | list | New | |
view_sendcloud_invoice_form |
sendcloud.invoice | form | New | |
view_sendcloud_invoice_list |
sendcloud.invoice | list | New | |
view_sendcloud_parcel_form |
sendcloud.parcel | form | New | |
view_sendcloud_parcel_list |
sendcloud.parcel | list | New | |
view_sendcloud_parcel_status_form |
sendcloud.parcel.status | form | New | |
view_sendcloud_parcel_status_list |
sendcloud.parcel.status | list | New | |
view_sendcloud_return_form |
sendcloud.return | form | New | |
view_sendcloud_return_list |
sendcloud.return | list | New | |
view_sendcloud_sender_address_form |
sendcloud.sender.address | form | New | |
view_sendcloud_sender_address_list |
sendcloud.sender.address | list | New | |
view_sendcloud_shipping_method_country_form |
sendcloud.shipping.method.country | form | New | |
view_sendcloud_shipping_method_country_list |
sendcloud.shipping.method.country | list | New | |
view_warehouse |
stock.warehouse | Inherits stock.view_warehouse | ||
vpicktree |
stock.picking | Inherits stock.vpicktree |
HTTP endpoints 2
| Route(s) | Handler | Auth | Type | Methods | Flags |
|---|---|---|---|---|---|
/shop/sendcloud_integration_webhook/<int:company_id> |
DeliverySendcloud.sendcloud_integration_webhook |
none | json | POST | sudo |
/sendcloud/picking/download_labels |
DeliverySendcloud.sendcloud_picking_download_labels |
user | http | ALL |
Models touched 39
No new fields.
Public methods (1)-
button_confirm(self)
-
delivery_typeSelectionondelete={'sendcloud': <expr>}selection_add=[('sendcloud', 'Sendcloud')] -
sendcloud_carrierChar -
sendcloud_codeInteger -
sendcloud_country_idsOne2many → sendcloud.shipping.method.countrycompute='_compute_sendcloud_country_ids'string='Price per Country' args: 'sendcloud.shipping.method.country' -
sendcloud_integration_idMany2one → sendcloud.integrationcompute='_compute_sendcloud_integration_id' args: 'sendcloud.integration' -
sendcloud_is_returnBoolean -
sendcloud_max_weightFloat -
sendcloud_min_weightFloat -
sendcloud_priceFloathelp='When this value is null, the price is calculated based on the pricelist by countries' -
sendcloud_sender_address_idMany2one → sendcloud.sender.addressargs: 'sendcloud.sender.address' -
sendcloud_service_point_inputSelectiondefault='none' args: [('none', 'None'), ('required', 'Required')] -
sendcloud_service_point_requiredBooleancompute='_compute_sendcloud_service_point_required' -
sendcloud_sync_countriesBooleandefault=Truestring='Synchronize countries with Sendcloud'
-
available_carriers(self, partner, order)Standard Odoo method, invoked by the super(), already filters shipping methods, including Sendcloud shipping methods, by the country of the selected partner. In addition, this method filters the Sendcloud shipping methods by - sender address (warehouse address) - weight range - enabled/disabled service point in Sendcloud integration. :param partner: :param order: :return: -
button_from_sendcloud_sync(self) -
sendcloud_cancel_shipment(self, picking) -
sendcloud_get_return_label(self, pickings, tracking_number=None, origin_date=None)Log a warning if the user tries to generate a return label. -
sendcloud_rate_shipment(self, order) -
sendcloud_send_shipping(self, pickings) -
sendcloud_sync_shipping_method(self)@api.model -
sendcloud_update_carriers(self, updated_shipping_methods)@api.model -
write(self, vals)
No new fields.
Public methods (2)-
action_close_sendcloud_onboarding(self)@api.model -
get_sendcloud_onboarding_data(self)@api.model
No new fields.
Public methods (3)-
action_open_sendcloud_onboarding_integration(self)@api.modelCalled by onboarding panel. -
action_open_sendcloud_onboarding_warehouse_address(self)@api.modelCalled by onboarding panel. -
action_sendcloud_onboarding_sync(self)@api.modelCalled by onboarding panel.
-
is_sendcloud_test_modeBoolean -
sendcloud_auto_create_invoiceBoolean -
sendcloud_brand_idsOne2many → sendcloud.brandstring='Sendcloud Brands' args: 'sendcloud.brand', 'company_id' -
sendcloud_default_integration_idMany2one → sendcloud.integrationcompute='_compute_sendcloud_default_integration_id' args: 'sendcloud.integration' -
sendcloud_integration_idsOne2many → sendcloud.integrationstring='Sendcloud Integrations' args: 'sendcloud.integration', 'company_id' -
sendcloud_invoice_idsOne2many → sendcloud.invoicestring='Sendcloud Invoices' args: 'sendcloud.invoice', 'company_id' -
sendcloud_return_idsOne2many → sendcloud.returnstring='Sendcloud Returns' args: 'sendcloud.return', 'company_id' -
sendcloud_sender_address_idsOne2many → sendcloud.sender.addressstring='Sendcloud Sender Addresses' args: 'sendcloud.sender.address', 'company_id'
No public methods.
-
is_sendcloud_test_modeBooleanreadonly=Falserelated='company_id.is_sendcloud_test_mode' -
sendcloud_auto_create_invoiceBooleanreadonly=Falserelated='company_id.sendcloud_auto_create_invoice'
No public methods.
-
sencloud_sender_address_idMany2one → sendcloud.sender.addresscomodel_name='sendcloud.sender.address'string='Sendcloud Sender Address' -
sendcloud_is_in_euBooleancompute='_compute_sendcloud_is_in_eu'string='Is in EU'
No public methods.
-
is_sendcloud_delivery_typeBooleancompute='_compute_is_sendcloud_delivery_type'store=True -
sendcloud_customs_shipment_typeSelectiondefault=<expr>selection='_get_sendcloud_customs_shipment_type' -
sendcloud_order_codeCharindex=True -
sendcloud_order_weightFloatcompute='_compute_sendcloud_order_weight' -
sendcloud_service_point_addressTextcopy=False -
sendcloud_service_point_requiredBooleanrelated='carrier_id.sendcloud_service_point_required' -
sendcloud_sp_detailsCharcompute='_compute_sendcloud_sp_details'
-
action_cancel(self) -
button_delete_sendcloud_order(self) -
button_to_sendcloud_sync(self) -
unlink(self)
-
actionChar -
company_idMany2one → res.companyrequired=True args: 'res.company' -
date_last_successDatetime -
error_messageChar -
error_on_parsingBoolean -
exitcodeChar -
is_processedBoolean -
messageTextstring='Received Message' -
message_typeSelectionrequired=True args: [('sent', 'Sent'), ('received', 'Received')] -
modelChar -
record_idReferencecompute='_compute_resource_record'readonly=Trueselection='_reference_models' -
residInteger -
response_timeFloatstring='Response Time (sec)' -
sendcloud_integration_idMany2one → sendcloud.integrationargs: 'sendcloud.integration' -
sent_payloadText -
timestampChar
-
parse_result(self) -
reparse_message(self) -
sendcloud_delete_old_actions(self, days=7)@api.model
-
activeBooleandefault=True -
colorChar -
company_idMany2one → res.companydefault=<expr>required=True args: 'res.company' -
domainChar -
hide_powered_byBoolean -
nameCharrequired=True -
notify_bcc_emailInteger -
notify_reply_to_emailInteger -
print_thumbChar -
return_portal_urlCharcompute='_compute_return_portal_url' -
screen_thumbChar -
secondary_colorChar -
sendcloud_codeIntegerrequired=True -
websiteChar
-
action_create_return_parcel(self) -
sendcloud_sync_brands(self)@api.model -
sendcloud_update_brands(self, brand_data, company)@api.model
No new fields.
Public methods (1)-
do_cancel_shipment(self)
-
nameCharrequired=True -
sendcloud_codeCharrequired=True
No public methods.
-
sencloud_sender_address_country_codeCharrelated='sencloud_sender_address_id.country' -
sencloud_sender_address_idMany2one → sendcloud.sender.addresscompute='_compute_sencloud_sender_address_id'readonly=Falsestore=True args: 'sendcloud.sender.address' -
warehouse_country_codeCharrelated='warehouse_id.partner_id.country_id.code' -
warehouse_idMany2one → stock.warehouseondelete='cascade'readonly=Truerequired=True args: 'stock.warehouse' -
wizard_idMany2one → sendcloud.warehouse.address.wizardondelete='cascade' args: 'sendcloud.warehouse.address.wizard'
No public methods.
-
access_tokenTextreadonly=True -
brand_idMany2one → sendcloud.brandrequired=True args: 'sendcloud.brand' -
collo_countInteger -
delivery_option_idMany2one → sendcloud.create.return.parcel.wizard.delivery.optiondomain="[('id', 'in', delivery_option_ids)]" args: 'sendcloud.create.return.parcel.wizard.delivery.option' -
delivery_option_idsOne2many → sendcloud.create.return.parcel.wizard.delivery.optionargs: 'sendcloud.create.return.parcel.wizard.delivery.option', 'wizard_id', 'Delivery Options' -
delivery_optionsTextdefault='[]'string='Delivery Options Cached' -
enable_refundsBoolean -
error_messageTextreadonly=True -
identifierCharrequired=True -
info_messageTextreadonly=True -
languageSelectiondefault=<expr>required=Trueselection=<expr> -
line_idsOne2many → sendcloud.create.return.parcel.wizard.lineargs: 'sendcloud.create.return.parcel.wizard.line', 'wizard_id', 'Lines' -
national_carrier_contactTextreadonly=True -
parcel_idMany2one → sendcloud.parcelargs: 'sendcloud.parcel' -
poller_urlCharreadonly=True -
postal_codeCharrequired=True -
reason_idMany2one → sendcloud.create.return.parcel.wizard.reasondomain="[('id', 'in', reason_ids)]" args: 'sendcloud.create.return.parcel.wizard.reason' -
reason_idsOne2many → sendcloud.create.return.parcel.wizard.reasonargs: 'sendcloud.create.return.parcel.wizard.reason', 'wizard_id', 'Reasons' -
reason_messageText -
reasonsTextdefault='[]'string='Reasons Cached' -
refund_messageText -
refund_option_idMany2one → sendcloud.create.return.parcel.wizard.refund.optiondomain="[('id', 'in', refund_option_ids)]" args: 'sendcloud.create.return.parcel.wizard.refund.option' -
refund_option_idsOne2many → sendcloud.create.return.parcel.wizard.refund.optionargs: 'sendcloud.create.return.parcel.wizard.refund.option', 'wizard_id', 'Refund Options' -
refund_option_require_messageBooleanrelated='refund_option_id.require_message' -
refund_optionsTextdefault='[]'string='Refund Options Cached' -
return_feeFloat -
return_location_idMany2one → sendcloud.create.return.parcel.wizard.return.locationdomain="[('id', 'in', return_location_ids)]" args: 'sendcloud.create.return.parcel.wizard.return.location' -
return_location_idsOne2many → sendcloud.create.return.parcel.wizard.return.locationargs: 'sendcloud.create.return.parcel.wizard.return.location', 'wizard_id', 'Return Locations' -
return_locationsTextdefault='[]'string='Return Locations Cached' -
return_policy_urlChar -
return_portal_urlChar -
service_pointTextreadonly=True -
service_points_tokenTextreadonly=True -
shop_distancesTextreadonly=True -
support_urlChar
-
button_confirm(self) -
onchange_parcel_id(self)@api.onchange('parcel_id') -
sendcloud_update_carriers(self, carriers_data)@api.model
-
codeSelectionrequired=True args: [('drop_off_point', 'Drop-off Point'), ('in_store', 'In Store'), ('drop_off_labelless', 'Labelless Drop Off')] -
nameCharcompute='_compute_name'store=True -
wizard_idMany2one → sendcloud.create.return.parcel.wizardargs: 'sendcloud.create.return.parcel.wizard'
No public methods.
-
nameChar -
priceFloat -
quantityIntegerrequired=True -
return_messageText -
return_reasonIntegerdefault=3 -
sendcloud_codeCharrequired=True -
wizard_idMany2one → sendcloud.create.return.parcel.wizardargs: 'sendcloud.create.return.parcel.wizard'
No public methods.
-
codeIntegerrequired=True -
nameCharrequired=True -
wizard_idMany2one → sendcloud.create.return.parcel.wizardargs: 'sendcloud.create.return.parcel.wizard'
No public methods.
-
codeSelectionstring='Refund Type' args: [('money', 'Money'), ('credit', 'Credit'), ('exchange', 'Exchange')] -
nameCharrequired=True -
require_messageBoolean -
wizard_idMany2one → sendcloud.create.return.parcel.wizardargs: 'sendcloud.create.return.parcel.wizard'
No public methods.
-
address_1Char -
address_2Char -
cityChar -
codeIntegerrequired=True -
company_nameChar -
country_nameChar -
house_numberChar -
nameChar -
postal_codeChar -
senderaddress_labelsTextdefault='[]' -
wizard_idMany2one → sendcloud.create.return.parcel.wizardargs: 'sendcloud.create.return.parcel.wizard'
No public methods.
-
enable_price_customBooleanreadonly=Falserelated='shipping_method_country_id.enable_price_custom'string='Enable custom price?' -
priceFloatrelated='shipping_method_country_id.price'string='Standard Price' -
price_checkSelectionrelated='shipping_method_country_id.price_check' -
price_customFloatreadonly=Falserelated='shipping_method_country_id.price_custom'string='Custom Price' -
product_idMany2onereadonly=Falserelated='shipping_method_country_id.product_id' -
shipping_method_country_idMany2one → sendcloud.shipping.method.countryreadonly=Truerequired=Truestring='Shipping to Country' args: 'sendcloud.shipping.method.country'
-
remove_custom_price(self) -
set_custom_price(self)
-
activeBooleandefault=True -
company_idMany2one → res.companydefault=<expr>required=True args: 'res.company' -
databaseChar -
public_keyCharreadonly=False -
secret_keyCharreadonly=False -
sendcloud_codeIntegerreadonly=True -
sequenceIntegerdefault=10help='Determine the display order' -
service_point_carrier_idsMany2many → sendcloud.carriercompute='_compute_service_point_carrier_ids'inverse='_inverse_service_point_carrier_ids'string='Carriers' args: 'sendcloud.carrier' -
service_point_carriersTextdefault='[]' -
service_point_enabledBoolean -
shop_nameCharrequired=True -
shop_urlChar -
webhook_activeBoolean -
webhook_urlChar
-
action_sendcloud_update_integrations(self) -
sendcloud_create_update_integrations(self, req_integrations, company)@api.model -
sendcloud_update_carriers(self, updated_integrations)@api.model -
write(self, vals)
-
base_urlCharcompute='_compute_base_url' -
company_idMany2one → res.companydefault=<expr>required=True args: 'res.company' -
error_messageTextreadonly=True -
info_messageTextreadonly=True -
integration_request_urlCharcompute='_compute_integration_request_url' -
is_sendcloud_test_modeBooleancompute='_compute_is_sendcloud_test_mode'
-
button_update(self) -
check_webhook_url(self)
-
activeBooleandefault=True -
company_idMany2one → res.companydefault=<expr>required=True args: 'res.company' -
invoice_dateDatetime -
invoice_typeSelectionreadonly=Trueselection=<expr> -
is_paidBoolean -
item_idsOne2many → sendcloud.invoice.itemargs: 'sendcloud.invoice.item', 'sendcloud_invoice_id' -
price_exclFloat -
price_inclFloat -
refChar -
sendcloud_codeIntegerrequired=True
-
button_get_invoice_details(self) -
sendcloud_sync_invoices(self)@api.model -
sendcloud_update_invoice_details(self, invoice_data) -
sendcloud_update_invoices(self, invoice_data, company)@api.model
-
nameChar -
sendcloud_codeIntegerrequired=True -
sendcloud_invoice_idMany2one → sendcloud.invoiceondelete='cascade' args: 'sendcloud.invoice'
No public methods.
-
is_sendcloud_test_modeBooleancompute='_compute_is_sendcloud_test_mode'
No public methods.
-
addressChar -
address_2Charhelp='An apartment or floor number.' -
attachment_idMany2one → ir.attachmentcomodel_name='ir.attachment'ondelete='cascade' -
brand_idMany2one → sendcloud.brandcompute='_compute_brand_id'readonly=Falsestore=True args: 'sendcloud.brand' -
carrierChar -
cityChar -
colli_tracking_numberCharhelp='Multi-collo only. This is a tracking number assigned by the carrier to identify the entire multi-collo shipment.' -
colli_uuidChar -
collo_countIntegerhelp='A number indicating the number of collos within a shipment. For non-multi-collo shipments, this value will always be 1.' -
collo_nrIntegerhelp='A number indicating the collo number within a shipment. For a non-multi-collo shipment, this value will always be 0. In a multi-collo shipment with 3 collos, this number will range from 0 to 2.' -
company_idMany2one → res.companycompute='_compute_company_id'readonly=Falserequired=Truestore=True args: 'res.company' -
company_nameChar -
country_iso_2Char -
customs_invoice_nrChar -
document_idsOne2many → sendcloud.parcel.documentstring='Documents' args: 'sendcloud.parcel.document', 'parcel_id' -
documentsTexthelp='An array of documents. A parcel can contain multiple documents, for instance labels and a customs form. This field returns an array of all the available documents for this parcel.'string='Documents Data' -
emailChar -
external_order_idChar -
external_referenceCharhelp='A field to use as a reference for your order.' -
external_shipment_idChar -
house_numberChar -
insured_valueFloathelp='Insured Value is in Euro currency.' -
is_returnBooleanreadonly=True -
labelBinaryrelated='attachment_id.datas'string='File Content' -
label_print_statusSelectiondefault='generated' args: [('generated', 'Generated'), ('printed', 'Printed')] -
label_printer_urlChar -
nameCharrequired=True -
noteText -
order_numberChar -
package_idMany2one → stock.quant.packageargs: 'stock.quant.package' -
parcel_item_idsOne2many → sendcloud.parcel.itemargs: 'sendcloud.parcel.item', 'parcel_id' -
partner_nameChar -
picking_idMany2one → stock.pickingargs: 'stock.picking' -
postal_codeChar -
referenceChar -
return_portal_urlChar -
sendcloud_codeIntegerrequired=True -
sendcloud_customs_shipment_typeSelectionselection='_get_sendcloud_customs_shipment_type' -
sendcloud_statusSelectionreadonly=Trueselection=<expr> -
shipmentCharstring='Cached Shipment' -
shipment_idMany2one → delivery.carriercompute='_compute_shipment_id' args: 'delivery.carrier' -
shipment_uuidChar -
shipping_methodInteger -
streetChar -
telephoneChar -
to_post_numberText -
to_service_pointCharhelp='The id of service point to which the shipment is going to be shipped.' -
to_stateChar -
total_insured_valueFloathelp='Total Insured Value is in Euro currency.' -
tracking_numberChar -
tracking_urlChar -
typeCharhelp='Returns either ‘parcel’ or ‘letter’ by which you can determine the type of your shipment.' -
weightFloathelp='Weight unit of measure is KG.'
-
action_create_return_parcel(self) -
action_get_parcel_label(self) -
action_get_return_portal_url(self) -
action_parcel_documents(self) -
button_sync_parcel(self) -
sendcloud_create_update_parcels(self, parcels_data, company_id)@api.model -
sendcloud_sync_parcels(self)@api.model -
unlink(self)
-
attachmentBinaryrelated='attachment_id.datas'string='File Content' -
attachment_idMany2one → ir.attachmentcomodel_name='ir.attachment'ondelete='cascade' -
linkChar -
nameCharrequired=True -
parcel_idMany2one → sendcloud.parcelargs: 'sendcloud.parcel' -
sizeChar
-
action_get_parcel_document(self) -
generate_parcel_document_filename(self)
-
descriptionCharrequired=True -
hs_codeChar -
origin_countryChar -
parcel_idMany2one → sendcloud.parcelondelete='cascade' args: 'sendcloud.parcel' -
product_idChar -
propertiesChar -
quantityInteger -
return_messageChar -
return_reasonChar -
skuChar -
valueFloat -
weightFloat
No public methods.
-
messageCharrequired=True -
sendcloud_codeCharrequired=True
-
sendcloud_sync_parcel_statuses(self)@api.model -
sendcloud_update_parcel_statuses(self, integration)@api.model
No new fields.
Public methods (23)-
cancel_parcel(self, code) -
create_parcels(self, post_data) -
create_return_portal_incoming_parcel(self, domain_brand, payload, headers) -
create_shipments(self, integration_code, vals_list) -
delete_shipments(self, integration_id, post_data) -
get_brands(self) -
get_integrations(self) -
get_parcel(self, code) -
get_parcel_document(self, link) -
get_parcel_label(self, label_printer_url) -
get_parcels(self) -
get_parcels_statuses(self) -
get_return(self, code) -
get_return_portal_outgoing_parcel(self, domain_brand, params) -
get_return_portal_settings(self, domain_brand, language='') -
get_return_portal_url(self, code) -
get_returns(self) -
get_sender_address(self) -
get_shipping_method(self, code, params) -
get_shipping_methods(self, params) -
get_user_invoice(self, code) -
get_user_invoices(self) -
update_integration(self, code, data)
-
activeBooleandefault=True -
company_idMany2one → res.companydefault=<expr>required=True args: 'res.company' -
created_atChar -
delivered_atChar -
delivery_optionSelectionargs: [('drop_off_point', 'Drop Off Point'), ('in_store', 'In Store'), ('drop_off_labelless', 'Labelless Drop Off')] -
emailChar -
incoming_parcel_brand_nameChar -
incoming_parcel_codeInteger -
incoming_parcel_deletedBoolean -
incoming_parcel_from_emailChar -
incoming_parcel_global_status_slugChar -
incoming_parcel_idMany2one → sendcloud.parcelcompute='_compute_parcel_id' args: 'sendcloud.parcel' -
incoming_parcel_order_numberChar -
incoming_parcel_parcel_statusChar -
incoming_parcel_status_codeInteger -
incoming_parcel_status_global_status_slugChar -
incoming_parcel_status_messageChar -
incoming_parcel_tracking_numberChar -
incoming_parcel_tracking_urlChar -
is_cancellableBoolean -
items_costFloat -
label_costFloat -
messageText -
outgoing_parcel_brand_nameChar -
outgoing_parcel_codeInteger -
outgoing_parcel_deletedBoolean -
outgoing_parcel_from_emailChar -
outgoing_parcel_global_status_slugChar -
outgoing_parcel_idMany2one → sendcloud.parcelcompute='_compute_parcel_id' args: 'sendcloud.parcel' -
outgoing_parcel_order_numberChar -
outgoing_parcel_parcel_statusChar -
outgoing_parcel_tracking_numberChar -
outgoing_parcel_tracking_urlChar -
reasonInteger -
refund_messageChar -
refund_typeChar -
refunded_atChar -
return_response_cacheTextdefault='{}' -
sendcloud_codeIntegerrequired=True -
statusChar -
status_displayChar -
total_refundFloat
-
sendcloud_create_or_update_returns(self, return_data, company)@api.model -
sendcloud_sync_returns(self)@api.model
-
activeBooleandefault=True -
cityChar -
company_idMany2one → res.companydefault=<expr>required=True args: 'res.company' -
company_nameChar -
contact_nameChar -
countryChar -
emailChar -
eori_numberChar -
house_numberChar -
postal_boxChar -
postal_codeChar -
sendcloud_codeIntegerrequired=True -
streetChar -
telephoneChar -
vat_numberChar
-
sendcloud_sync_sender_address(self)@api.model -
sendcloud_update_sender_address(self, sender_addresses, company)@api.model
-
company_idMany2one → res.companyrequired=True args: 'res.company' -
country_idMany2one → res.countrycompute='_compute_country_id'string='To Country' args: 'res.country' -
enable_price_customBooleancompute='_compute_price_custom'inverse='_inverse_price_custom'readonly=False -
from_country_idMany2one → res.countrycompute='_compute_country_id' args: 'res.country' -
from_iso_2Char -
from_iso_3Char -
from_nameCharcompute='_compute_country_id' -
iso_2Charrequired=True -
iso_3Char -
method_codeIntegerrequired=True -
nameCharcompute='_compute_country_id' -
priceFloat -
price_checkSelectioncompute='_compute_price_custom' args: [('standard', 'Standard'), ('custom', 'Custom'), ('unavailable', 'Unavailable')] -
price_customFloatcompute='_compute_price_custom'help='This price will override the standard price and will be applied to the shipping price.'inverse='_inverse_price_custom'readonly=Falsestring='Custom Price' -
product_idMany2one → product.productcomodel_name='product.product'compute='_compute_price_custom'domain="[('type', '=', 'service')]"help='This product will be used on the sale order line'inverse='_inverse_price_custom'readonly=Falsestring='Specific Delivery Product' -
sendcloud_codeIntegerrequired=True -
sendcloud_is_returnBoolean
-
sendcloud_custom_price_details(self)
-
company_idMany2one → res.companyrequired=True args: 'res.company' -
custom_priceBoolean -
enable_price_customBoolean -
iso_2Charrequired=True -
method_codeIntegerrequired=True -
priceFloat -
product_idMany2one → product.productcomodel_name='product.product'domain="[('type', '=', 'service')]"help='This product will be used on the sale order line'string='Specific Delivery Product'
No public methods.
-
sync_from_dateDatedefault=<expr>required=True
-
button_sync(self)
-
brandsBooleandefault=True -
invoicesBooleandefault=True -
parcel_statusesBooleandefault=True -
parcelsBooleandefault=True -
returnsBooleandefault=True -
sender_addressesBooleandefault=True -
shipping_methodsBooleandefault=True
-
button_sync(self)
-
warehouse_idsOne2many → sendcloud.change.warehouse.address.wizarddefault=_default_warehouse_idsstring='Warehouses' args: 'sendcloud.change.warehouse.address.wizard', 'wizard_id'
-
button_update(self)
-
label_print_statusSelectioncompute='_compute_label_print_status'store=True args: [('generated', 'Generated'), ('printed', 'Printed'), ('partial', 'Partially Printed')] -
sendcloud_announceBooleandefault=Truehelp='Should the parcel request a label.' -
sendcloud_apply_shipping_rulesBooleanhelp='When set to True configured shipping rules will be applied before creating the label and announcing the Parcel' -
sendcloud_customs_shipment_typeSelectioncompute='_compute_sendcloud_customs_shipment_type'readonly=Falseselection='_get_sendcloud_customs_shipment_type'store=True -
sendcloud_insured_valueFloathelp='Insured Value must be in Euro currency.' -
sendcloud_is_returnBoolean -
sendcloud_last_cachedDatetimecopy=Falsereadonly=True -
sendcloud_parcel_countIntegercompute='_compute_sendcloud_parcel_count'string='Parcels' -
sendcloud_parcel_idsOne2many → sendcloud.parcelargs: 'sendcloud.parcel', 'picking_id' -
sendcloud_service_point_addressTextcompute='_compute_sendcloud_service_point_address'readonly=Falsestore=True -
sendcloud_service_point_requiredBooleanrelated='carrier_id.sendcloud_service_point_required' -
sendcloud_shipment_codeCharcopy=Falseindex=True -
sendcloud_shipment_uuidCharcopy=False -
sendcloud_shipping_method_checkout_nameChar -
sendcloud_sp_detailsCharcompute='_compute_sendcloud_sp_details'
-
action_cancel(self) -
action_download_sendcloud_labels(self) -
action_multi_create_sendcloud_labels(self) -
action_multi_create_sendcloud_labels_download(self) -
action_open_sendcloud_parcels(self) -
button_create_sendcloud_labels(self) -
button_delete_sendcloud_picking(self) -
button_to_sendcloud_sync(self) -
cancel_shipment(self) -
create(self, vals)@api.model_create_multi -
delete_sendcloud_pickings(self, to_delete_shipments)@api.model -
generate_sendcloud_ref_uuid_vals(self) -
to_delete_sendcloud_pickings(self) -
unlink(self) -
write(self, vals)
-
sencloud_sender_address_idMany2onereadonly=Falserelated='partner_id.sencloud_sender_address_id'
No public methods.
Loading…
Loading…