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

Recompute shipped value on each procurement state change #112

Closed
wants to merge 3 commits into from

Conversation

yvaucher
Copy link
Member

No description provided.

@gurneyalex
Copy link
Member

module version update is not strictly necessary as the changes do not mandate an update of the module.

is there a test in the module exercising this new bit of code?

@yvaucher
Copy link
Member Author

@gurneyalex The test is there and waiting on a odoo bug 😢

#83

current_proc = proc
while (not current_proc.sale_line_id and
current_proc.move_dest_id):
current_proc = proc.move_dest_id.procurement_id
Copy link
Member

Choose a reason for hiding this comment

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

🐛 infinite ➿

s/proc.move/current_proc.move/

@gurneyalex
Copy link
Member

yvaucher: and the test was 🍏 with the infinite loop inside? This is suspicious...

@yvaucher
Copy link
Member Author

@gurneyalex There is no test for this, the test is in another PR which should work now and make this PR obsolete: #83

@yvaucher
Copy link
Member Author

Thus I close this PR as #83 resolves this

@yvaucher yvaucher closed this Feb 24, 2015
lmignon pushed a commit to acsone/sale-workflow that referenced this pull request Feb 11, 2021
Signed-off-by simahawk
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

2 participants