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

Add module logistics_requisition_donation #97

Merged
merged 9 commits into from
Jan 6, 2015

Conversation

yvaucher
Copy link
Member

This one is based on (includes other PR commits)

@yvaucher yvaucher force-pushed the 8.0-add-logistics_requisition_donation branch 5 times, most recently from 66a8278 to a4f1707 Compare December 12, 2014 14:37
@coveralls
Copy link

Coverage Status

Coverage increased (+12.11%) when pulling a4f1707 on yvaucher:8.0-add-logistics_requisition_donation into b899f12 on OCA:8.0.

@lepistone
Copy link
Member

Tell me if I can help with the red build @yvaucher.

@lepistone
Copy link
Member

I edited my last comment because I messed up with another PR's travis build.

@yvaucher yvaucher force-pushed the 8.0-add-logistics_requisition_donation branch from a4f1707 to 4a36b30 Compare December 15, 2014 14:03
@yvaucher
Copy link
Member Author

Rebased on top of #92

@yvaucher yvaucher self-assigned this Dec 15, 2014
@yvaucher yvaucher force-pushed the 8.0-add-logistics_requisition_donation branch from 7f8cf60 to b0931b2 Compare December 17, 2014 12:54

@api.onchange('procurement_method')
def onchange_source_type_warning(self):
if self.procurement_method:
Copy link
Member Author

Choose a reason for hiding this comment

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

To fix

not in ('wh_dispatch', 'other')

@coveralls
Copy link

Coverage Status

Coverage increased (+11.93%) when pulling cb78ae2 on yvaucher:8.0-add-logistics_requisition_donation into b94523f on OCA:8.0.

@yvaucher yvaucher force-pushed the 8.0-add-logistics_requisition_donation branch from cb78ae2 to c5269e9 Compare December 18, 2014 18:11
@coveralls
Copy link

Coverage Status

Coverage decreased (-0.88%) when pulling c5269e9 on yvaucher:8.0-add-logistics_requisition_donation into b94523f on OCA:8.0.

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.88%) when pulling bb62a9f on yvaucher:8.0-add-logistics_requisition_donation into b94523f on OCA:8.0.

@jgrandguillaume
Copy link
Member

👍 LGTM

:params line: browse record of origin requistion.line
:params agreement: browse record of origin agreement
:params qty: quantity to be set on source line
:param self: record set of origin requistion.line
Copy link
Member

Choose a reason for hiding this comment

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

A detail, but I wouldn't document things that are not specific to this method like self.


if not agreement.product_id.id == self.product_id.id:
Copy link
Member

Choose a reason for hiding this comment

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

Maybe the comparison would work on the records without .id ?

@lepistone
Copy link
Member

This is 👍 with very minor remarks.

Now that #92 is merged, there are conflicts, I think because you rebased some commits there that are included here in the original version.

I think you can now erase the commits in this branch that come from #92, and rebase on origin/8.0. Maybe 🐱

@yvaucher yvaucher force-pushed the 8.0-add-logistics_requisition_donation branch from bb62a9f to 7cc3635 Compare January 6, 2015 10:25
@yvaucher
Copy link
Member Author

yvaucher commented Jan 6, 2015

@lepistone fixed few things according to your remarks

@lepistone
Copy link
Member

Great! I'm merging when green.

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.84%) when pulling 7cc3635 on yvaucher:8.0-add-logistics_requisition_donation into 58332e0 on OCA:8.0.

lepistone added a commit that referenced this pull request Jan 6, 2015
…nation

Add module logistics_requisition_donation
@lepistone lepistone merged commit cdc1ce0 into OCA:8.0 Jan 6, 2015
@yvaucher yvaucher deleted the 8.0-add-logistics_requisition_donation branch January 6, 2015 10:37
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants