-
-
Notifications
You must be signed in to change notification settings - Fork 792
[18.0][FIX] product_secondary_unit: UoM conversion in secondary unit mixin #2182
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
base: 18.0
Are you sure you want to change the base?
Conversation
|
Hi @sergio-teruel, |
yostashiro
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code review. LGTM.
nobuQuartile
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM Code review
|
This PR has the |
kanda999
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code review.
9a080ba to
4cf667a
Compare
|
In my last commit, I add the configuration for qweb reports presentation. |
4cf667a to
3722287
Compare
3722287 to
f207287
Compare
5fb5d21 to
6eb4143
Compare
yostashiro
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Partial review.
3b7c135 to
c8dcb39
Compare
0ce7836 to
687642c
Compare
nobuQuartile
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Functional review and code review: LGTM
kanda999
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM: it works as expected in my local env
Replace _get_factor_line() with uom._compute_quantity() to fix incorrect conversion when line UoM differs from product's base UoM. The previous method failed for certain UoM combinations (e.g., line in L, product in mL). Co-authored-by: Yoshi Tashiro <tashiro@quartile.co>
687642c to
b1cdab7
Compare
Co-authored-by: Yoshi Tashiro <tashiro@quartile.co>
b1cdab7 to
343ef59
Compare
yostashiro
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code review. LGTM.
Related: OCA/stock-logistics-warehouse#2496
@qrtl QT6285