Defining document-style forms
In this recipe, we'll review some design guidelines in order to present a uniform user experience.
How to do it...
- Start your form with a
header
element:<header> Â Â Â Â <button type="object" name="open_commercial_entity" Â Â Â Â Â Â Â Â Â string="Open commercial partner" Â Â Â Â Â Â Â Â Â class="btn-primary" /> </header>
- Add a
sheet
element for content:<sheet>
- Put in the
stat
button, which will be used to show total invoiced amount and redirect to invoices:<div class="oe_button_box" name="button_box"> Â Â Â Â <button type="object" class="oe_stat_button" Â Â Â Â Â Â Â Â Â Â Â Â icon="fa-pencil-square-o" Â Â Â Â Â Â Â Â Â ...