← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 809826] Re: cannot create accounr.journal in simple view

 

Hello QDP,

I have checked this issue and I am agree with you regarding the above
specification.But I can not understand the problem from gtk because gtk
already improved this issue with proper pop up message when the field is
required and not shown due to access issue (Invisible).

As for My opinion If the field is required we should change the related
assigned group, The major difference I found with trunk code, the
sequence field is now required which is not required in the stable 6.

So we need to improve this from addons side. but If you suggested some
thing from gtk side then would you please elaborate more.

Thanks and waiting for your reply.

** Changed in: openobject-client
       Status: New => Incomplete

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

Title:
  cannot create accounr.journal in simple view

Status in OpenERP GTK Client:
  Incomplete

Bug description:
  with last trunk client, server and addons.

  use case:
  *In simple view, go in accounting / configuration / finacial accounting / journals / journals.
  *click on new
  *enter data for all mandatory fields visible
  *try to save: you'll get an error saying that the field sequence_id is mandatory. (hence invisible)

  This is probably broken since the time we display when a mandatory
  field invisible isn't set, because here it's exactly what's happening.
  So far, the system seems logic.

  BUT, the problem is that the field is mandatory in the object
  (requried in the .py) (we want that, because it's a strong constraint
  and it's good to have it at the object level), but optional in the
  view: there is some code in account.py to treat the case 'sequence_id'
  is not in vals.

  So i checked by putting required="0" in the field of the view: the
  creation of account_journal without giving sequence is now possible
  for users in extended view but still not for the ones in simple view.
  That's a real problem because here i've no solution to do what i want.

  Thanks,
  Quentin

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-client/+bug/809826/+subscriptions


References