ValidateError The value "search" for the field "type" is not in the selection

Asked by mm alam

Hi Every one,

I am trying to install the Hr_payroll from the http://bazaar.launchpad.net/~openerp/openobject-addons/trunk/files

However, whenever, I try to install the hr_payroll module, i got the following error message:

ValidateError The value "search" for the field "type" is not in the selection

The error on the command line is:

[2010-07-03 12:23:48,466] INFO:init:module hr_payroll: loading hr_payroll_view.xml
bzr: ERROR: Not a branch: "/home/alam/Desktop/Data/server/bin/".
No LSB modules are available.
[2010-07-03 12:23:52,444] ERROR:init:[01]:
[2010-07-03 12:23:52,448] ERROR:init:[02]: Environment Information :
[2010-07-03 12:23:52,448] ERROR:init:[03]: System : Linux-2.6.31-21-generic-i686-with-Ubuntu-9.10-karmic
[2010-07-03 12:23:52,448] ERROR:init:[04]: OS Name : posix
[2010-07-03 12:23:52,449] ERROR:init:[05]: Distributor ID: Ubuntu
[2010-07-03 12:23:52,453] ERROR:init:[06]: Description: Ubuntu 9.10
[2010-07-03 12:23:52,454] ERROR:init:[07]: Release: 9.10
[2010-07-03 12:23:52,454] ERROR:init:[08]: Codename: karmic
[2010-07-03 12:23:52,455] ERROR:init:[09]: Operating System Release : 2.6.31-21-generic
[2010-07-03 12:23:52,455] ERROR:init:[10]: Operating System Version : #59-Ubuntu SMP Wed Mar 24 07:28:56 UTC 2010
[2010-07-03 12:23:52,456] ERROR:init:[11]: Operating System Architecture : 32bit
[2010-07-03 12:23:52,456] ERROR:init:[12]: Operating System Locale : en_US.UTF8
[2010-07-03 12:23:52,456] ERROR:init:[13]: Python Version : 2.6.4
[2010-07-03 12:23:52,457] ERROR:init:[14]: OpenERP-Server Version : 5.0.9
[2010-07-03 12:23:52,461] ERROR:init:[15]: Last revision No. & ID :
[2010-07-03 12:23:52,462] ERROR:init:[16]: <record id="view_hr_passport_filter" model="ir.ui.view">
[2010-07-03 12:23:52,462] ERROR:init:[17]: <field name="name">hr.passport.select</field>
[2010-07-03 12:23:52,462] ERROR:init:[18]: <field name="model">hr.passport</field>
[2010-07-03 12:23:52,463] ERROR:init:[19]: <field name="type">search</field>
[2010-07-03 12:23:52,463] ERROR:init:[20]: <field name="arch" type="xml">
[2010-07-03 12:23:52,464] ERROR:init:[21]: <search string="Search Passport">
[2010-07-03 12:23:52,464] ERROR:init:[22]: <group col="8" colspan="4">
[2010-07-03 12:23:52,464] ERROR:init:[23]: <separator orientation="vertical"/>
[2010-07-03 12:23:52,465] ERROR:init:[24]: <field name="name"/>
[2010-07-03 12:23:52,465] ERROR:init:[25]: <field name="employee_id"/>
[2010-07-03 12:23:52,475] ERROR:init:[26]: <field name="country_id"/>
[2010-07-03 12:23:52,476] ERROR:init:[27]: <field name="address_id"/>
[2010-07-03 12:23:52,476] ERROR:init:[28]: </group>
[2010-07-03 12:23:52,477] ERROR:init:[29]: <newline/>
[2010-07-03 12:23:52,477] ERROR:init:[30]: <group col="8" colspan="4" expand="0" string="Group By...">
[2010-07-03 12:23:52,478] ERROR:init:[31]: <filter string="Employees" icon="terp-partner" name="employee_id" context="{'group_by':'employee_id'}"/>
[2010-07-03 12:23:52,478] ERROR:init:[32]: <filter string="Country" name="country_id" icon="terp-go-home" context="{'group_by':'country_id'}"/>
[2010-07-03 12:23:52,479] ERROR:init:[33]: <filter string="Expire" name="date_expire" icon="terp-go-month" context="{'group_by':'date_expire'}"/>
[2010-07-03 12:23:52,479] ERROR:init:[34]: <filter string="Issue" name="date_issue" icon="terp-go-month" context="{'group_by':'date_issue'}"/>
[2010-07-03 12:23:52,480] ERROR:init:[35]: </group>
[2010-07-03 12:23:52,480] ERROR:init:[36]: </search>
[2010-07-03 12:23:52,480] ERROR:init:[37]: </field>
[2010-07-03 12:23:52,481] ERROR:init:[38]: </record>
/home/alam/Desktop/Data/server/bin/tools/misc.py:750: DeprecationWarning: BaseException.message has been deprecated as of Python 2.6
  if hasattr(e, 'message'):
/home/alam/Desktop/Data/server/bin/tools/misc.py:751: DeprecationWarning: BaseException.message has been deprecated as of Python 2.6
  return ustr(e.message)

Kindly give me a clue, where I can be wrong.

Regards,
MM Alam

Question information

Language:
English Edit question
Status:
Answered
For:
Odoo Addons (MOVED TO GITHUB) Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Vinay Rana (OpenERP) (vra-openerp) said :
#1

Hello MM Alam,

You need to copy hr_payroll from trunk-extra-addons only and run this into stable.

https://code.launchpad.net/~openerp-commiter/openobject-addons/trunk-extra-addons

Thanks.

Can you help with this problem?

Provide an answer of your own, or ask mm alam for more information if necessary.

To post a message you must log in.