[6.0 RC2] account bank statement - usability

Bug #696914 reported by Ferdinand
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Fix Released
Low
OpenERP R&D Addons Team 3

Bug Description

see also
https://bugs.launchpad.net/openobject-addons/+bug/523800

sorry to say
not much has been improved so I open another bug as you suggested.
To reproduce:
create new bank statement + new line
type general is default (forget to change it)
enter partner ASUStek
account X11002 Debtors - (test) is suggested - although type is general and hence no account can be suggested.

what I proposed is
* to change the sequence of the fields.
** Partner -> choose and propose type debitor / creditor and respective account if only one of these is defined at partner level
   set type to empty if partner is supplier and customer an ask the user has to choose.
** type -> choosing only necessary if partner is supplier and customer

cross check that
* type is debitor/creditor if partner is not null
* account is payable/receivable if partner exists
* account is NOT payable/receivable if partner is null

if these issues are not handled - every error is possible.
(just tried to enter and confirm any account - and obviously the partner ledger will not correspond to the payable/receivable defined for this partner)

the logic is (still) available in
https://code.launchpad.net/~openerp-commiter/openobject-addons/chricar_price_unit

http://bazaar.launchpad.net/~openerp-commiter/openobject-addons/chricar_price_unit/annotate/head:/account/account_bank_statement.py

class account_bank_statement_line(osv.osv):
   def onchange_partner_id .....

Related branches

Revision history for this message
Amit Parik (amit-parik) wrote :

Hello,

For "Type" supplier and customer it work's fine. But for "Type" general it's not working proper.

Thanks.

Changed in openobject-addons:
assignee: nobody → OpenERP R&D Addons Team 3 (openerp-dev-addons3)
importance: Undecided → Low
status: New → Confirmed
Changed in openobject-addons:
status: Confirmed → In Progress
Revision history for this message
Mustufa Rangwala (Open ERP) (mra-tinyerp) wrote :

I agree with Ferdinand.So add onchange_parnter_id which sets account as well as type also correct sequence on form view.

Revision history for this message
Ashvin Rathod (OpenERP) (ara-tinyerp) wrote :

Hello Ferdinand,

I have fixed the problem in lp:~openerp-commiter/openobject-addons/trunk-dev-addons3-ara branch, It will be merged soon with trunk-dev-addons3.

Revision No: 4624
Revision ID: <email address hidden>

Thank You,
ara

Changed in openobject-addons:
status: In Progress → Fix Committed
Changed in openobject-addons:
status: Fix Committed → Fix Released
milestone: none → 6.0
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.