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 issue in cost estimate creation #25

Merged
merged 5 commits into from
Nov 13, 2014

Conversation

gurneyalex
Copy link
Member

populate the sourced_by field of the SO line with the PO line doing the
sourcing

populate the sourced_by field of the SO line with the PO line doing the
sourcing
@coveralls
Copy link

Coverage Status

Coverage increased (+1.01%) when pulling 0d7640c on gurneyalex:8.0-fill-cost-estimate-sourced-by into 65baeb2 on OCA:8.0.

@coveralls
Copy link

Coverage Status

Coverage increased (+1.15%) when pulling a7e98ed on gurneyalex:8.0-fill-cost-estimate-sourced-by into 65baeb2 on OCA:8.0.

@coveralls
Copy link

Coverage Status

Coverage increased (+1.01%) when pulling f4764d4 on gurneyalex:8.0-fill-cost-estimate-sourced-by into 65baeb2 on OCA:8.0.

@bwrsandman
Copy link

👍

1 similar comment
@guewen
Copy link
Member

guewen commented Nov 8, 2014

👍

for line in cost_estimate.order_line:
po_line = line.sourced_by
assert(po_line, 'missing sourced by')
print po_line
Copy link
Member

Choose a reason for hiding this comment

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

You certainly want to remove that print

gurneyalex added a commit that referenced this pull request Nov 13, 2014
@gurneyalex gurneyalex merged commit 3fdbdd9 into OCA:8.0 Nov 13, 2014
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.

5 participants