In this recipe, we'll review some design guidelines in order to present a uniform user experience.
Defining document-style forms
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 archive the record:
<div class="oe_button_box" name="button_box">
<button name="toggle_active"
type="object" class="oe_stat_button"
icon="fa-archive">...