IDEMPIERE-3366 MBPartner.getTemplate() uses false CreatedBy/UpdatedBy values

This commit is contained in:
Nicolas Micoud 2017-05-19 11:02:18 +02:00
parent 6581080b38
commit 61a383575b
1 changed files with 2 additions and 0 deletions

View File

@ -85,6 +85,8 @@ public class MBPartner extends X_C_BPartner
Timestamp ts = new Timestamp(System.currentTimeMillis());
template.set_ValueNoCheck("Created", ts);
template.set_ValueNoCheck("Updated", ts);
template.set_ValueNoCheck("CreatedBy", Env.getAD_User_ID(ctx));
template.set_ValueNoCheck("UpdatedBy", Env.getAD_User_ID(ctx));
}
return template;
} // getTemplate