This commit is contained in:
Frédéric FRANCE 2019-09-07 15:12:07 +02:00
parent bd4c9a64a8
commit 4054ebaf27
No known key found for this signature in database
GPG Key ID: 06809324E4B2ABC1
6 changed files with 23 additions and 21 deletions

View File

@ -67,7 +67,7 @@ class modZapier extends DolibarrModules
// Name of image file used for this module. // Name of image file used for this module.
// If file is in theme/yourtheme/img directory under name object_pictovalue.png, use this->picto='pictovalue' // If file is in theme/yourtheme/img directory under name object_pictovalue.png, use this->picto='pictovalue'
// If file is in module/img directory under name object_pictovalue.png, use this->picto='pictovalue@module' // If file is in module/img directory under name object_pictovalue.png, use this->picto='pictovalue@module'
$this->picto = 'technic'; $this->picto = 'zapier@zapier';
// Define some features supported by module (triggers, login, substitutions, menus, css, etc...) // Define some features supported by module (triggers, login, substitutions, menus, css, etc...)
$this->module_parts = array( $this->module_parts = array(
// Set this to 1 if module has its own trigger directory (core/triggers) // Set this to 1 if module has its own trigger directory (core/triggers)
@ -109,7 +109,9 @@ class modZapier extends DolibarrModules
// Example: this->dirs = array("/zapier/temp","/zapier/subdir"); // Example: this->dirs = array("/zapier/temp","/zapier/subdir");
$this->dirs = array("/zapier/temp"); $this->dirs = array("/zapier/temp");
// Config pages. Put here list of php page, stored into zapier/admin directory, to use to setup module. // Config pages. Put here list of php page, stored into zapier/admin directory, to use to setup module.
$this->config_page_url = array("setup.php@zapier"); $this->config_page_url = array(
// "setup.php@zapier"
);
// Dependencies // Dependencies
// A condition to hide module // A condition to hide module
$this->hidden = false; $this->hidden = false;
@ -119,7 +121,7 @@ class modZapier extends DolibarrModules
$this->requiredby = array(); $this->requiredby = array();
// List of module class names as string this module is in conflict with. Example: array('modModuleToDisable1', ...) // List of module class names as string this module is in conflict with. Example: array('modModuleToDisable1', ...)
$this->conflictwith = array(); $this->conflictwith = array();
$this->langfiles = array("zapier@zapier"); $this->langfiles = array("zapier");
// Minimum version of PHP required by module // Minimum version of PHP required by module
//$this->phpmin = array(5, 5); //$this->phpmin = array(5, 5);
// Minimum version of Dolibarr required by module // Minimum version of Dolibarr required by module

View File

@ -14,9 +14,9 @@
-- along with this program. If not, see http://www.gnu.org/licenses/. -- along with this program. If not, see http://www.gnu.org/licenses/.
--ALTER TABLE llx_zapierfordolibarr_hook ADD INDEX idx_fieldobject (fieldobject); --ALTER TABLE llx_zapier_hook ADD INDEX idx_fieldobject (fieldobject);
--ALTER TABLE llx_zapierfordolibarr_hook ADD UNIQUE INDEX uk_zapierfordolibarr_hook_fieldxy(fieldx, fieldy); --ALTER TABLE llx_zapier_hook ADD UNIQUE INDEX uk_zapier_hook_fieldxy(fieldx, fieldy);
--ALTER TABLE llx_zapierfordolibarr_hook ADD CONSTRAINT llx_zapierfordolibarr_hook_fk_field FOREIGN KEY (fk_field) REFERENCES llx_zapierfordolibarr_myotherobject(rowid); --ALTER TABLE llx_zapier_hook ADD CONSTRAINT llx_zapier_hook_fk_field FOREIGN KEY (fk_field) REFERENCES llx_zapier_myotherobject(rowid);

View File

@ -14,7 +14,7 @@
-- along with this program. If not, see http://www.gnu.org/licenses/. -- along with this program. If not, see http://www.gnu.org/licenses/.
CREATE TABLE llx_zapierfordolibarr_hook( CREATE TABLE llx_zapier_hook(
rowid integer AUTO_INCREMENT PRIMARY KEY, rowid integer AUTO_INCREMENT PRIMARY KEY,
entity integer DEFAULT 1 NOT NULL, entity integer DEFAULT 1 NOT NULL,
url varchar(255), url varchar(255),

View File

@ -13,7 +13,7 @@
-- You should have received a copy of the GNU General Public License -- You should have received a copy of the GNU General Public License
-- along with this program. If not, see http://www.gnu.org/licenses/. -- along with this program. If not, see http://www.gnu.org/licenses/.
create table llx_zapierfordolibarr_hook_extrafields create table llx_zapier_hook_extrafields
( (
rowid integer AUTO_INCREMENT PRIMARY KEY, rowid integer AUTO_INCREMENT PRIMARY KEY,
tms timestamp, tms timestamp,

View File

Before

Width:  |  Height:  |  Size: 683 B

After

Width:  |  Height:  |  Size: 683 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 360 B