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 with _compute_qty not passing correct parameter reference #23

Open
wants to merge 1 commit into
base: 8.0
Choose a base branch
from

Conversation

lembregtse
Copy link

_compute_qty_obj was changed to add parameter "rounding_method" (default UP) to _compute_qty_obj.

_compute_qty though was not modified for this change and does not pass parameter names as references to _compute_qty_obj, therefor causing an error when modifying quantities on sale.order.line.

Fix is to simply reference context=context so that the default value of rounding_method is selected.

_compute_qty_obj was changed to add parameter "rounding_method" (default UP) to _compute_qty_obj.

_compute_qty though was not modified for this change and does not pass parameter names as references to _compute_qty_obj, therefor causing an error when modifying quantities on sale.order.line. 

Fix is to simply reference context=context so that the default value of rounding_method is selected.
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