-
-
Notifications
You must be signed in to change notification settings - Fork 360
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[IMP] delivery_purchase: pre-commit auto fixes
- Loading branch information
Sandeep
committed
Sep 12, 2024
1 parent
c30900a
commit c68e2b0
Showing
14 changed files
with
115 additions
and
93 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
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
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
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,8 @@ | ||
- [Tecnativa](https://www.tecnativa.com): | ||
- Ernesto Tejeda | ||
- Pedro M. Baeza | ||
- Vicent Cubells | ||
- Carolina Fernandez | ||
|
||
- [Sodexis](https://www.sodexis.com): | ||
- Sandeep J |
This file was deleted.
Oops, something went wrong.
8 changes: 4 additions & 4 deletions
8
delivery_purchase/readme/DESCRIPTION.rst → delivery_purchase/readme/DESCRIPTION.md
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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
This module allows to use delivery methods defined in *delivery* module to | ||
calculate purchase delivery costs. | ||
This module allows to use delivery methods defined in *delivery* module | ||
to calculate purchase delivery costs. | ||
|
||
It reverses destinations in delivery pricelists to use them as sources when | ||
applying the delivery method to purchases. | ||
It reverses destinations in delivery pricelists to use them as sources | ||
when applying the delivery method to purchases. |
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,19 @@ | ||
To use this module, you need to: | ||
|
||
1. Go to *Purchase \> Orders \> Purchase Orders* and create a new | ||
Purchase Order. | ||
2. Select a carrier in the field 'Delivery Method', fill out the rest | ||
of the form, be sure you added lines with storable products and save | ||
the form. | ||
3. Confirm the purchase order. | ||
4. Go to the linked 'Receipt' by clicking on 'Receipt' smart-button and | ||
you will see, under 'Additional info' tab, the same carrier selected | ||
in the purchase order. | ||
5. If necessary, you can change the carrier in the 'Receipt'. When it | ||
is validated, the 'shipping cost' of the receipt will be calculated | ||
according to that new selected Carrier. | ||
6. It is possible to change the shipping cost in picking. | ||
7. The shipping cost will appear in an internal note created | ||
automatically when the 'Receipt' is validated. | ||
8. A purchase order line will have been created for the cost of | ||
picking. |
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 |
---|---|---|
|
@@ -8,11 +8,10 @@ | |
|
||
/* | ||
:Author: David Goodger ([email protected]) | ||
:Id: $Id: html4css1.css 9511 2024-01-13 09:50:07Z milde $ | ||
:Id: $Id: html4css1.css 8954 2022-01-20 10:10:25Z milde $ | ||
:Copyright: This stylesheet has been placed in the public domain. | ||
|
||
Default cascading style sheet for the HTML output of Docutils. | ||
Despite the name, some widely supported CSS2 features are used. | ||
|
||
See https://docutils.sourceforge.io/docs/howto/html-stylesheets.html for how to | ||
customize this style sheet. | ||
|
@@ -275,7 +274,7 @@ | |
margin-left: 2em ; | ||
margin-right: 2em } | ||
|
||
pre.code .ln { color: gray; } /* line numbers */ | ||
pre.code .ln { color: grey; } /* line numbers */ | ||
pre.code, code { background-color: #eeeeee } | ||
pre.code .comment, code .comment { color: #5C6576 } | ||
pre.code .keyword, code .keyword { color: #3B0D06; font-weight: bold } | ||
|
@@ -301,7 +300,7 @@ | |
span.pre { | ||
white-space: pre } | ||
|
||
span.problematic, pre.problematic { | ||
span.problematic { | ||
color: red } | ||
|
||
span.section-subtitle { | ||
|
@@ -369,11 +368,11 @@ <h1 class="title">Delivery costs in purchases</h1> | |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | ||
!! source digest: sha256:db6d440113ff4fb7edc52ddbdffc7e177d3ff2925d96f349f39754bd0e00617f | ||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! --> | ||
<p><a class="reference external image-reference" href="https://odoo-community.org/page/development-status"><img alt="Production/Stable" src="https://img.shields.io/badge/maturity-Production%2FStable-green.png" /></a> <a class="reference external image-reference" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/licence-AGPL--3-blue.png" /></a> <a class="reference external image-reference" href="https://github.com/OCA/delivery-carrier/tree/16.0/delivery_purchase"><img alt="OCA/delivery-carrier" src="https://img.shields.io/badge/github-OCA%2Fdelivery--carrier-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/delivery-carrier-16-0/delivery-carrier-16-0-delivery_purchase"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external image-reference" href="https://runboat.odoo-community.org/builds?repo=OCA/delivery-carrier&target_branch=16.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p> | ||
<p>This module allows to use delivery methods defined in <em>delivery</em> module to | ||
calculate purchase delivery costs.</p> | ||
<p>It reverses destinations in delivery pricelists to use them as sources when | ||
applying the delivery method to purchases.</p> | ||
<p><a class="reference external image-reference" href="https://odoo-community.org/page/development-status"><img alt="Production/Stable" src="https://img.shields.io/badge/maturity-Production%2FStable-green.png" /></a> <a class="reference external image-reference" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/licence-AGPL--3-blue.png" /></a> <a class="reference external image-reference" href="https://github.com/OCA/delivery-carrier/tree/17.0/delivery_purchase"><img alt="OCA/delivery-carrier" src="https://img.shields.io/badge/github-OCA%2Fdelivery--carrier-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/delivery-carrier-17-0/delivery-carrier-17-0-delivery_purchase"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external image-reference" href="https://runboat.odoo-community.org/builds?repo=OCA/delivery-carrier&target_branch=17.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p> | ||
<p>This module allows to use delivery methods defined in <em>delivery</em> module | ||
to calculate purchase delivery costs.</p> | ||
<p>It reverses destinations in delivery pricelists to use them as sources | ||
when applying the delivery method to purchases.</p> | ||
<p><strong>Table of contents</strong></p> | ||
<div class="contents local topic" id="contents"> | ||
<ul class="simple"> | ||
|
@@ -391,17 +390,18 @@ <h1 class="title">Delivery costs in purchases</h1> | |
<h1><a class="toc-backref" href="#toc-entry-1">Usage</a></h1> | ||
<p>To use this module, you need to:</p> | ||
<ol class="arabic simple"> | ||
<li>Go to <em>Purchase > Orders > Purchase Orders</em> and create a new Purchase Order.</li> | ||
<li>Select a carrier in the field ‘Delivery Method’, fill out the rest | ||
of the form, be sure you added lines with storable products | ||
and save the form.</li> | ||
<li>Go to <em>Purchase > Orders > Purchase Orders</em> and create a new Purchase | ||
Order.</li> | ||
<li>Select a carrier in the field ‘Delivery Method’, fill out the rest of | ||
the form, be sure you added lines with storable products and save the | ||
form.</li> | ||
<li>Confirm the purchase order.</li> | ||
<li>Go to the linked ‘Receipt’ by clicking on ‘Receipt’ smart-button and | ||
you will see, under ‘Additional info’ tab, the same carrier selected | ||
in the purchase order.</li> | ||
<li>If necessary, you can change the carrier in the ‘Receipt’. When | ||
it is validated, the ‘shipping cost’ of the receipt will be | ||
calculated according to that new selected Carrier.</li> | ||
<li>If necessary, you can change the carrier in the ‘Receipt’. When it is | ||
validated, the ‘shipping cost’ of the receipt will be calculated | ||
according to that new selected Carrier.</li> | ||
<li>It is possible to change the shipping cost in picking.</li> | ||
<li>The shipping cost will appear in an internal note created | ||
automatically when the ‘Receipt’ is validated.</li> | ||
|
@@ -413,7 +413,7 @@ <h1><a class="toc-backref" href="#toc-entry-2">Bug Tracker</a></h1> | |
<p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/delivery-carrier/issues">GitHub Issues</a>. | ||
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 | ||
<a class="reference external" href="https://github.com/OCA/delivery-carrier/issues/new?body=module:%20delivery_purchase%0Aversion:%2016.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p> | ||
<a class="reference external" href="https://github.com/OCA/delivery-carrier/issues/new?body=module:%20delivery_purchase%0Aversion:%2017.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p> | ||
<p>Do not contact contributors directly about support or help with technical issues.</p> | ||
</div> | ||
<div class="section" id="credits"> | ||
|
@@ -434,18 +434,20 @@ <h2><a class="toc-backref" href="#toc-entry-5">Contributors</a></h2> | |
<li>Carolina Fernandez</li> | ||
</ul> | ||
</li> | ||
<li><a class="reference external" href="https://www.sodexis.com">Sodexis</a>:<ul> | ||
<li>Sandeep J</li> | ||
</ul> | ||
</li> | ||
</ul> | ||
</div> | ||
<div class="section" id="maintainers"> | ||
<h2><a class="toc-backref" href="#toc-entry-6">Maintainers</a></h2> | ||
<p>This module is maintained by the OCA.</p> | ||
<a class="reference external image-reference" href="https://odoo-community.org"> | ||
<img alt="Odoo Community Association" src="https://odoo-community.org/logo.png" /> | ||
</a> | ||
<a class="reference external image-reference" href="https://odoo-community.org"><img alt="Odoo Community Association" src="https://odoo-community.org/logo.png" /></a> | ||
<p>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.</p> | ||
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/delivery-carrier/tree/16.0/delivery_purchase">OCA/delivery-carrier</a> project on GitHub.</p> | ||
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/delivery-carrier/tree/17.0/delivery_purchase">OCA/delivery-carrier</a> project on GitHub.</p> | ||
<p>You are welcome to contribute. To learn how please visit <a class="reference external" href="https://odoo-community.org/page/Contribute">https://odoo-community.org/page/Contribute</a>.</p> | ||
</div> | ||
</div> | ||
|
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
Oops, something went wrong.