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

[IMP] stock_incoterm_extension: add default destination port #169

Merged
merged 1 commit into from
May 28, 2018

Conversation

oihane
Copy link
Contributor

@oihane oihane commented May 22, 2018

No description provided.

@oihane oihane force-pushed the 8.0-incoterm branch 2 times, most recently from 2b74d8e to d18c3f7 Compare May 22, 2018 17:28
@codecov-io
Copy link

codecov-io commented May 22, 2018

Codecov Report

Merging #169 into 8.0 will increase coverage by 0.21%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##              8.0     #169      +/-   ##
==========================================
+ Coverage   79.33%   79.55%   +0.21%     
==========================================
  Files          54       54              
  Lines         847      856       +9     
==========================================
+ Hits          672      681       +9     
  Misses        175      175
Impacted Files Coverage Δ
stock_incoterm_extension/models/sale_order.py 100% <100%> (ø) ⬆️
stock_incoterm_extension/models/stock.py 100% <100%> (ø) ⬆️
stock_incoterm_extension/models/account_invoice.py 100% <100%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 4964554...7354353. Read the comment docs.

@oihane oihane force-pushed the 8.0-incoterm branch 2 times, most recently from ec7c3c0 to 19eb12c Compare May 25, 2018 08:16
@oihane
Copy link
Contributor Author

oihane commented May 25, 2018

@odoomrp/developers please review

image

@api.model
def _create_invoice_from_picking(self, picking, vals):
if picking and picking.sale_id:
sale = picking.sale_id
if picking:
Copy link
Member

Choose a reason for hiding this comment

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

Ahora no se contempla que sea un picking con una venta asociada?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Un picking puede tener o no venta, y puede tener un incoterm diferente, lo normal es que se traslade el de la venta y por ello se hace que sea con cualquiera.

Copy link
Contributor

@alfredoavanzosc alfredoavanzosc left a comment

Choose a reason for hiding this comment

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

👍

@oihane oihane merged commit bda49d6 into odoomrp:8.0 May 28, 2018
@oihane oihane deleted the 8.0-incoterm branch May 28, 2018 14:10
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.

None yet

4 participants