IDEMPIERE-5078 - fix typo C_DocType should be C_DocType_ID (#1045)

This commit is contained in:
Tony Snook 2021-12-10 20:50:52 +11:00 committed by GitHub
parent 0dbbdcadab
commit 236608e1cd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -1021,7 +1021,7 @@ public class MInOut extends X_M_InOut implements DocAction, IDocsPostProcess
*/ */
protected boolean beforeSave (boolean newRecord) protected boolean beforeSave (boolean newRecord)
{ {
if(newRecord || is_ValueChanged("C_DocType")) { if(newRecord || is_ValueChanged("C_DocType_ID")) {
setMovementType(); setMovementType();
} }