c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #04217
[Bug 674264] Re: [6.0RC1] invoice - automatic proposal of journal causes user errors
** Changed in: openobject-addons
Importance: Undecided => Low
** Changed in: openobject-addons
Status: New => Confirmed
** Changed in: openobject-addons
Assignee: (unassigned) => OpenERP R&D Addons Team 3 (openerp-dev-addons3)
--
[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: Confirmed
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)?
References