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

[14.0][IMP] base_delivery_carrier_label: show weight field in tree and form view of stock.move.line #885

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

Conversation

alexis-via
Copy link
Contributor

base_delivery_carrier_label adds a weight field on stock.move.line (https://github.com/OCA/delivery-carrier/blob/14.0/base_delivery_carrier_label/models/stock_move_line.py#L15), but it's doesn't show it in the view! This PR adds the field in the tree and form view of stock.move.line.

With the field displayed in the user interface, you will see that it's value is always 0... and, when you look at the code, you see that the method get_weight() is only called to write the weight on the package... but it is not used to write the weight on stock.move.line. This PR doesn't fix this, but we need to do something about it !

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.

1 participant