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

[16.0][ADD] sale_order_warehouse_from_delivery_carrier #684

Conversation

geomer198
Copy link
Contributor

This module allows to set warehouse in Sales Order based on selected shipping method.

@geomer198 geomer198 force-pushed the 16.0-t2753-sale_order_wh_from_delivery_carrier-add branch 2 times, most recently from aa2193c to e9ff006 Compare August 7, 2023 13:36
Copy link
Member

@ivs-cetmix ivs-cetmix left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Functional ok

@geomer198 geomer198 force-pushed the 16.0-t2753-sale_order_wh_from_delivery_carrier-add branch from c0d260b to b444782 Compare August 29, 2023 18:59
Copy link
Member

@GabbasovDinar GabbasovDinar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@OCA-git-bot
Copy link
Contributor

This PR has the approved label and has been created more than 5 days ago. It should therefore be ready to merge by a maintainer (or a PSC member if the concerned addon has no declared maintainer). 🤖

@ivs-cetmix
Copy link
Member

Hey @OCA/logistics-maintainers could you please have a look at this?

@rousseldenis
Copy link
Contributor

@geomer198 Thanks for this. I would say I'd prefer explicit words in modules names as they can quickly seems like module x_y_z which does not mean anything.

@ivs-cetmix
Copy link
Member

@geomer198 Thanks for this. I would say I'd prefer explicit words in modules names as they can quickly seems like module x_y_z which does not mean anything.

Thank you for the feedback. Any ideas how this module name should look like?

@ivs-cetmix ivs-cetmix force-pushed the 16.0-t2753-sale_order_wh_from_delivery_carrier-add branch from b444782 to e807ab2 Compare October 14, 2023 11:51
@geomer198 geomer198 force-pushed the 16.0-t2753-sale_order_wh_from_delivery_carrier-add branch 6 times, most recently from 219df31 to 70ed02b Compare November 9, 2023 20:01
_inherit = "delivery.carrier"

so_warehouse_id = fields.Many2one(
comodel_name="stock.warehouse", string="SO Warehouse"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A help is welcome here.


@tagged("post_install", "-at_install")
class TestModuleFlow(TransactionCase):
def setUp(self):
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use classmethod instead.

@@ -1,3 +1,5 @@
odoo-test-helper
vcrpy
vcrpy-unittest
odoo-addon-delivery_roulier @ git+https://github.com/OCA/delivery-carrier.git@refs/pull/731/head#subdirectory=setup/delivery_roulier
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@geomer198 Why adding these as they are not in this module dependencies ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added for fixing broken tests in delivery_roulier module.

@rousseldenis rousseldenis added this to the 16.0 milestone Nov 10, 2023
@geomer198 geomer198 force-pushed the 16.0-t2753-sale_order_wh_from_delivery_carrier-add branch from 83f7881 to e4bf222 Compare November 19, 2023 12:59
@geomer198
Copy link
Contributor Author

@rousseldenis Could you please check my changes?

@geomer198 geomer198 force-pushed the 16.0-t2753-sale_order_wh_from_delivery_carrier-add branch from e4bf222 to a0b6867 Compare December 8, 2023 20:03
this warehouse will be automatically set in the quotation.

**Note**:
warehouse will be NOT updated if Sales Order is already confirmed.
Copy link
Contributor

@jbaudoux jbaudoux Jul 24, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
warehouse will be NOT updated if Sales Order is already confirmed.
The warehouse will NOT be updated if the sales order is already confirmed.

@geomer198
Copy link
Contributor Author

@rousseldenis, @jbaudoux Could you check again?

@jbaudoux
Copy link
Contributor

@rousseldenis, @jbaudoux Could you check again?

Thanks.

/ocabot merge nobump

@OCA-git-bot
Copy link
Contributor

On my way to merge this fine PR!
Prepared branch 16.0-ocabot-merge-pr-684-by-jbaudoux-bump-nobump, awaiting test results.

OCA-git-bot added a commit that referenced this pull request Jul 24, 2024
Signed-off-by jbaudoux
@OCA-git-bot
Copy link
Contributor

@jbaudoux The merge process could not be finalized, because command twine check odoo_addon_sale_order_warehouse_from_delivery_carrier-16.0.1.0.0.3-py3-none-any.whl failed with output:

Checking 
odoo_addon_sale_order_warehouse_from_delivery_carrier-16.0.1.0.0.3-py3-none-any.
whl: �[31mFAILED�[0m
�[31mERROR   �[0m `long_description` has syntax errors in markup and would not be        
         rendered on PyPI.                                                      
         No content rendered from RST source.                                   
�[33mWARNING �[0m `long_description_content_type` missing. defaulting to `text/x-rst`.   

@OCA-git-bot
Copy link
Contributor

This PR has the approved label and has been created more than 5 days ago. It should therefore be ready to merge by a maintainer (or a PSC member if the concerned addon has no declared maintainer). 🤖

Copy link
Member

@ivs-cetmix ivs-cetmix left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You need to add DESCRIPTION.rst

@jbaudoux
Copy link
Contributor

@geomer198 can you squash the commits?

@geomer198 geomer198 force-pushed the 16.0-t2753-sale_order_wh_from_delivery_carrier-add branch from e2beefb to 7dc7743 Compare July 25, 2024 12:18
Copy link
Member

@ivs-cetmix ivs-cetmix left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@OCA-git-bot
Copy link
Contributor

This PR has the approved label and has been created more than 5 days ago. It should therefore be ready to merge by a maintainer (or a PSC member if the concerned addon has no declared maintainer). 🤖

@jbaudoux
Copy link
Contributor

/ocabot merge nobump

@OCA-git-bot
Copy link
Contributor

This PR looks fantastic, let's merge it!
Prepared branch 16.0-ocabot-merge-pr-684-by-jbaudoux-bump-nobump, awaiting test results.

@OCA-git-bot OCA-git-bot merged commit 82bcf83 into OCA:16.0 Jul 25, 2024
7 checks passed
@OCA-git-bot
Copy link
Contributor

Congratulations, your PR was merged at 6d9ecd0. Thanks a lot for contributing to OCA. ❤️

@ivs-cetmix ivs-cetmix deleted the 16.0-t2753-sale_order_wh_from_delivery_carrier-add branch July 25, 2024 13:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants