← Back to team overview

openerp-india team mailing list archive

[Bug 1067652] [NEW] On account.move.line _update_check method BUG

 

Public bug reported:

I'm testing v6.1

I created Customer invoice and paid it with Sales receipt. So i
confirmed this receipt and journal items generated. But not yet posted.

Then I found my payment journal entry on Accounting / Journal Entries / Journal Entries display and I opened it.
There is two journal items here. One is looks like reconciled. Now I can change some non legal information because this entry does not posted yet.
Then I try to change the Name field on non reconciled item. So I changed it from '/' to '/s' and click Save button.

But I faced this Error Message :
'You can not do this modification on a reconciled entry! You can just change some non legal fields or you must unreconcile first!'

So I did some debug review and found this params on write method of
account.move object.

{'line_id': [[4, 30, False], [1, 29, {'name': '/s'}]]}

I think this is really BUG. move_id field of account.move.line does not
changed anyway. But passed vals for write method of account.move.line
object seems wrong. {'move_id':11}

Please check this.
btw: I didn't do anything customization and using only launchpad fresh codes.

** Affects: openobject-addons
     Importance: Undecided
         Status: New

** Description changed:

  I'm testing v6.1
  
  I created Customer invoice and paid it with Sales receipt. So i
  confirmed this receipt and journal items generated. But not yet posted.
  
  Then I found my payment journal entry on Accounting / Journal Entries / Journal Entries display and I opened it.
  There is two journal items here. One is looks like reconciled. Now I can change some non legal information because this entry does not posted yet.
  Then I try to change the Name field on non reconciled item. So I changed it from '/' to '/s' and click Save button.
  
  But I faced this Error Message :
  'You can not do this modification on a reconciled entry! You can just change some non legal fields or you must unreconcile first!'
  
  So I did some debug review and found this params on write method of
  account.move object.
  
  {'line_id': [[4, 30, False], [1, 29, {'name': '/s'}]]}
  
- I think this is really BUG.
+ I think this is really BUG. move_id field of account.move.line does not
+ changed anyway. But passed vals for write method of account.move.line
+ object seems wrong. {'move_id':11}
+ 
  Please check this.
+ btw: I didn't do anything customization and using only launchpad fresh codes.

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/1067652

Title:
  On account.move.line _update_check method BUG

Status in OpenERP Addons (modules):
  New

Bug description:
  I'm testing v6.1

  I created Customer invoice and paid it with Sales receipt. So i
  confirmed this receipt and journal items generated. But not yet
  posted.

  Then I found my payment journal entry on Accounting / Journal Entries / Journal Entries display and I opened it.
  There is two journal items here. One is looks like reconciled. Now I can change some non legal information because this entry does not posted yet.
  Then I try to change the Name field on non reconciled item. So I changed it from '/' to '/s' and click Save button.

  But I faced this Error Message :
  'You can not do this modification on a reconciled entry! You can just change some non legal fields or you must unreconcile first!'

  So I did some debug review and found this params on write method of
  account.move object.

  {'line_id': [[4, 30, False], [1, 29, {'name': '/s'}]]}

  I think this is really BUG. move_id field of account.move.line does
  not changed anyway. But passed vals for write method of
  account.move.line object seems wrong. {'move_id':11}

  Please check this.
  btw: I didn't do anything customization and using only launchpad fresh codes.

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/1067652/+subscriptions


Follow ups

References