← Back to team overview

c2c-oerpscenario team mailing list archive

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

 

Hello QDP,

Would you please check this again with latest updated code.

Currently I am closing this issue and if you still face the problem then
you can reopen this with more information.

Thanks.


** Changed in: openobject-client
       Status: Expired => Invalid

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to OpenERP Project Group.
https://bugs.launchpad.net/bugs/809826

Title:
  cannot create accounr.journal in simple view

Status in OpenERP GTK Client:
  Invalid

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