中国本土应用
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

55 lines
2.7KB

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <odoo>
  3. <data>
  4. <record id="view_users_search" model="ir.ui.view">
  5. <field name="name">res.users.search</field>
  6. <field name="model">res.users</field>
  7. <field name="inherit_id" ref="base.view_users_search"/>
  8. <field name="arch" type="xml">
  9. <xpath expr="//field[@name='company_ids']" position="after">
  10. <field name="company_id" string="Company" groups="base.group_multi_company"/>
  11. </xpath>
  12. <xpath expr="//filter[last()]" position="after">
  13. <filter name="share" string="Share User" domain="[('share','=',True)]"/>
  14. <searchpanel>
  15. <field name="company_id" groups="base.group_multi_company" icon="fa-building" enable_counters="1"/>
  16. </searchpanel>
  17. </xpath>
  18. </field>
  19. </record>
  20. <record id="view_users_form" model="ir.ui.view">
  21. <field name="name">wecom users form</field>
  22. <field name="model">res.users</field>
  23. <field name="inherit_id" ref="base.view_users_form"/>
  24. <field name="arch" type="xml">
  25. <xpath expr="//page[last()]" position="after">
  26. <page name="logs" string="Logs">
  27. <group>
  28. <group>
  29. <field name="create_uid" readonly="1"/>
  30. <field name="create_date" readonly="1"/>
  31. </group>
  32. <group>
  33. <field name="write_uid" readonly="1"/>
  34. <field name="write_date" readonly="1"/>
  35. </group>
  36. </group>
  37. <group>
  38. <field name="login_date" readonly="1"/>
  39. <field name="log_ids" readonly="1" options="{'no_open': True, 'no_create_edit': True}" widget="one2many" mode="tree">
  40. <!-- width="0.5" width="40px" optional="hide"-->
  41. <tree create="0" edit="0" delete="0" limit="30">
  42. <field name="id" width="0.5" options="{'no_open':True,'no_create_edit':True}" />
  43. <field name="create_date" string="Time" options="{'no_open':True,'no_create_edit':True,'no_quick_create':True,}" />
  44. </tree>
  45. </field>
  46. </group>
  47. </page>
  48. </xpath>
  49. </field>
  50. </record>
  51. </data>
  52. </odoo>
上海开阖软件有限公司 沪ICP备12045867号-1