← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 696914] Re: [6.0 RC2] account bank statement - usability

 

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: ara@xxxxxxxxxxx-20110105072008-tan84dkar44plbls

Thank You,
ara

** Changed in: openobject-addons
       Status: In Progress => Fix Committed

-- 
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/696914

Title:
  [6.0 RC2] account bank statement - usability

Status in OpenObject Addons Modules:
  Fix Committed

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 .....





References