FIX(modulebuilder): validate after creation
This commit is contained in:
parent
33d722c84f
commit
ca85ad74b9
1 changed files with 2 additions and 2 deletions
|
|
@ -1,7 +1,7 @@
|
|||
<?php
|
||||
/* Copyright (C) 2017 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||
* Copyright (C) 2023-2024 Frédéric France <frederic.france@free.fr>
|
||||
* Copyright (C) ---Replace with your own copyright and developer email---
|
||||
* Copyright (C) 2025 Benjamin Falière <benjamin@faliere.com>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
|
|
@ -286,7 +286,7 @@ class MyObject extends CommonObject
|
|||
|
||||
// uncomment lines below if you want to validate object after creation
|
||||
// $this->fetch($this->id); // needed to retrieve some fields (ie date_creation for masked ref)
|
||||
// $resultcreate = $this->validate($user, $notrigger);
|
||||
// $resultvalidate= $this->validate($user, $notrigger);
|
||||
|
||||
return $resultcreate;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue