[RC1]Two same fields creating problem in web-client
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Web Client |
Fix Released
|
Low
|
OpenERP R&D Addons Team 3 |
Bug Description
Hello,
Step to re-produce :
1. Install hr_holoday and hr_payroll in new databse with demo data.
2. Go to : Human Resources/
3. Edit Leave Type.
Here is the tracback at web-client side :
-------
malformed view for: hr.holidays.status
duplicate field: active
-------
[30/Dec/
File "/usr/lib/
cherrypy.
File "/usr/lib/
return self.callable(
File "/home/
res = func(*args, **kw)
File "/home/
return request.handler()
File "/usr/lib/
return self.callable(
File "/home/
return fn(*args, **kw)
File "/home/
res = func(*args, **kw)
File "/home/
return self.create(params)
File "/home/
return fn(*args, **kw)
File "/home/
res = func(*args, **kw)
File "/home/
form = self.create_
File "/home/
return tw.form_
File "/home/
selectable=
File "/home/
self.
File "/home/
self.
File "/home/
self.widget = get_view_
File "/home/
return view(screen)
File "/home/
nodefault=
File "/home/
self.frame = self.parse(prefix, dom, fields, values)[0]
File "/home/
n = self.parse(
File "/home/
n = self.parse(
File "/home/
n = self.parse(
File "/home/
n = self.parse(
File "/home/
raise common.
File "/home/
raise TinyError(
TinyError: Invalid view, duplicate field: active
The view 'edit_holiday_
Thanks.
Related branches
- OpenERP R&D Team: Pending requested
-
Diff: 667 lines (+70/-70)41 files modifiedaccount_voucher/account_voucher.py (+1/-1)
account_voucher/i18n/account_voucher.pot (+1/-1)
account_voucher/i18n/ar.po (+1/-1)
account_voucher/i18n/bg.po (+1/-1)
account_voucher/i18n/bs.po (+1/-1)
account_voucher/i18n/ca.po (+3/-3)
account_voucher/i18n/cs.po (+1/-1)
account_voucher/i18n/de.po (+2/-2)
account_voucher/i18n/el.po (+3/-3)
account_voucher/i18n/es.po (+4/-4)
account_voucher/i18n/es_AR.po (+1/-1)
account_voucher/i18n/es_EC.po (+4/-4)
account_voucher/i18n/et.po (+1/-1)
account_voucher/i18n/fr.po (+2/-2)
account_voucher/i18n/hi.po (+1/-1)
account_voucher/i18n/hr.po (+1/-1)
account_voucher/i18n/hu.po (+2/-2)
account_voucher/i18n/id.po (+1/-1)
account_voucher/i18n/it.po (+3/-3)
account_voucher/i18n/ko.po (+1/-1)
account_voucher/i18n/lt.po (+3/-3)
account_voucher/i18n/mn.po (+1/-1)
account_voucher/i18n/nl.po (+1/-1)
account_voucher/i18n/nl_BE.po (+1/-1)
account_voucher/i18n/oc.po (+1/-1)
account_voucher/i18n/pl.po (+2/-2)
account_voucher/i18n/pt.po (+3/-3)
account_voucher/i18n/pt_BR.po (+2/-2)
account_voucher/i18n/ro.po (+3/-3)
account_voucher/i18n/ru.po (+1/-1)
account_voucher/i18n/sl.po (+1/-1)
account_voucher/i18n/sq.po (+1/-1)
account_voucher/i18n/sr.po (+2/-2)
account_voucher/i18n/sr@latin.po (+2/-2)
account_voucher/i18n/sv.po (+1/-1)
account_voucher/i18n/tlh.po (+1/-1)
account_voucher/i18n/tr.po (+3/-3)
account_voucher/i18n/uk.po (+1/-1)
account_voucher/i18n/vi.po (+1/-1)
account_voucher/i18n/zh_CN.po (+3/-3)
account_voucher/i18n/zh_TW.po (+1/-1)
Changed in openobject-addons: | |
status: | New → Confirmed |
importance: | Undecided → Low |
assignee: | nobody → OpenERP R&D Addons Team 3 (openerp-dev-addons3) |
affects: | openobject-addons → openobject-client-web |
Changed in openobject-client-web: | |
status: | Confirmed → In Progress |
Changed in openobject-client-web: | |
status: | Fix Committed → Fix Released |
Changed in openobject-client-web: | |
milestone: | none → 6.0 |
IMHO duplicate fields should be checked and reported as it can happen easily - especially using inherited views and someone adds the field to the source later.