Skip to content

Fix issue with _compute_qty not passing correct parameter reference#23

Open
lembregtse wants to merge 1 commit into
Smile-SA:8.0from
lembregtse:patch-1
Open

Fix issue with _compute_qty not passing correct parameter reference#23
lembregtse wants to merge 1 commit into
Smile-SA:8.0from
lembregtse:patch-1

Conversation

@lembregtse

Copy link
Copy Markdown

_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.

2 participants