Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[18.0][MIG] delivery_dropoff_site: Migration to 18.0 #963

Open
wants to merge 29 commits into
base: 18.0
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
c186aac
[ADD] delivery_dropoff_site from carrier-delivery-ak 7.0 akretion branch
legalsylvain Jun 11, 2018
3caced6
[UPD] Update delivery_dropoff_site.pot
oca-travis Jun 22, 2018
3d050e4
[UPD] README.rst
OCA-git-bot Jun 23, 2018
8008cae
[REF] remove useless code
sebastienbeau Jun 28, 2019
14552f5
fixup! 3f1d164dda3853277479a2cdb72e72103c8d8200
legalsylvain Jun 28, 2019
d5eec56
delivery_dropoff_site 10.0.1.0.1
OCA-git-bot Jun 28, 2019
c4f1b5e
[UPD] README.rst
OCA-git-bot Jul 29, 2019
e992e15
[10.0] delivery_dropoff_site : add inherit on onchange_partner_shippi…
gaelTorrecillas Feb 9, 2021
82443e7
delivery_dropoff_site 10.0.1.1.0
OCA-git-bot Mar 25, 2021
0e9cb28
[IMP] delivery_dropoff_site: black, isort, prettier
BechirAouji Jun 17, 2022
a462526
[MIG] delivery_dropoff_site: Migration to 14.0
BechirAouji Jun 17, 2022
b03431e
[IMP] delivery_dropoff_site: pre-commit execution
jdoutreloux Jan 4, 2024
76623a9
[MIG] delivery_dropoff_site: Migration to 16.0
jdoutreloux Jan 4, 2024
2f959f5
[IMP] web_widget_ck_editor: fix pre-commit
jdoutreloux Jan 4, 2024
a2dce6e
[MIG] delivery_dropoff_site: migration to v16
jdoutreloux Jan 5, 2024
e0f09f6
[UPD] Update delivery_dropoff_site.pot
Jul 1, 2024
dc76ef8
[BOT] post-merge updates
OCA-git-bot Jul 1, 2024
c254efe
Update translation files
weblate Jul 7, 2024
b1ddcfc
Added translation using Weblate (Italian)
mymage Jul 8, 2024
f5c35bb
[UPD] Update delivery_dropoff_site.pot
Oct 17, 2024
078086e
Update translation files
weblate Oct 17, 2024
20e8632
[UPD] Update delivery_dropoff_site.pot
Oct 29, 2024
807fac6
Update translation files
weblate Oct 29, 2024
2b5f5c0
[UPD] Update delivery_dropoff_site.pot
Dec 4, 2024
5027953
Update translation files
weblate Dec 4, 2024
d77dead
Translated using Weblate (Italian)
mymage Jan 30, 2025
e42a492
Translated using Weblate (Italian)
mymage Jan 31, 2025
91ede1a
[IMP] delivery_dropoff_site: pre-commit auto fixes
BhaveshHeliconia Feb 7, 2025
6144a73
[MIG] delivery_dropoff_site: Migration to 18.0
BhaveshHeliconia Feb 7, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
131 changes: 131 additions & 0 deletions delivery_dropoff_site/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,131 @@
=======================
Delivery Drop-off Sites
=======================

..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:503dc2659b65636b915b1a3fe5ea8de21046a9df6222638b89c843240373866f
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
:target: https://odoo-community.org/page/development-status
:alt: Beta
.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fdelivery--carrier-lightgray.png?logo=github
:target: https://github.com/OCA/delivery-carrier/tree/18.0/delivery_dropoff_site
:alt: OCA/delivery-carrier
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/delivery-carrier-18-0/delivery-carrier-18-0-delivery_dropoff_site
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
:target: https://runboat.odoo-community.org/builds?repo=OCA/delivery-carrier&target_branch=18.0
:alt: Try me on Runboat

|badge1| |badge2| |badge3| |badge4| |badge5|

This module extend Odoo functionnalities, regarding delivery features to
add a new concept of drop-off Sites.

Main international carriers provide transportation services to specific
areas managed by them or by subcontractors.

Then, recipients come pick up their packages in these sites.

**Table of contents**

.. contents::
:local:

Configuration
=============

- To configure drop-off sites, users should be member of 'Sale /
Manager' or 'Inventory / Manager'.
- To use this drop-off sites on sale orders, users should be member of
'Technical Settings / Addresses in Sales Orders'.

Usage
=====

- Go to *Sale* > *Delivery* > *Drop-off Sites*

|image1|

