|
5 | 5 | <field name="name">estate.property.list</field> |
6 | 6 | <field name="model">estate.property</field> |
7 | 7 | <field name="arch" type="xml"> |
8 | | - <list string="Tags" decoration-danger="state and state == 'cancelled'" limit="20" |
9 | | - decoration-success="state and state == 'offer_accepted'"> |
| 8 | + <list string="Tags" decoration-danger="state and state == 'cancelled'" limit="20" decoration-success="state and state == 'offer_accepted'"> |
10 | 9 | <field name="name" string="Property Title"/> |
11 | 10 | <field name="postcode" width="96px"/> |
12 | 11 | <field name="bedrooms"/> |
|
27 | 26 | <field name="arch" type="xml"> |
28 | 27 | <form string="Real Estate"> |
29 | 28 | <header> |
30 | | - <field name="state" widget="statusbar" class="oe_inline_end" |
31 | | - statusbar_visible="new,offer_accepted,offer_received,sold,cancelled" |
32 | | - options="{'clickable': True}"/> |
| 29 | + <field name="state" widget="statusbar" class="oe_inline_end" statusbar_visible="new,offer_accepted,offer_received,sold,cancelled" options="{'clickable': True}"/> |
33 | 30 | </header> |
34 | 31 | <sheet> |
35 | 32 | <h1> |
36 | | - <field name="name" string="Property Title"/> |
| 33 | + <field name="name" placeholder="Property Title"/> |
37 | 34 | </h1> |
| 35 | + <label for="tag_ids"/> |
| 36 | + <field name="tag_ids" widget="many2many_tags" options="{'color_field':'color'}"/> |
| 37 | + <separator/> |
38 | 38 | <group> |
39 | 39 | <group> |
40 | | - <field name="date_availability"/> |
| 40 | + <field name="property_type_id"/> |
41 | 41 | <field name="selling_price"/> |
| 42 | + <field name="date_availability"/> |
42 | 43 | </group> |
43 | 44 | <group> |
44 | 45 | <field name="postcode" width="96px" class="oe_inline oe_left"/> |
|
58 | 59 | <field name="garden_orientation" widget="radio"/> |
59 | 60 | </group> |
60 | 61 | </page> |
| 62 | + <page string="Other Info"> |
| 63 | + <group> |
| 64 | + <field name="salesman" widget="many2one_avatar_user" /> |
| 65 | + <field name="buyer" widget="many2one_avatar_user"/> |
| 66 | + |
| 67 | + </group> |
| 68 | + </page> |
61 | 69 | </notebook> |
| 70 | + |
| 71 | + |
| 72 | + |
62 | 73 | </sheet> |
63 | 74 | </form> |
64 | 75 | </field> |
|
76 | 87 | <field name="postcode"/> |
77 | 88 | <separator/> |
78 | 89 | <filter string="Date Availability" name="Date Availability" date="date_availability"/> |
79 | | - <filter name="available_properties" string="Available" |
80 | | - domain="['|', ('state','=','offer_received'), ('state','=','new')]"/> |
| 90 | + <filter name="available_properties" string="Available" domain="['|', ('state','=','offer_received'), ('state','=','new')]"/> |
81 | 91 | <group> |
82 | 92 | <filter string="Postcode" name="group_by_postcode" context="{'group_by':'postcode'}"/> |
83 | 93 | </group> |
|
0 commit comments