-
-
Notifications
You must be signed in to change notification settings - Fork 872
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[IMP] partner_shipping_policy: pre-commit auto fixes
- Loading branch information
Samir GUESMI
committed
Feb 4, 2025
1 parent
662ce63
commit 63ca762
Showing
10 changed files
with
46 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,21 +17,23 @@ Partner Shipping Policy | |
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html | ||
:alt: License: AGPL-3 | ||
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fpartner--contact-lightgray.png?logo=github | ||
:target: https://github.com/OCA/partner-contact/tree/16.0/partner_shipping_policy | ||
:target: https://github.com/OCA/partner-contact/tree/18.0/partner_shipping_policy | ||
:alt: OCA/partner-contact | ||
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png | ||
:target: https://translation.odoo-community.org/projects/partner-contact-16-0/partner-contact-16-0-partner_shipping_policy | ||
:target: https://translation.odoo-community.org/projects/partner-contact-18-0/partner-contact-18-0-partner_shipping_policy | ||
: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/partner-contact&target_branch=16.0 | ||
:target: https://runboat.odoo-community.org/builds?repo=OCA/partner-contact&target_branch=18.0 | ||
:alt: Try me on Runboat | ||
|
||
|badge1| |badge2| |badge3| |badge4| |badge5| | ||
|
||
A new field is introduced to specify the shipping policy for each partner. | ||
In sales orders, the shipping policy will be set to the delivery address contact shipping policy. | ||
If the field is empty, it falls back to the shipping policy set in the main contact. | ||
If neither the delivery address nor the customer contact has a shipping policy set, it will be set with the configured default value. | ||
A new field is introduced to specify the shipping policy for each | ||
partner. In sales orders, the shipping policy will be set to the | ||
delivery address contact shipping policy. If the field is empty, it | ||
falls back to the shipping policy set in the main contact. If neither | ||
the delivery address nor the customer contact has a shipping policy set, | ||
it will be set with the configured default value. | ||
|
||
**Table of contents** | ||
|
||
|
@@ -41,35 +43,36 @@ If neither the delivery address nor the customer contact has a shipping policy s | |
Usage | ||
===== | ||
|
||
Fill in the shipping policy field for the contact in the contact form. You can find this new field in the "Sales & Purchase" tab. | ||
When creating a sales order the shipping policy will be set taking into account the delivery address shipping policy or the main contact shipping policy. | ||
Fill in the shipping policy field for the contact in the contact form. | ||
You can find this new field in the "Sales & Purchase" tab. When creating | ||
a sales order the shipping policy will be set taking into account the | ||
delivery address shipping policy or the main contact shipping policy. | ||
|
||
Bug Tracker | ||
=========== | ||
|
||
Bugs are tracked on `GitHub Issues <https://github.com/OCA/partner-contact/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/partner-contact/issues/new?body=module:%20partner_shipping_policy%0Aversion:%2016.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_. | ||
`feedback <https://github.com/OCA/partner-contact/issues/new?body=module:%20partner_shipping_policy%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 | ||
~~~~~~~ | ||
------- | ||
|
||
* ForgeFlow | ||
|
||
Contributors | ||
~~~~~~~~~~~~ | ||
|
||
* Marina Alapont <[email protected]> | ||
------------ | ||
|
||
- Marina Alapont <[email protected]> | ||
|
||
Maintainers | ||
~~~~~~~~~~~ | ||
----------- | ||
|
||
This module is maintained by the OCA. | ||
|
||
|
@@ -81,6 +84,6 @@ 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/partner-contact <https://github.com/OCA/partner-contact/tree/16.0/partner_shipping_policy>`_ project on GitHub. | ||
This module is part of the `OCA/partner-contact <https://github.com/OCA/partner-contact/tree/18.0/partner_shipping_policy>`_ project on GitHub. | ||
|
||
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[build-system] | ||
requires = ["whool"] | ||
build-backend = "whool.buildapi" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
- Marina Alapont \<<[email protected]>\> |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
A new field is introduced to specify the shipping policy for each | ||
partner. In sales orders, the shipping policy will be set to the | ||
delivery address contact shipping policy. If the field is empty, it | ||
falls back to the shipping policy set in the main contact. If neither | ||
the delivery address nor the customer contact has a shipping policy set, | ||
it will be set with the configured default value. |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
Fill in the shipping policy field for the contact in the contact form. | ||
You can find this new field in the "Sales & Purchase" tab. When creating | ||
a sales order the shipping policy will be set taking into account the | ||
delivery address shipping policy or the main contact shipping policy. |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters