forked from OCA/stock-logistics-workflow
-
Notifications
You must be signed in to change notification settings - Fork 0
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
[FIX] generic partner structure #3
Merged
tafaRU
merged 2 commits into
tafaRU:adding_product_customer_code_picking
from
eLBati:imp_adding_product_customer_code_picking
Sep 15, 2014
Merged
[FIX] generic partner structure #3
tafaRU
merged 2 commits into
tafaRU:adding_product_customer_code_picking
from
eLBati:imp_adding_product_customer_code_picking
Sep 15, 2014
Conversation
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
if move.picking_id.partner_id.parent_id: | ||
partner = move.picking_id.partner_id.parent_id | ||
partner_id = move.picking_id.partner_id.id | ||
main_partner = partner_obj._commercial_partner_compute( |
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.
Why don't you use the calculated field for this purpose?:
partner_id = move.picking_id.partner_id.commercial_partner_id.id
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.
Because I didn't see it 😅
Done
Thanks
move.picking_id.partner_id.commercial_partner_id.id
tafaRU
added a commit
that referenced
this pull request
Sep 15, 2014
…cking [FIX] generic partner structure
tafaRU
pushed a commit
that referenced
this pull request
Oct 7, 2014
[ADD] stock_inventory_retry_assign
tafaRU
pushed a commit
that referenced
this pull request
Aug 26, 2016
Move login/logout configuration wizard into Warehouse settings
tafaRU
pushed a commit
that referenced
this pull request
Aug 26, 2016
stock_auto_move: externalize change group to be able to overload it
tafaRU
pushed a commit
that referenced
this pull request
Aug 26, 2016
…ilability_button add OCA as author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.