- You can add create new drop-off sites, filling address. you have the
possilibity to generate geolocalization, base on the module
:literal:`\`base_geolocalize`\ \`

|image2|

- Optionaly, you can set opening hours.

|image3|

Then, in your sale order form, if you select a Delivery with drop-off
sites enabled, you can select in the delivery address an drop-off site,
and so use a new field Final recipitient to mention the name of partner
that will pick up the parcel in the dropoff site.

.. |image1| image:: https://raw.githubusercontent.com/OCA/delivery-carrier/10.0/delivery_dropoff_site/static/description/dropoff_site_tree.png
.. |image2| image:: https://raw.githubusercontent.com/OCA/delivery-carrier/10.0/delivery_dropoff_site/static/description/dropoff_site_form.png
.. |image3| image:: https://raw.githubusercontent.com/OCA/delivery-carrier/10.0/delivery_dropoff_site/static/description/dropoff_site_form_calendar.png

Bug Tracker
===========

Bugs are tracked on `GitHub Issues <https://github.com/OCA/delivery-carrier/issues>`_.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us to smash it by providing a detailed and welcomed
`feedback <https://github.com/OCA/delivery-carrier/issues/new?body=module:%20delivery_dropoff_site%0Aversion:%2018.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.

Do not contact contributors directly about support or help with technical issues.

Credits
=======

Authors
-------

* Akretion
* GRAP

Contributors
------------

- David BEAL <david.beal@akretion.com>
- Aymeric LECOMTE, akretion
- Sébastien BEAU <sebastien.beau@akretion.com>
- Sylvain LE GAL (https://twitter.com/legalsylvain)
- `Heliconia Solutions Pvt. Ltd. <https://www.heliconia.io>`__

- Bhavesh Heliconia

Other credits
-------------

The development of this module has been financially supported by:

