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 !
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 !