mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-01-06 09:02:59 +01:00
Fix column too low.
Fix automatic event not found if from a module with several objects
This commit is contained in:
@@ -13,6 +13,20 @@
|
||||
-- You should have received a copy of the GNU General Public License
|
||||
-- along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
|
||||
INSERT INTO llx_mymodule_myobject VALUES (
|
||||
1, 1, 'mydata'
|
||||
);
|
||||
|
||||
-- delete from llx_mymodule_myobject;
|
||||
--INSERT INTO llx_mymodule_myobject VALUES (1, 1, 'mydata');
|
||||
|
||||
|
||||
-- delete from llx_c_mydictionarytabme;
|
||||
--INSERT INTO llx_c_mydictionarytabme (code,label,active) VALUES ('ABC', 'Label ABC', 1);
|
||||
--INSERT INTO llx_c_mydictionarytabme (code,label,active) VALUES ('DEF', 'Label DEF', 1);
|
||||
|
||||
|
||||
-- new types of automatic events to record in agenda
|
||||
-- 'code' must be a value matching 'MYOBJECT_ACTION'
|
||||
-- 'elementtype' must be value 'mymodule' ('myobject@mymodule' may be possible but should not be required)
|
||||
--insert into llx_c_action_trigger (code,label,description,elementtype,rang) values ('MYOBJECT_VALIDATE','MyObject validated','Executed when myobject is validated', 'mymodule', 1000);
|
||||
--insert into llx_c_action_trigger (code,label,description,elementtype,rang) values ('MYOBJECT_UNVALIDATE','MyObject unvalidated','Executed when myobject is unvalidated', 'mymodule', 1001);
|
||||
--insert into llx_c_action_trigger (code,label,description,elementtype,rang) values ('MYOBJECT_DELETE','MyObject deleted','Executed when myobject deleted', 'mymodule', 1004);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user