← Back to team overview

openerp-india team mailing list archive

[Bug 925561] Re: [account] account_assert_test.xml is wrong

 

Hello,

I am not agree with you, because If our credit and debit entry is
unbalanced then it will never allow to posted,

I have checked your patch, you have assigned a state="posted" in assert condition.Assert keyword is used for testing of our record.
But I think that this type of situation will never generated. 

If we doing changes like your patch then this should not make sense
because we won't have any unbalanced entry with posted state.

So this is not a bug and I am closing this issue.

Correct me If I am wrong.

Thank you!

** Changed in: openobject-addons
       Status: New => Invalid

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

Title:
  [account] account_assert_test.xml is wrong

Status in OpenERP Addons (modules):
  Invalid

Bug description:
  [account] account_assert_test.xml is wrong because

  account_move should be tested only when state == 'posted' only in that
  way is possible that an account_move could be tested for inequal sums on
  debits and  credit, and when their lines are suppose to be in 'valid' state
  account_moves in 'draft' state only have lines with state in 'draft'.

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


References