- GRAP, Groupement Régional Alimentaire de Proximité
(http://www.grap.coop)

Maintainers
-----------

This module is maintained by the OCA.

.. image:: https://odoo-community.org/logo.png
:alt: Odoo Community Association
:target: https://odoo-community.org

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.

This module is part of the `OCA/delivery-carrier <https://github.com/OCA/delivery-carrier/tree/18.0/delivery_dropoff_site>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
1 change: 1 addition & 0 deletions delivery_dropoff_site/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import models
42 changes: 42 additions & 0 deletions delivery_dropoff_site/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
# Copyright (C) 2014 - Today: Akretion (http://www.akretion.com)
# Copyright (C) 2018 - Today: GRAP (http://www.grap.coop)
# @author Aymeric Lecomte <aymeric.lecomte@akretion.com>
# @author David BEAL <david.beal@akretion.com>
# @author: Sylvain LE GAL (https://twitter.com/legalsylvain)
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).

{
"name": "Delivery Drop-off Sites",
"version": "18.0.1.0.0",
"author": "Akretion,GRAP,Odoo Community Association (OCA)",
"license": "AGPL-3",
"summary": "Send goods to sites in which customers come pick up package",
"category": "Delivery",
"depends": [
"base_geolocalize",
"delivery",
"resource",
"sale_stock",
],
"website": "https://github.com/OCA/delivery-carrier",
"data": [
"security/ir.model.access.csv",
"views/view_dropoff_site.xml",
"views/view_sale_order.xml",
"views/view_stock_picking.xml",
"views/view_delivery_carrier.xml",
],
"demo": [
"demo/res_groups.xml",
"demo/resource_calendar.xml",
"demo/delivery_carrier.xml",
"demo/dropoff_site.xml",
],
"images": [
"static/description/dropoff_site_form.png",
"static/description/dropoff_site_form_calendar.png",
"static/description/dropoff_site_tree.png",
"static/description/sale_order_form.png",
],
"installable": True,
}
20 changes: 20 additions & 0 deletions delivery_dropoff_site/demo/delivery_carrier.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<?xml version="1.0" encoding="utf-8" ?>
<odoo>
<record id="product_product_delivery_drop_off" model="product.product">
<field name="name">Drop off method</field>
<field name="default_code">Delivery_010</field>
<field name="type">service</field>
<field name="categ_id" ref="delivery.product_category_deliveries" />
<field name="sale_ok" eval="False" />
<field name="purchase_ok" eval="False" />
<field name="list_price">20.0</field>
</record>
<record id="delivery_carrier" model="delivery.carrier">
<field name="name">Delivery With Drop-off Sites</field>
<field name="delivery_type">fixed</field>
<field name="with_dropoff_site" eval="True" />
<field name="fixed_price">30.0</field>
<field name="product_id" ref="product_product_delivery_drop_off" />
<field name="country_ids" eval="[(4, ref('base.fr')), (4, ref('base.be'))]" />
</record>
</odoo>
22 changes: 22 additions & 0 deletions delivery_dropoff_site/demo/dropoff_site.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<?xml version="1.0" encoding="utf-8" ?>
<odoo>
<record id="dropoff_cordonnerie_multiservice" model="dropoff.site">
<field name="name">Cordonnerie Multi Service</field>
<field name="code">CORD MS</field>
<field name="street">28 rue Monge</field>
<field name="zip">75005</field>
<field name="city">Paris</field>
<field name="country_id" ref="base.fr" />
<field name="carrier_id" ref="delivery_carrier" />
<field name="calendar_id" ref="calendar" />
</record>
<record id="dropoff_exoshoes" model="dropoff.site">
<field name="name">Exoshoes</field>
<field name="code">EXO</field>
<field name="street">6 rue des Capucins</field>
<field name="zip">69001</field>
<field name="city">Lyon</field>
<field name="country_id" ref="base.fr" />
<field name="carrier_id" ref="delivery_carrier" />
</record>
</odoo>
6 changes: 6 additions & 0 deletions delivery_dropoff_site/demo/res_groups.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8" ?>
<odoo>
<record id="account.group_delivery_invoice_address" model="res.groups">
<field name="users" eval="[(4, ref('base.user_root'))]" />
</record>
</odoo>
100 changes: 100 additions & 0 deletions delivery_dropoff_site/demo/resource_calendar.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,100 @@
<?xml version="1.0" encoding="utf-8" ?>
<odoo>
<record id="calendar" model="resource.calendar">
<field name="name">40 Hours/Week</field>
</record>
<record model="resource.calendar.attendance" id="calendar_attendance_mon1">
<field name="name">Monday morning</field>
<field name="dayofweek">0</field>
<field name="hour_from">08</field>
<field name="hour_to">12</field>
<field name="calendar_id" ref="calendar" />
</record>
<record model="resource.calendar.attendance" id="calendar_attendance_mon2">
<field name="name">Monday evening</field>
<field name="dayofweek">0</field>
<field name="hour_from">13</field>
<field name="hour_to">17</field>
<field name="calendar_id" ref="calendar" />
</record>
<record model="resource.calendar.attendance" id="calendar_attendance_tue1">
<field name="name">Tuesday morning</field>
<field name="dayofweek">1</field>
<field name="hour_from">08</field>
<field name="hour_to">12</field>
<field name="calendar_id" ref="calendar" />
</record>
<record model="resource.calendar.attendance" id="calendar_attendance_tue2">
<field name="name">Tuesday evening</field>
<field name="dayofweek">1</field>
<field name="hour_from">13</field>
<field name="hour_to">17</field>
<field name="calendar_id" ref="calendar" />
</record>
<record model="resource.calendar.attendance" id="calendar_attendance_wed1">
<field name="name">Wednesday morning</field>
<field name="dayofweek">2</field>
<field name="hour_from">08</field>
<field name="hour_to">12</field>
<field name="calendar_id" ref="calendar" />
</record>
<record model="resource.calendar.attendance" id="calendar_attendance_wed2">
<field name="name">Wednesday evening</field>
<field name="dayofweek">2</field>
<field name="hour_from">13</field>
<field name="hour_to">17</field>
<field name="calendar_id" ref="calendar" />
</record>
<record model="resource.calendar.attendance" id="calendar_attendance_thu1">
<field name="name">Thursday morning</field>
<field name="dayofweek">3</field>
<field name="hour_from">08</field>
<field name="hour_to">12</field>
<field name="calendar_id" ref="calendar" />
</record>
<record model="resource.calendar.attendance" id="calendar_attendance_thu2">
<field name="name">Thursday evening</field>
<field name="hour_from">13</field>
<field name="hour_to">17</field>
<field name="dayofweek">3</field>
<field name="calendar_id" ref="calendar" />
</record>
<record model="resource.calendar.attendance" id="calendar_attendance_fri1">
<field name="name">Friday morning</field>
<field name="dayofweek">4</field>
<field name="hour_from">08</field>
<field name="hour_to">12</field>
<field name="calendar_id" ref="calendar" />
</record>
<record model="resource.calendar.attendance" id="calendar_attendance_fri2">
<field name="name">Friday evening</field>
<field name="dayofweek">4</field>
<field name="hour_from">13</field>
<field name="hour_to">17</field>
<field name="calendar_id" ref="calendar" />
</record>
<record id="resource_analyst" model="resource.resource">
<field eval="100" name="time_efficiency" />
<field name="user_id" ref="base.user_root" />
<field name="name">Analyst</field>
<field eval="1" name="active" />
<field name="calendar_id" ref="calendar" />
<field name="resource_type">user</field>
</record>
<record id="resource_designer" model="resource.resource">
<field eval="100" name="time_efficiency" />
<field name="user_id" ref="base.user_demo" />
<field name="name">Designer</field>
<field eval="1" name="active" />
<field name="calendar_id" ref="calendar" />
<field name="resource_type">user</field>
</record>
<record id="resource_developer" model="resource.resource">
<field eval="100" name="time_efficiency" />
<field name="user_id" ref="base.user_demo" />
<field name="name">Developer</field>
<field eval="1" name="active" />
<field name="calendar_id" ref="calendar" />
<field name="resource_type">user</field>
</record>
</odoo>
Loading