c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #28463
[Bug 809826] [NEW] cannot create accounr.journal in simple view
Public bug reported:
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
** Affects: openobject-client
Importance: Undecided
Status: New
--
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:
New
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
Follow ups
References