Topics
- OroDataAuditBundle (annotations, audit)
- OroEntityConfigBundle (annotations)
Changes
src/Acme/Bundle/TaskBundle
Entity
Task (updated)
- Add annotation to Task entity
use Oro\Bundle\EntityConfigBundle\Metadata\Annotation\Config;
use Oro\Bundle\EntityConfigBundle\Metadata\Annotation\ConfigField;
use Oro\Bundle\DataAuditBundle\Metadata\Annotation as Oro;
* @Oro\Loggable
* @Config(
* defaultValues={
* "dataaudit"={"auditable"=true}
* }
* )
- Add annotation to Task entity fields
* @Oro\Versioned
* @ConfigField(
* defaultValues={
* "dataaudit"={"auditable"=true}
* }
* )
-
Run command oro:entity-config:update
-
Go to System -> Entities and check updates
-
Make any changes to any task and go to System -> Data Audit and check audit logs