Martin Maes cb1b5970a5 [IMP] delivery: Sendcloud and Fedex delivery points
The main goal of this commit is to add the possibility to use delivery/pick up points with the carrier Sendcloud.
The user can check the "Use Sendcloud Location" on the shipping method and choose the radius and radius unit to limit the distance between the address of the recipient and the pick up point.

As Fedex already had a similar feature and to prepare the pick up points implementation for future carriers, we factorized the existing Fedex code into the website_sale_delivery module.

The issue where it is impossible to select a pick up location when there is only carrier has also been fixed.

The factorization applies to :
	- /controllers/main:
				- set_access_point sets the address of the access point directly in the order
				- get_access_point retrieves the data set in set_access_point
				- get_close_locations calls the API of the carrier and returns the pick up locations obtained

	- /website_sale_delivery.js:
				- getCurrentLocation retrieves the location already set in the order and displays it
				- _onClickShowLocations displays a dropdown with all the pick up points available in the area
				- _displayCarrierDropper displays the button showing the dropdown
				- _onClickLocation sets the location in the order

Part-of: odoo/odoo#105848
2023-03-01 23:27:55 +01:00
…
…
…
…
2023-01-03 13:16:02 +01:00
2023-01-03 13:16:02 +01:00

Build Status Tech Doc Help Nightly Builds

Odoo

Odoo is a suite of web based open source business apps.

The main Odoo Apps include an Open Source CRM, Website Builder, eCommerce, Warehouse Management, Project Management, Billing & Accounting, Point of Sale, Human Resources, Marketing, Manufacturing, ...

Odoo Apps can be used as stand-alone applications, but they also integrate seamlessly so you get a full-featured Open Source ERP when you install several Apps.

Getting started with Odoo

For a standard installation please follow the Setup instructions from the documentation.

To learn the software, we recommend the Odoo eLearning, or Scale-up, the business game. Developers can start with the developer tutorials

S
Description
No description provided
Readme LGPL-3.0
3.4 GiB
Languages
Python 49.6%
JavaScript 47.8%
SCSS 2%
CSS 0.3%
HTML 0.2%