|
54 | 54 | <span class="o_stat_text">Enable</span>
|
55 | 55 | </div>
|
56 | 56 | </button>
|
| 57 | + <button |
| 58 | + type="object" |
| 59 | + class="oe_stat_button" |
| 60 | + icon="fa-calendar" |
| 61 | + name="open_create_event_wizard" |
| 62 | + invisible="disabled" |
| 63 | + > |
| 64 | + <div class="o_form_field o_stat_info"> |
| 65 | + <span class="o_stat_text">Event</span> |
| 66 | + <span class="o_stat_text">Data</span> |
| 67 | + </div> |
| 68 | + </button> |
57 | 69 | </div>
|
58 | 70 | <widget name="web_ribbon" title="Archived" bg_color="bg-danger" invisible="active" />
|
59 | 71 | <widget
|
|
158 | 170 | name="group"
|
159 | 171 | options="{'no_open':True,'no_create_edit':True,'no_create':True}"
|
160 | 172 | readonly="1"
|
| 173 | + force_save="1" |
161 | 174 | />
|
162 | 175 | </h1>
|
163 | 176 | <label for="individual" string="Child:" />
|
|
183 | 196 | <field name="ended_date" />
|
184 | 197 | </group>
|
185 | 198 | <field name="individual_domain" invisible="1" />
|
| 199 | + <field name="group" invisible="1" /> |
186 | 200 | </sheet>
|
187 | 201 | </form>
|
188 | 202 | </field>
|
189 | 203 | </group>
|
190 | 204 | </page>
|
| 205 | + <page name="section_farm_act" string="Farm Activity"> |
| 206 | + <field name="farm_prod_ids"> |
| 207 | + <tree editable="bottom"> |
| 208 | + <field name="product_id" width="20%" /> |
| 209 | + <field name="product_name" width="30%" /> |
| 210 | + <field name="product_name_eng" width="30%" /> |
| 211 | + <field name="target_year" width="20%" /> |
| 212 | + </tree> |
| 213 | + </field> |
| 214 | + </page> |
| 215 | + <page name="event_data" string="Event Data"> |
| 216 | + <group> |
| 217 | + <group name="event_data_group"> |
| 218 | + </group> |
| 219 | + <group name="event_data_group2"> |
| 220 | + </group> |
| 221 | + </group> |
| 222 | + <group> |
| 223 | + <field name="event_data_ids" readonly="1"> |
| 224 | + <tree> |
| 225 | + <button |
| 226 | + name="open_form" |
| 227 | + type="object" |
| 228 | + icon="fa-external-link" |
| 229 | + class="btn-success" |
| 230 | + /> |
| 231 | + <field name="name" /> |
| 232 | + <field name="event_type" /> |
| 233 | + <field name="collection_date" /> |
| 234 | + <field name="expiry_date" /> |
| 235 | + <field |
| 236 | + name="state" |
| 237 | + decoration-success="state=='active'" |
| 238 | + decoration-warning="state=='inactive'" |
| 239 | + widget="badge" |
| 240 | + /> |
| 241 | + </tree> |
| 242 | + </field> |
| 243 | + </group> |
| 244 | + </page> |
191 | 245 | <page name="address_coordinates" string="Address Coordinates">
|
192 | 246 | <field name="land_coordinates" />
|
193 | 247 | </page>
|
|
0 commit comments