-
-
Notifications
You must be signed in to change notification settings - Fork 366
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
[16.0][ADD] sale_order_warehouse_from_delivery_carrier #684
Conversation
aa2193c
to
e9ff006
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Functional ok
c0d260b
to
b444782
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
This PR has the |
Hey @OCA/logistics-maintainers could you please have a look at this? |
@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? |
b444782
to
e807ab2
Compare
219df31
to
70ed02b
Compare
_inherit = "delivery.carrier" | ||
|
||
so_warehouse_id = fields.Many2one( | ||
comodel_name="stock.warehouse", string="SO Warehouse" |
There was a problem hiding this comment.
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): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Use classmethod instead.
test-requirements.txt
Outdated
@@ -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 |
There was a problem hiding this comment.
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 ?
There was a problem hiding this comment.
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.
83f7881
to
e4bf222
Compare
@rousseldenis Could you please check my changes? |
e4bf222
to
a0b6867
Compare
this warehouse will be automatically set in the quotation. | ||
|
||
**Note**: | ||
warehouse will be NOT updated if Sales Order is already confirmed. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
warehouse will be NOT updated if Sales Order is already confirmed. | |
The warehouse will NOT be updated if the sales order is already confirmed. |
@rousseldenis, @jbaudoux Could you check again? |
Thanks. /ocabot merge nobump |
On my way to merge this fine PR! |
@jbaudoux The merge process could not be finalized, because command
|
This PR has the |
There was a problem hiding this 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
@geomer198 can you squash the commits? |
e2beefb
to
7dc7743
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
This PR has the |
/ocabot merge nobump |
This PR looks fantastic, let's merge it! |
Congratulations, your PR was merged at 6d9ecd0. Thanks a lot for contributing to OCA. ❤️ |
This module allows to set warehouse in Sales Order based on selected shipping method.