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

[17.0][MIG] delivery_roulier_chronopost_fr: Migration to 17.0 #830

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
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
83 changes: 83 additions & 0 deletions delivery_roulier_chronopost_fr/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,83 @@
==========================
Delivery Chronopost France
==========================

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

.. |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/17.0/delivery_roulier_chronopost_fr
: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-17-0/delivery-carrier-17-0-delivery_roulier_chronopost_fr
: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=17.0
:alt: Try me on Runboat

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

Allow to generate label for CHRONOPOST carrier.

**Table of contents**

.. contents::
:local:

Known issues / Roadmap
======================

For now, multi parcel is not managed, packages are sent one by one to
the webservice. ESD option is not implemented yet. Relay Point has not
been implemented either.

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_roulier_chronopost_fr%0Aversion:%2017.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

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

- Florian da Costa <florian.dacosta@akretion.com>

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/17.0/delivery_roulier_chronopost_fr>`_ 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_roulier_chronopost_fr/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import models
18 changes: 18 additions & 0 deletions delivery_roulier_chronopost_fr/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html).

{
"name": "Delivery Chronopost France",
"version": "17.0.1.0.1",
"author": "Akretion,Odoo Community Association (OCA)",
"category": "Delivery",
"complexity": "normal",
"depends": ["delivery_roulier_option"],
"website": "https://github.com/OCA/delivery-carrier",
"data": [
"views/carrier_account.xml",
"data/product.xml",
"data/delivery.xml",
],
"installable": True,
"license": "AGPL-3",
}
85 changes: 85 additions & 0 deletions delivery_roulier_chronopost_fr/data/delivery.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,85 @@
<?xml version="1.0" encoding="UTF-8" ?>
<odoo noupdate="1">

<!-- DELIVERY METHODS -->
<record id="chrono_8" model="delivery.carrier">
<field name="name">Chrono 8</field>
<field name="code">75</field>
<field name="delivery_type">chronopost_fr</field>
<field name="product_id" ref="chronopost_product" />
</record>

<record id="chrono_9" model="delivery.carrier">
<field name="name">Chrono 9</field>
<field name="code">76</field>
<field name="delivery_type">chronopost_fr</field>
<field name="product_id" ref="chronopost_product" />
</record>

<record id="chrono_10" model="delivery.carrier">
<field name="name">Chrono 10</field>
<field name="code">02</field>
<field name="delivery_type">chronopost_fr</field>
<field name="product_id" ref="chronopost_product" />
</record>

<record id="chrono_13" model="delivery.carrier">
<field name="name">Chrono 13</field>
<field name="code">01</field>
<field name="delivery_type">chronopost_fr</field>
<field name="product_id" ref="chronopost_product" />
</record>

<record id="chrono_18" model="delivery.carrier">
<field name="name">Chrono 18</field>
<field name="code">16</field>
<field name="delivery_type">chronopost_fr</field>
<field name="product_id" ref="chronopost_product" />
</record>

<record id="chrono_express" model="delivery.carrier">
<field name="name">Chrono Express</field>
<field name="code">17</field>
<field name="delivery_type">chronopost_fr</field>
<field name="product_id" ref="chronopost_product" />
</record>

<record id="chrono_classic" model="delivery.carrier">
<field name="name">Chrono Classic</field>
<field name="code">44</field>
<field name="delivery_type">chronopost_fr</field>
<field name="product_id" ref="chronopost_product" />
</record>

<!-- OPTIONS -->
<record id="chronopost_service_monday" model="delivery.carrier.template.option">
<field name="name">Delivery on Monday</field>
<field name="code">MON</field>
<field name="description">Normal delivery if you do not choose this option</field>
</record>

<record id="chronopost_service_saturday" model="delivery.carrier.template.option">
<field name="name">Delivery on Saturday</field>
<field name="code">SAT</field>
<field name="description">Normal delivery if you do not choose this option</field>
</record>

<!-- Shipper Pre Alert -->
<record id="chronopost_shipper_alert" model="delivery.carrier.template.option">
<field name="name">Shipper Pre-alert</field>
<field name="code">SHIPALERT</field>
<field
name="description"
>Subscription Tracking Shipper (no shipper pre-alert if you do not choose this option)</field>
</record>

<!-- Recipient Pre Alert -->
<record id="chronopost_recipient_alert" model="delivery.carrier.template.option">
<field name="name">Recipient Pre-alert</field>
<field name="code">RECIPALERT</field>
<field
name="description"
>Recipient mail pre-alert (no recipient pre-alert if you do not choose this option)</field>
</record>

</odoo>
10 changes: 10 additions & 0 deletions delivery_roulier_chronopost_fr/data/product.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="utf-8" ?>
<odoo noupdate="1">

<record id="chronopost_product" model="product.product">
<field name="default_code">SHIP_CHRONOPOST</field>
<field name="type">service</field>
<field name="name">Coûts de livraison - Chronopost</field>
</record>

</odoo>
Loading
Loading