I’m sending a screenshot of the current representation where the label Quantity and the Field Quantity as well because as you can see up there its something like:
10 (with a lot of space between) u
whereas, I want something simple like Quantity: 10 u (without any spaces)
XML:
<label name="quantity"/>
<field name="quantity" symbol="unit"/>
Code:
quantity = fields.Float("Quantity", digits='unit', required=True, states=_states)
unit = fields.Function(fields.Many2One('product.uom', "Unit"), 'on_change_with_unit')
