|
248 | 248 | <xpath expr="//field[@name='partner_id']" position="after">
|
249 | 249 | <field name="operating_unit_id" />
|
250 | 250 | <field name="department_id" />
|
251 |
| - <field name="date_deadline" string="Expected Closing Date" /> |
| 251 | + <field name="date_deadline" string="Deadline submission" /> |
252 | 252 | </xpath>
|
253 | 253 | <label for="expected_revenue" position="attributes">
|
254 | 254 | <attribute name="string">Expected Revenue + Probability</attribute>
|
|
262 | 262 | <field name="phone" position="attributes">
|
263 | 263 | <attribute name="invisible">True</attribute>
|
264 | 264 | </field>
|
| 265 | + <xpath |
| 266 | + expr="//field[@name='priority' and @widget='priority']" |
| 267 | + position="attributes" |
| 268 | + > |
| 269 | + <attribute name="invisible">True</attribute> |
| 270 | + </xpath> |
265 | 271 | </field>
|
266 | 272 | </record>
|
267 | 273 | <record model="ir.ui.view" id="crm_case_kanban_view_leads">
|
|
271 | 277 | <field name="user_id" position="before">
|
272 | 278 | <field name="user_name" />
|
273 | 279 | <field name="date_deadline" />
|
| 280 | + <field name="first_employee_name" /> |
274 | 281 | </field>
|
275 |
| - <xpath expr="//div[hasclass('o_kanban_record_title')]" position="after"> |
276 |
| - <div> |
277 |
| - <field name="first_employee_name" /> |
278 |
| - </div> |
279 |
| - </xpath> |
280 | 282 | <xpath
|
281 |
| - expr="//field[@name='priority' and @widget='priority']" |
| 283 | + expr="//div[hasclass('o_kanban_record_title')]//field" |
282 | 284 | position="before"
|
283 | 285 | >
|
284 |
| - <field name="date_deadline" /> |
| 286 | + <xpath |
| 287 | + expr="//div/span[@t-if='record.partner_id.value']" |
| 288 | + position="move" |
| 289 | + /> |
285 | 290 | </xpath>
|
286 | 291 | <xpath
|
287 |
| - expr="//field[@name='priority' and @widget='priority']" |
| 292 | + expr="//div[hasclass('o_kanban_record_title')]//field" |
288 | 293 | position="attributes"
|
289 | 294 | >
|
290 |
| - <attribute name="invisible">True</attribute> |
| 295 | + <attribute name="t-if">!record.partner_id.value</attribute> |
| 296 | + </xpath> |
| 297 | + <xpath expr="//div[hasclass('o_kanban_record_title')]" position="after"> |
| 298 | + <div t-if="record.partner_id.value"> |
| 299 | + <field name="name" /> |
| 300 | + </div> |
| 301 | + <div> |
| 302 | + <field name="user_name" /> |
| 303 | + </div> |
| 304 | + </xpath> |
| 305 | + <xpath expr="//field[@name='tag_ids']/.." position="before"> |
| 306 | + <div t-if="record.date_deadline and record.date_deadline.value"> |
| 307 | + <field name="date_deadline" /> |
| 308 | + </div> |
| 309 | + <div |
| 310 | + t-if="record.first_employee_name and record.first_employee_name.value" |
| 311 | + > |
| 312 | + Proposed |
| 313 | + <field name="first_employee_name" /> |
| 314 | + </div> |
291 | 315 | </xpath>
|
292 | 316 | <xpath
|
293 |
| - expr="//field[@name='user_id' and @widget='many2one_avatar_user']" |
294 |
| - position="before" |
| 317 | + expr="//field[@name='priority' and @widget='priority']" |
| 318 | + position="attributes" |
295 | 319 | >
|
296 |
| - <field name="user_name" /> |
| 320 | + <attribute name="invisible">True</attribute> |
297 | 321 | </xpath>
|
298 | 322 | </field>
|
299 | 323 | </record>
|
|
0 commit comments