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

[FIX] generic partner structure #3

Conversation

eLBati
Copy link

@eLBati eLBati commented Sep 9, 2014

No description provided.

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(

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

Copy link
Author

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
@tafaRU tafaRU merged commit 248de45 into tafaRU:adding_product_customer_code_picking Sep 15, 2014
tafaRU pushed a commit that referenced this pull request Oct 7, 2014
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
tafaRU pushed a commit that referenced this pull request May 11, 2021
# This is the 1st commit message:

Add module stock_quant_package_product_packaging

# The commit message #2 will be skipped:

# Add tests

# The commit message #3 will be skipped:

# Display single_product fields in debug mode
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants