Cannot void Material Receipt matched to Purchase Order

Description

Steps to reproduce:

  • Client has set SysConfig CLIENT_ACCOUNTING as Disabled

  • Material Receipts are matched to Purchase Orders > Created are not posted MatchPO records (Posted = N)

  • User wants to Void already matched a MR > BUG: Material receipt is not possible to Void

BUG: Problem is in MMatchPO class, method reverse. There is condition which allow to reverse only MatchPO records which are Posted and not reversed yet. But we have not Posted records because client has set CLIENT_ACCOUNTING as Disabled.

Discussed at: https://groups.google.com/forum/#!topic/idempiere/0I0r5Pqo-eE

Environment

None

Assignee

Tomáš Švikruha

Reporter

Tomáš Švikruha

Labels

None

Tested By

None

Priority

Major
Configure