c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #18846
[Bug 731487] Re: [6.0] SERVER : Can not add a osv.memory field from the Openerp interface
On Tuesday 08 March 2011, you wrote:
> Public bug reported:
>
> Openerp will raise an error
> Can't find field 'x_my_field' in the following view parts composing the
> view of object model 'delivery.sale.order': * Delivery Costs
>
> This bug occure only with osv.memory object and it's work perfectly for
> the osv.osv object
>
I seem to have added the missing code and backported from pg84-next to a
branch[1] of 6.0 server.
lp:~openerp-dev/openobject-server/6.0-bug-731487-xrg
Please test it and report back your results. Is that what you needed?
The corresponding test is at:
http://git.hellug.gr/?p=xrg/openobject-addons;a=commit;h=f58ab31a8d2a3740e1ce
[1] and merge proposal, because I forgot to pass the --no-merge option ;)
** Branch linked: lp:~openerp-dev/openobject-server/6.0-bug-731487-xrg
** Changed in: openobject-server
Status: New => Fix Committed
--
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/731487
Title:
[6.0] SERVER : Can not add a osv.memory field from the Openerp
interface
Status in OpenERP Server:
Fix Committed
Bug description:
Hi I may found a bug (maybe it's an unimplemented feature on osv.memory)
Scenario
Open the menu Administration=>Customization=>Database Structure=> Objects
Open an object with the in memory model (In our case we will open the object delivery.sale.order)
Add a new field (name it x_my_field)
Check the view name name in the tab view (Delivery Costs)
Open this view menu 'Administration=>Users interface=>views
Add the field in the xml
<form string="Create Deliveries">
<separator colspan="4" string="Delivery Method super"/>
<field name="carrier_id" widget="selection"/>
+ <field name="x_my_field"/>
<newline/>
<separator colspan="4"/>
Now try to open the in memory object
in our case :
-create a new sale order
- click on add delivery cost
Openerp will raise an error
Can't find field 'x_my_field' in the following view parts composing the view of object model 'delivery.sale.order':
* Delivery Costs
This bug occure only with osv.memory object and it's work perfectly
for the osv.osv object
Best Regards
References