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.

49 lines
1.5 KiB

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!--
  3. © 2014-2016 Akretion (Alexis de Lattre <alexis.delattre@akretion.com>)
  4. License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
  5. -->
  6. <odoo>
  7. <data>
  8. <record id="view_employee_form" model="ir.ui.view">
  9. <field name="name">hr_phone.hr_employee.form</field>
  10. <field name="model">hr.employee</field>
  11. <field name="inherit_id" ref="hr.view_employee_form"/>
  12. <field name="arch" type="xml">
  13. <field name="work_phone" position="attributes">
  14. <attribute name="widget">phone</attribute>
  15. </field>
  16. <field name="mobile_phone" position="attributes">
  17. <attribute name="widget">phone</attribute>
  18. </field>
  19. </field>
  20. </record>
  21. <record id="view_employee_tree" model="ir.ui.view">
  22. <field name="name">hr_phone.hr_employee.tree</field>
  23. <field name="model">hr.employee</field>
  24. <field name="inherit_id" ref="hr.view_employee_tree"/>
  25. <field name="arch" type="xml">
  26. <field name="work_phone" position="attributes">
  27. <attribute name="widget">phone</attribute>
  28. </field>
  29. </field>
  30. </record>
  31. <record id="view_partner_tree2" model="ir.ui.view">
  32. <field name="name">hr_phone.hr.employee.tree2</field>
  33. <field name="model">hr.employee</field>
  34. <field name="inherit_id" ref="hr.view_partner_tree2"/>
  35. <field name="arch" type="xml">
  36. <field name="work_phone" position="attributes">
  37. <attribute name="widget">phone</attribute>
  38. </field>
  39. </field>
  40. </record>
  41. </data>
  42. </odoo>