c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #03879
[Bug 674264] [NEW] [6.0RC1] invoice - automatic proposal of journal causes user errors
Public bug reported:
this is one of these usability bugs ....
invoice.py _get_journal
in V5 I modified the code to only propose a journal if one journal is defined
Reason: users accept much to easy the (wrong) automatical proposal
IMHO user must choose if more than one possibility is available (or define default per partner etc)
res = journal_obj.search(cr, uid, [('type', '=', type2journal.get(type_inv, 'sale')), ('refund_journal', '=', refund_journal.get(type_inv, False))])
if len(res) == 1:
return res[0]
else:
return False
in V6 we have a selection widget which always shows the first found journal
How can this be altered to show a blank entry as first item (for a mandatory field)?
** Affects: openobject-addons
Importance: Undecided
Status: New
--
[6.0RC1] invoice - automatic proposal of journal causes user errors
https://bugs.launchpad.net/bugs/674264
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
Status in OpenObject Addons Modules: New
Bug description:
this is one of these usability bugs ....
invoice.py _get_journal
in V5 I modified the code to only propose a journal if one journal is defined
Reason: users accept much to easy the (wrong) automatical proposal
IMHO user must choose if more than one possibility is available (or define default per partner etc)
res = journal_obj.search(cr, uid, [('type', '=', type2journal.get(type_inv, 'sale')), ('refund_journal', '=', refund_journal.get(type_inv, False))])
if len(res) == 1:
return res[0]
else:
return False
in V6 we have a selection widget which always shows the first found journal
How can this be altered to show a blank entry as first item (for a mandatory field)?
Follow ups
References