← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 604604] Re: fields.reference required

 

Hello,

field.reference when required and if the m2o part of the reference is
not filled in. It color out the field as red as normally required fields
do and will not allow to save the form now. It has been improved at lp
:~openerp-dev/openobject-client/trunk-dev-client with revision-info as
1402 nch@xxxxxxxxxxx-20101221064659-0zhigvn7bmwid9r1

If its not required and the m2o part of the reference field is left blank the client will send the values to the server for the reference field as (ir.actions.act_window,0) .The server will send an "Invalid value for reference field "action" (last part must be a non-zero integer): "ir.actions.act_window,0" " and which ask user to enter a valid action ID.
This has been improved by odo in his commit 3132 at server.

** Changed in: openobject-client
       Status: In Progress => Fix Released

-- 
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/604604

Title:
  fields.reference required

Status in OpenObject GTK Client:
  Fix Released
Status in OpenObject Server:
  Fix Released

Bug description:
  1) fields.reference can execute write/create when the selector part is filled, but not the many2one part.
It creates/writes "model,0"
2) When fields.reference is required and bad written with "model,0", the menu doesn't shows form/tree to correct it, refusing NULL value for the reference! So we can just correct the problem in an SQL terminal.