CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
I'm building a form in order to insert GPS coords.
I'd like to be able to have a label for "Latitude" and, then, have three fields in a row (degrees, minutes, seconds). Instead, all I can do is to show a field in each row.
Anyone knows a solution?
You need to use
Take a look at the way the Partner form view works.
Hijacking the pre-defined CSS div class address_format you can have something like:
<group> <label for="degrees" string="Latitude" /> <div class="address_format"> <field name="degrees" style="width: 33%" /> <field name="minutes" style="width: 33%" /> <field name="seconds" style="width: 33%" /> </div> </group>
You should also educate yourself about the
About This Community
Odoo Training Center
|Asked: 3/23/14, 3:11 PM|
|Seen: 3609 times|
|Last updated: 5/27/16, 5:20 PM|