Pb when same field twice in the same form view
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Server (MOVED TO GITHUB) |
Confirmed
|
Wishlist
|
OpenERP's Framework R&D |
Bug Description
There is a problem in OpenERP when we display the same field twice in the same form view.
In my case, for usability purposes, I want to always display the currency next to the amount fields. So, as I have several amounts in the same currency my form view, I display the same currency_id field several times.
I have developped a small module to show the issue.
The bug is reproductible on an up-to-date OpenERP trunk (and also on OpenERP 6.1). Here are the steps to reproduce it :
1. create a new DB and install the enclosed module "bug_same_
2. Go to Accounting > Reporting > Legal reports > Intrastat reporting > Intrastat product
3. Create a new record for this object (you can put any value in the "amount" fields)
4. Save the record
=> You get the bug : you see that the value of the currency_id field is only displayed next to the "Fiscal amount" field ; it is not displayed next to the "Total amount" field.
Tell me if I can provide more help to reproduce the bug on your side.
Changed in openobject-server: | |
importance: | Undecided → Wishlist |
status: | New → Confirmed |
assignee: | nobody → OpenERP's Framework R&D (openerp-dev-framework) |
I forgot to mention that, of course, it is probably not easy to do for read/write fields, because we would have to decide what happens with field 2 when the user enters the currency in field 1...
But, in my case, the currency field is readonly, and I would really like to be able to display it at several places in my view.
So, the title of this bug/wishlist is : "Be able to display the same readonly field several times in the same form view".